update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
metrics:
|
6 |
+
- accuracy
|
7 |
+
model-index:
|
8 |
+
- name: fnet-base-Financial_Sentiment_Analysis
|
9 |
+
results: []
|
10 |
+
---
|
11 |
+
|
12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
13 |
+
should probably proofread and complete it, then remove this comment. -->
|
14 |
+
|
15 |
+
# fnet-base-Financial_Sentiment_Analysis
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [google/fnet-base](https://huggingface.co/google/fnet-base) on the None dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 0.3281
|
20 |
+
- Accuracy: 0.8117
|
21 |
+
- Weighted f1: 0.8110
|
22 |
+
- Micro f1: 0.8117
|
23 |
+
- Macro f1: 0.7472
|
24 |
+
- Weighted recall: 0.8117
|
25 |
+
- Micro recall: 0.8117
|
26 |
+
- Macro recall: 0.7394
|
27 |
+
- Weighted precision: 0.8144
|
28 |
+
- Micro precision: 0.8117
|
29 |
+
- Macro precision: 0.7588
|
30 |
+
|
31 |
+
## Model description
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Intended uses & limitations
|
36 |
+
|
37 |
+
More information needed
|
38 |
+
|
39 |
+
## Training and evaluation data
|
40 |
+
|
41 |
+
More information needed
|
42 |
+
|
43 |
+
## Training procedure
|
44 |
+
|
45 |
+
### Training hyperparameters
|
46 |
+
|
47 |
+
The following hyperparameters were used during training:
|
48 |
+
- learning_rate: 2e-05
|
49 |
+
- train_batch_size: 64
|
50 |
+
- eval_batch_size: 64
|
51 |
+
- seed: 42
|
52 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
53 |
+
- lr_scheduler_type: linear
|
54 |
+
- num_epochs: 5
|
55 |
+
|
56 |
+
### Training results
|
57 |
+
|
58 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Weighted f1 | Micro f1 | Macro f1 | Weighted recall | Micro recall | Macro recall | Weighted precision | Micro precision | Macro precision |
|
59 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:-----------:|:--------:|:--------:|:---------------:|:------------:|:------------:|:------------------:|:---------------:|:---------------:|
|
60 |
+
| 0.6116 | 1.0 | 134 | 0.5127 | 0.6304 | 0.5606 | 0.6304 | 0.4705 | 0.6304 | 0.6304 | 0.5272 | 0.6722 | 0.6304 | 0.6103 |
|
61 |
+
| 0.4497 | 2.0 | 268 | 0.3885 | 0.7578 | 0.7490 | 0.7578 | 0.6783 | 0.7578 | 0.7578 | 0.6636 | 0.7677 | 0.7578 | 0.7196 |
|
62 |
+
| 0.3319 | 3.0 | 402 | 0.3546 | 0.7799 | 0.7784 | 0.7799 | 0.7185 | 0.7799 | 0.7799 | 0.7167 | 0.7979 | 0.7799 | 0.7440 |
|
63 |
+
| 0.2953 | 4.0 | 536 | 0.3312 | 0.8117 | 0.8105 | 0.8117 | 0.7435 | 0.8117 | 0.8117 | 0.7356 | 0.8111 | 0.8117 | 0.7532 |
|
64 |
+
| 0.2446 | 5.0 | 670 | 0.3281 | 0.8117 | 0.8110 | 0.8117 | 0.7472 | 0.8117 | 0.8117 | 0.7394 | 0.8144 | 0.8117 | 0.7588 |
|
65 |
+
|
66 |
+
|
67 |
+
### Framework versions
|
68 |
+
|
69 |
+
- Transformers 4.27.4
|
70 |
+
- Pytorch 2.0.0
|
71 |
+
- Datasets 2.11.0
|
72 |
+
- Tokenizers 0.13.3
|