Update README.md
Browse files
README.md
CHANGED
|
@@ -27,6 +27,13 @@ This project fine-tunes the **ModernBERT** model on the **FinGPT** sentiment dat
|
|
| 27 |
- **Task**: Multi-class sentiment classification (9 categories)
|
| 28 |
- **Domain**: Financial text analysis
|
| 29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
## Sentiment Categories
|
| 31 |
|
| 32 |
The model classifies text into 9 fine-grained sentiment levels:
|
|
@@ -111,4 +118,10 @@ The model classifies text into 9 fine-grained sentiment levels:
|
|
| 111 |
## Deployment Options
|
| 112 |
- **API Deployment**: Create REST API using FastAPI
|
| 113 |
- **Batch Processing**: Set up automated sentiment analysis pipeline
|
| 114 |
-
- **Real-time Analysis**: Integrate with financial data streams
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
- **Task**: Multi-class sentiment classification (9 categories)
|
| 28 |
- **Domain**: Financial text analysis
|
| 29 |
|
| 30 |
+
### ModernBert
|
| 31 |
+
ModernBERT is a modernized bidirectional encoder-only Transformer model (BERT-style) pre-trained on 2 trillion tokens of English and code data with a native context length of up to 8,192 tokens.
|
| 32 |
+
It leverages architectural improvements such as Rotary Positional Embeddings (RoPE) for long-context support, Local-Global Alternating Attention for efficiency on long inputs, Unpadding and Flash Attention for efficient inference.
|
| 33 |
+
|
| 34 |
+
### FinGPT Sentiment Analysis Dataset
|
| 35 |
+
Contains 76,772 test rows (17,919,695 tokens)
|
| 36 |
+
|
| 37 |
## Sentiment Categories
|
| 38 |
|
| 39 |
The model classifies text into 9 fine-grained sentiment levels:
|
|
|
|
| 118 |
## Deployment Options
|
| 119 |
- **API Deployment**: Create REST API using FastAPI
|
| 120 |
- **Batch Processing**: Set up automated sentiment analysis pipeline
|
| 121 |
+
- **Real-time Analysis**: Integrate with financial data streams
|
| 122 |
+
|
| 123 |
+
## References
|
| 124 |
+
- [ModernBERT Paper](https://arxiv.org/abs/2412.13663)
|
| 125 |
+
- [FinGPT Project](https://github.com/AI4Finance-Foundation/FinGPT)
|
| 126 |
+
- [Hugging Face Transformers](https://huggingface.co/docs/transformers)
|
| 127 |
+
- [Financial Sentiment Analysis Survey](https://arxiv.org/abs/2212.14197)
|