Hyeonseo commited on
Commit
9beac7d
1 Parent(s): 2967cfb

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +77 -0
README.md ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_trainer
4
+ metrics:
5
+ - accuracy
6
+ model-index:
7
+ - name: finance_news_classifier
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ # finance_news_classifier
15
+
16
+ This model is a fine-tuned version of [cardiffnlp/twitter-xlm-roberta-base-sentiment](https://huggingface.co/cardiffnlp/twitter-xlm-roberta-base-sentiment) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 1.1719
19
+ - Accuracy: 0.8680
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 2e-05
39
+ - train_batch_size: 16
40
+ - eval_batch_size: 16
41
+ - seed: 42
42
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
43
+ - lr_scheduler_type: linear
44
+ - num_epochs: 20
45
+
46
+ ### Training results
47
+
48
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
49
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
50
+ | No log | 1.0 | 243 | 0.4023 | 0.8412 |
51
+ | No log | 2.0 | 486 | 0.4435 | 0.8526 |
52
+ | 0.3668 | 3.0 | 729 | 0.5688 | 0.8402 |
53
+ | 0.3668 | 4.0 | 972 | 0.6626 | 0.8598 |
54
+ | 0.1479 | 5.0 | 1215 | 0.8238 | 0.8557 |
55
+ | 0.1479 | 6.0 | 1458 | 0.9073 | 0.8536 |
56
+ | 0.0654 | 7.0 | 1701 | 0.9993 | 0.8557 |
57
+ | 0.0654 | 8.0 | 1944 | 1.0495 | 0.8526 |
58
+ | 0.0368 | 9.0 | 2187 | 1.1007 | 0.8392 |
59
+ | 0.0368 | 10.0 | 2430 | 1.1122 | 0.8505 |
60
+ | 0.0212 | 11.0 | 2673 | 1.1024 | 0.8680 |
61
+ | 0.0212 | 12.0 | 2916 | 1.0697 | 0.8670 |
62
+ | 0.0148 | 13.0 | 3159 | 1.1283 | 0.8639 |
63
+ | 0.0148 | 14.0 | 3402 | 1.1176 | 0.8701 |
64
+ | 0.008 | 15.0 | 3645 | 1.1625 | 0.8660 |
65
+ | 0.008 | 16.0 | 3888 | 1.1794 | 0.8639 |
66
+ | 0.0052 | 17.0 | 4131 | 1.1701 | 0.8629 |
67
+ | 0.0052 | 18.0 | 4374 | 1.1919 | 0.8608 |
68
+ | 0.005 | 19.0 | 4617 | 1.1745 | 0.8670 |
69
+ | 0.005 | 20.0 | 4860 | 1.1719 | 0.8680 |
70
+
71
+
72
+ ### Framework versions
73
+
74
+ - Transformers 4.28.0
75
+ - Pytorch 2.0.1+cu118
76
+ - Datasets 2.12.0
77
+ - Tokenizers 0.13.3