Update README.md
Browse files
README.md
CHANGED
@@ -23,23 +23,16 @@ Our fine-tuned FinBERT model is a powerful tool designed for sentiment analysis
|
|
23 |
|
24 |
<!-- Provide a longer summary of what this model is. -->
|
25 |
|
26 |
-
|
27 |
-
|
28 |
- **Developed by:** Khushi Dave
|
29 |
-
- **
|
30 |
-
- **
|
31 |
-
- **
|
32 |
-
- **Language(s) (NLP):** English
|
33 |
-
- **License:** [More Information Needed]
|
34 |
-
- **Finetuned from model [optional]:** yiyanghkust/finbert-tone
|
35 |
|
36 |
### Model Sources [optional]
|
37 |
|
38 |
<!-- Provide the basic links for the model. -->
|
39 |
|
40 |
- **Repository:** https://huggingface.co/kdave/FineTuned_Finbert
|
41 |
-
- **Paper [optional]:** [More Information Needed]
|
42 |
-
- **Demo [optional]:** [More Information Needed]
|
43 |
|
44 |
## Uses
|
45 |
|
@@ -73,28 +66,23 @@ results = nlp_pipeline(sentences)
|
|
73 |
print(results)
|
74 |
```
|
75 |
|
76 |
-
[More Information Needed]
|
77 |
-
|
78 |
-
### Downstream Use [optional]
|
79 |
-
|
80 |
-
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
81 |
-
|
82 |
-
[More Information Needed]
|
83 |
-
|
84 |
### Out-of-Scope Use
|
85 |
|
86 |
1. Misuse:
|
|
|
87 |
Deliberate Misinformation: The model may be misused if fed with intentionally crafted misinformation to manipulate sentiment analysis results. Users should ensure the input data is authentic and unbiased.
|
88 |
|
89 |
2. Malicious Use:
|
|
|
90 |
Market Manipulation Attempts: Any attempt to use the model to propagate false sentiment for the purpose of market manipulation is strictly unethical and against the intended use of the model.
|
91 |
|
92 |
3. Limitations:
|
|
|
93 |
Non-Financial Texts: The model is fine-tuned specifically for Indian stock market news. It may not perform optimally when applied to non-financial texts or unrelated domains.
|
|
|
94 |
Extreme Outliers: Unusual or extreme cases in sentiment expression might pose challenges. The model's performance might be less reliable for exceptionally rare or unconventional sentiment expressions.
|
95 |
-
Non-Standard Language: The model's training data primarily comprises standard financial language. It may not perform as well when faced with non-standard language, colloquialisms, or slang.
|
96 |
|
97 |
-
|
98 |
|
99 |
## Bias, Risks, and Limitations
|
100 |
|
@@ -129,7 +117,6 @@ Non-Standard Language: The model's training data primarily comprises standard fi
|
|
129 |
|
130 |
Understanding these limitations, users are advised to interpret model outputs judiciously, considering the context and potential biases. Transparent communication and awareness of both technical and sociotechnical constraints are essential for responsible model usage. While the model is a valuable tool, it is not infallible, and decision-makers should exercise prudence and diligence.
|
131 |
|
132 |
-
[More Information Needed]
|
133 |
|
134 |
### Recommendations
|
135 |
|
@@ -186,12 +173,8 @@ Integrate this model seamlessly into your financial NLP research or analysis wor
|
|
186 |
|
187 |
Now, you're all set to harness the power of the Fine-Tuned FinBERT model. Happy analyzing! ππ
|
188 |
|
189 |
-
[More Information Needed]
|
190 |
-
|
191 |
## Training Details
|
192 |
|
193 |
-
### Training Data
|
194 |
-
|
195 |
**Dataset Information:**
|
196 |
|
197 |
The Fine-Tuned FinBERT model was trained on a carefully curated dataset consisting of Indian financial news articles with summaries. Here's a brief overview of the dataset and its preparation:
|
@@ -211,125 +194,4 @@ The Fine-Tuned FinBERT model was trained on a carefully curated dataset consisti
|
|
211 |
**Dataset Card:**
|
212 |
For more detailed information on the dataset, including statistics, features, and documentation related to data pre-processing, please refer to the associated [Dataset Card](link-to-dataset-card).
|
213 |
|
214 |
-
This meticulous curation and diverse data incorporation contribute to the model's proficiency in capturing nuanced sentiment expressions relevant to the Indian stock market.
|
215 |
-
|
216 |
-
[More Information Needed]
|
217 |
-
|
218 |
-
### Training Procedure
|
219 |
-
|
220 |
-
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
221 |
-
|
222 |
-
#### Preprocessing [optional]
|
223 |
-
|
224 |
-
[More Information Needed]
|
225 |
-
|
226 |
-
|
227 |
-
#### Training Hyperparameters
|
228 |
-
|
229 |
-
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
230 |
-
|
231 |
-
#### Speeds, Sizes, Times [optional]
|
232 |
-
|
233 |
-
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
234 |
-
|
235 |
-
[More Information Needed]
|
236 |
-
|
237 |
-
## Evaluation
|
238 |
-
|
239 |
-
<!-- This section describes the evaluation protocols and provides the results. -->
|
240 |
-
|
241 |
-
### Testing Data, Factors & Metrics
|
242 |
-
|
243 |
-
#### Testing Data
|
244 |
-
|
245 |
-
<!-- This should link to a Dataset Card if possible. -->
|
246 |
-
|
247 |
-
[More Information Needed]
|
248 |
-
|
249 |
-
#### Factors
|
250 |
-
|
251 |
-
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
252 |
-
|
253 |
-
[More Information Needed]
|
254 |
-
|
255 |
-
#### Metrics
|
256 |
-
|
257 |
-
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
258 |
-
|
259 |
-
[More Information Needed]
|
260 |
-
|
261 |
-
### Results
|
262 |
-
|
263 |
-
[More Information Needed]
|
264 |
-
|
265 |
-
#### Summary
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
## Model Examination [optional]
|
270 |
-
|
271 |
-
<!-- Relevant interpretability work for the model goes here -->
|
272 |
-
|
273 |
-
[More Information Needed]
|
274 |
-
|
275 |
-
## Environmental Impact
|
276 |
-
|
277 |
-
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
278 |
-
|
279 |
-
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
280 |
-
|
281 |
-
- **Hardware Type:** [More Information Needed]
|
282 |
-
- **Hours used:** [More Information Needed]
|
283 |
-
- **Cloud Provider:** [More Information Needed]
|
284 |
-
- **Compute Region:** [More Information Needed]
|
285 |
-
- **Carbon Emitted:** [More Information Needed]
|
286 |
-
|
287 |
-
## Technical Specifications [optional]
|
288 |
-
|
289 |
-
### Model Architecture and Objective
|
290 |
-
|
291 |
-
[More Information Needed]
|
292 |
-
|
293 |
-
### Compute Infrastructure
|
294 |
-
|
295 |
-
[More Information Needed]
|
296 |
-
|
297 |
-
#### Hardware
|
298 |
-
|
299 |
-
[More Information Needed]
|
300 |
-
|
301 |
-
#### Software
|
302 |
-
|
303 |
-
[More Information Needed]
|
304 |
-
|
305 |
-
## Citation [optional]
|
306 |
-
|
307 |
-
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
308 |
-
|
309 |
-
**BibTeX:**
|
310 |
-
|
311 |
-
[More Information Needed]
|
312 |
-
|
313 |
-
**APA:**
|
314 |
-
|
315 |
-
[More Information Needed]
|
316 |
-
|
317 |
-
## Glossary [optional]
|
318 |
-
|
319 |
-
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
320 |
-
|
321 |
-
[More Information Needed]
|
322 |
-
|
323 |
-
## More Information [optional]
|
324 |
-
|
325 |
-
[More Information Needed]
|
326 |
-
|
327 |
-
## Model Card Authors [optional]
|
328 |
-
|
329 |
-
[More Information Needed]
|
330 |
-
|
331 |
-
## Model Card Contact
|
332 |
-
|
333 |
-
[More Information Needed]
|
334 |
-
|
335 |
-
|
|
|
23 |
|
24 |
<!-- Provide a longer summary of what this model is. -->
|
25 |
|
|
|
|
|
26 |
- **Developed by:** Khushi Dave
|
27 |
+
- **Model type:** BERT (Bidirectional Encoder Representations from Transformers)
|
28 |
+
- **Language:** English
|
29 |
+
- **Finetuned from model:** yiyanghkust/finbert-tone
|
|
|
|
|
|
|
30 |
|
31 |
### Model Sources [optional]
|
32 |
|
33 |
<!-- Provide the basic links for the model. -->
|
34 |
|
35 |
- **Repository:** https://huggingface.co/kdave/FineTuned_Finbert
|
|
|
|
|
36 |
|
37 |
## Uses
|
38 |
|
|
|
66 |
print(results)
|
67 |
```
|
68 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
### Out-of-Scope Use
|
70 |
|
71 |
1. Misuse:
|
72 |
+
|
73 |
Deliberate Misinformation: The model may be misused if fed with intentionally crafted misinformation to manipulate sentiment analysis results. Users should ensure the input data is authentic and unbiased.
|
74 |
|
75 |
2. Malicious Use:
|
76 |
+
|
77 |
Market Manipulation Attempts: Any attempt to use the model to propagate false sentiment for the purpose of market manipulation is strictly unethical and against the intended use of the model.
|
78 |
|
79 |
3. Limitations:
|
80 |
+
|
81 |
Non-Financial Texts: The model is fine-tuned specifically for Indian stock market news. It may not perform optimally when applied to non-financial texts or unrelated domains.
|
82 |
+
|
83 |
Extreme Outliers: Unusual or extreme cases in sentiment expression might pose challenges. The model's performance might be less reliable for exceptionally rare or unconventional sentiment expressions.
|
|
|
84 |
|
85 |
+
Non-Standard Language: The model's training data primarily comprises standard financial language. It may not perform as well when faced with non-standard language, colloquialisms, or slang.
|
86 |
|
87 |
## Bias, Risks, and Limitations
|
88 |
|
|
|
117 |
|
118 |
Understanding these limitations, users are advised to interpret model outputs judiciously, considering the context and potential biases. Transparent communication and awareness of both technical and sociotechnical constraints are essential for responsible model usage. While the model is a valuable tool, it is not infallible, and decision-makers should exercise prudence and diligence.
|
119 |
|
|
|
120 |
|
121 |
### Recommendations
|
122 |
|
|
|
173 |
|
174 |
Now, you're all set to harness the power of the Fine-Tuned FinBERT model. Happy analyzing! ππ
|
175 |
|
|
|
|
|
176 |
## Training Details
|
177 |
|
|
|
|
|
178 |
**Dataset Information:**
|
179 |
|
180 |
The Fine-Tuned FinBERT model was trained on a carefully curated dataset consisting of Indian financial news articles with summaries. Here's a brief overview of the dataset and its preparation:
|
|
|
194 |
**Dataset Card:**
|
195 |
For more detailed information on the dataset, including statistics, features, and documentation related to data pre-processing, please refer to the associated [Dataset Card](link-to-dataset-card).
|
196 |
|
197 |
+
This meticulous curation and diverse data incorporation contribute to the model's proficiency in capturing nuanced sentiment expressions relevant to the Indian stock market.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|