Skip to content
/ long_doc Public

Code and data: "Hierarchical Contextual Document Embeddings for Long Financial Text Regression"

License

Notifications You must be signed in to change notification settings

vr25/long_doc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hierarchical Contextual Document Embeddings for Long Financial Text Regression

Code and data for "Hierarchical Contextual Document Embeddings for Long Financial Text Regression"

Prerequisites

This code is written in python. To use it you will need:

Getting started

We provide all the document embeddings [sum, max, mean, mean_max, max_mean, concat] in data directory.

We also provide the script create_emb.py to extract the above embeddings.

Additionally, we used extract_all_layers.py on our text documents to extract all 12 layers' hidden weights.

data_2436.csv contains tokenized text for different features such as words, sentiment_words and syntactically_expanded_sentiment_words. This data file can be found at Zenodo

About

Code and data: "Hierarchical Contextual Document Embeddings for Long Financial Text Regression"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages