rpratap2102 commited on
Commit
c4bac35
·
1 Parent(s): a27b4bf

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -7
README.md CHANGED
@@ -16,19 +16,14 @@ More technical details on `FinBERT`: [Click Link](https://github.com/yya518/FinB
16
 
17
  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.
18
 
19
- If you use the model in your academic work, please cite the following paper:
20
-
21
- Huang, Allen H., Hui Wang, and Yi Yang. "FinBERT: A Large Language Model for Extracting Information from Financial Text." *Contemporary Accounting Research* (2022).
22
-
23
-
24
  # How to use
25
  You can use this model with Transformers pipeline for sentiment analysis.
26
  ```python
27
  from transformers import BertTokenizer, BertForSequenceClassification
28
  from transformers import pipeline
29
 
30
- finbert = BertForSequenceClassification.from_pretrained('yiyanghkust/finbert-tone',num_labels=3)
31
- tokenizer = BertTokenizer.from_pretrained('yiyanghkust/finbert-tone')
32
 
33
  nlp = pipeline("sentiment-analysis", model=finbert, tokenizer=tokenizer)
34
 
 
16
 
17
  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.
18
 
 
 
 
 
 
19
  # How to use
20
  You can use this model with Transformers pipeline for sentiment analysis.
21
  ```python
22
  from transformers import BertTokenizer, BertForSequenceClassification
23
  from transformers import pipeline
24
 
25
+ finbert = BertForSequenceClassification.from_pretrained('rpratap2102/The_Misfits',num_labels=3)
26
+ tokenizer = BertTokenizer.from_pretrained('rpratap2102/The_Misfits')
27
 
28
  nlp = pipeline("sentiment-analysis", model=finbert, tokenizer=tokenizer)
29