Giter Club home page Giter Club logo

cmu_11785_project's Introduction

CMU_11785_Project: Financial Domain Specific Word Embeddings

Overview

For an overview of our team's work please refer to our video presentation and its associated slides or refer to our full final report.

Introduction

Working with Akshat Gupta, our team’s project for 11-785 is to generate financial word embeddings. Efficient word embeddings can improve performance on downstream tasks by effectively modeling relationship between words in a denser vector space than simple one hot encoding; however, a general English embedding might have spurious relationships for financial downstream tasks. We reviewed several popular word embedding models and evaluated their performance on the tasks in the financial domain. We then implemented word2vec and GloVe on a subset of SEC Filings from 1994. Lastly, we tuned BERT and BERT based architectures on a SEC Filings from 1993 - 2002. Furthermore, we performed block coordinate descent to optimize our model and parameters for training and analyzed different combinations of the hidden and attention layers. Through these ablation studies we improved the accuracy on the downstream task provided by the financial phrase bank of sentiment classification from 71% to 80% on distil BERT and we improved area under the curve (AUC) from 0.8066 to 0.8993. This demonstrates the value of training on domain specific knowledge, and future work could expand on hyper parameter tuning with larger architectures.

Code

Our code is seperated broadly into the downstream task and the embedding generation.

Figures

Downstream Datasets

prasebank fiqa

Pipelines

initial final

Ablation Studies

lr smoothing scheduler model embedding

Results

midterm final final_pre-trained final

cmu_11785_project's People

Contributors

ameykpatel avatar bhumik2912 avatar nathanluskey avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.