Alberto commited on
Commit
98457e8
1 Parent(s): 5bb3bcb

End of training

Browse files
Files changed (2) hide show
  1. README.md +55 -8
  2. pytorch_model.bin +1 -1
README.md CHANGED
@@ -1,15 +1,62 @@
1
  ---
2
- license: apache-2.0
3
- datasets:
4
- - Jean-Baptiste/financial_news_sentiment_mixte_with_phrasebank_75
5
- pipeline_tag: text-classification
6
  tags:
7
- - finance
 
 
 
 
 
8
  ---
9
 
10
- Model [Cardiff-Twitter-XLM-Roberta](https://huggingface.co/cardiffnlp/twitter-xlm-roberta-base-sentiment) fine tuned on the financial dataset [financial_news_sentiment_mixte_with_phrasebank_75](https://huggingface.co/datasets/Jean-Baptiste/financial_news_sentiment_mixte_with_phrasebank_75).
 
11
 
12
- The dataset's column used to fine tune the model is **summary_detail_with_title**.
13
 
 
 
 
 
14
 
15
- The model is trained in only 3 epochs, with 300 warm-up steps.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ base_model: cardiffnlp/twitter-xlm-roberta-base-sentiment
 
 
 
3
  tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - f1
7
+ model-index:
8
+ - name: twitter_xlm_robertta_sentiment_financial_news
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
+ # twitter_xlm_robertta_sentiment_financial_news
16
 
17
+ 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.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.4492
20
+ - F1: 0.8812
21
 
22
+ ## Model description
23
+
24
+ More information needed
25
+
26
+ ## Intended uses & limitations
27
+
28
+ More information needed
29
+
30
+ ## Training and evaluation data
31
+
32
+ More information needed
33
+
34
+ ## Training procedure
35
+
36
+ ### Training hyperparameters
37
+
38
+ The following hyperparameters were used during training:
39
+ - learning_rate: 5e-05
40
+ - train_batch_size: 8
41
+ - eval_batch_size: 8
42
+ - seed: 42
43
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
44
+ - lr_scheduler_type: linear
45
+ - lr_scheduler_warmup_steps: 300
46
+ - num_epochs: 3
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss | F1 |
51
+ |:-------------:|:-----:|:----:|:---------------:|:------:|
52
+ | 0.518 | 1.0 | 556 | 0.4881 | 0.8184 |
53
+ | 0.3534 | 2.0 | 1112 | 0.5041 | 0.8797 |
54
+ | 0.1781 | 3.0 | 1668 | 0.4492 | 0.8812 |
55
+
56
+
57
+ ### Framework versions
58
+
59
+ - Transformers 4.33.3
60
+ - Pytorch 2.0.1+cu117
61
+ - Datasets 2.14.5
62
+ - Tokenizers 0.13.1
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:91138e0b5516c1347762e048d4b9e124a24f0380b3a7b79524394805ff205e45
3
  size 1112252785
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21f19422617923740468539432ac10da02db48ac911b56a889c6f6a4814349a0
3
  size 1112252785