Compare commits

..

No commits in common. "4921590d3c0c3832c0efea24c8381ce0bda7844b" and "b68b7aac74185489eee6d6ff10b2cc10eb791f2c" have entirely different histories.

3 changed files with 11 additions and 16 deletions

View File

@ -4,7 +4,7 @@ tags:
- financial-sentiment-analysis - financial-sentiment-analysis
- sentiment-analysis - sentiment-analysis
widget: widget:
- text: "growth is strong and we have plenty of liquidity" - text: "Stocks rallied and the British pound gained."
--- ---
`FinBERT` is a BERT model pre-trained on financial communication text. The purpose is to enhance financial NLP research and practice. It is trained on the following three financial communication corpus. The total corpora size is 4.9B tokens. `FinBERT` is a BERT model pre-trained on financial communication text. The purpose is to enhance financial NLP research and practice. It is trained on the following three financial communication corpus. The total corpora size is 4.9B tokens.
@ -14,13 +14,10 @@ widget:
More technical details on `FinBERT`: [Click Link](https://github.com/yya518/FinBERT) More technical details on `FinBERT`: [Click Link](https://github.com/yya518/FinBERT)
Please check out our working paper [`FinBERT—A Deep Learning Approach to Extracting Textual Information`](https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3910214).
This released `finbert-tone` model is the `FinBERT` model fine-tuned on 10,000 manually annotated (positive, negative, neutral) sentences from analyst reports. This model achieves superior performance on financial tone analysis task. If you are simply interested in using `FinBERT` for financial tone analysis, give it a try. This released `finbert-tone` model is the `FinBERT` model fine-tuned on 10,000 manually annotated (positive, negative, neutral) sentences from analyst reports. This model achieves superior performance on financial tone analysis task. If you are simply interested in using `FinBERT` for financial tone analysis, give it a try.
If you use the model in your academic work, please cite the following paper:
Huang, Allen H., Hui Wang, and Yi Yang. "FinBERT: A Large Language Model for Extracting Information from Financial Text." *Contemporary Accounting Research* (2022).
# How to use # How to use
You can use this model with Transformers pipeline for sentiment analysis. You can use this model with Transformers pipeline for sentiment analysis.
```python ```python

View File

@ -1,17 +1,18 @@
{ {
"architectures": [ "architectures": [
"BertForSequenceClassification" "BertForSequenceClassification"
], ],
"id2label": { "id2label": {
"0": "Neutral", "0": "neutral",
"1": "Positive", "1": "positive",
"2": "Negative" "2": "negative"
}, },
"label2id": { "label2id": {
"Positive": 1, "positive": 1,
"Negative": 2, "negative": 2,
"Neutral": 0 "neutral": 0
}, },
"model_type": "bert",
"attention_probs_dropout_prob": 0.1, "attention_probs_dropout_prob": 0.1,
"hidden_act": "gelu", "hidden_act": "gelu",
"hidden_dropout_prob": 0.1, "hidden_dropout_prob": 0.1,

BIN
tf_model.h5 (Stored with Git LFS)

Binary file not shown.