hungnm commited on
Commit
21abc11
·
verified ·
1 Parent(s): 789c1ff

Model save

Browse files
README.md CHANGED
@@ -1,3 +1,74 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: FacebookAI/xlm-roberta-base
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - f1
9
+ - precision
10
+ - recall
11
+ model-index:
12
+ - name: roberta-base-multilingual-sentiment
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # roberta-base-multilingual-sentiment
20
+
21
+ This model is a fine-tuned version of [FacebookAI/xlm-roberta-base](https://huggingface.co/FacebookAI/xlm-roberta-base) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.4333
24
+ - F1: 0.8168
25
+ - Precision: 0.8175
26
+ - Recall: 0.8162
27
+
28
+ ## Model description
29
+
30
+ More information needed
31
+
32
+ ## Intended uses & limitations
33
+
34
+ More information needed
35
+
36
+ ## Training and evaluation data
37
+
38
+ More information needed
39
+
40
+ ## Training procedure
41
+
42
+ ### Training hyperparameters
43
+
44
+ The following hyperparameters were used during training:
45
+ - learning_rate: 5e-05
46
+ - train_batch_size: 512
47
+ - eval_batch_size: 512
48
+ - seed: 42
49
+ - distributed_type: multi-GPU
50
+ - gradient_accumulation_steps: 2
51
+ - total_train_batch_size: 1024
52
+ - optimizer: Use adamw_torch_fused with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
53
+ - lr_scheduler_type: cosine
54
+ - lr_scheduler_warmup_ratio: 0.01
55
+ - num_epochs: 5.0
56
+ - mixed_precision_training: Native AMP
57
+
58
+ ### Training results
59
+
60
+ | Training Loss | Epoch | Step | Validation Loss | F1 | Precision | Recall |
61
+ |:-------------:|:-----:|:-----:|:---------------:|:------:|:---------:|:------:|
62
+ | 0.898 | 1.0 | 3074 | 0.4324 | 0.8048 | 0.8081 | 0.8033 |
63
+ | 0.8305 | 2.0 | 6148 | 0.4175 | 0.8147 | 0.8151 | 0.8143 |
64
+ | 0.7187 | 3.0 | 9222 | 0.4219 | 0.8162 | 0.8167 | 0.8158 |
65
+ | 0.7263 | 4.0 | 12296 | 0.4260 | 0.8168 | 0.8178 | 0.8160 |
66
+ | 0.6721 | 5.0 | 15370 | 0.4333 | 0.8168 | 0.8175 | 0.8162 |
67
+
68
+
69
+ ### Framework versions
70
+
71
+ - Transformers 4.48.0.dev0
72
+ - Pytorch 2.4.0+cu121
73
+ - Datasets 3.2.0
74
+ - Tokenizers 0.21.0
all_results.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 5.0,
3
+ "train_loss": 0.7951339374212142,
4
+ "train_runtime": 80422.989,
5
+ "train_samples_per_second": 195.683,
6
+ "train_steps_per_second": 0.191
7
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b3a25a2415e7f96600a6cfcacac9d0374524f4f691508129dda5a52c7a4621bf
3
  size 556116054
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d2680eec44a510cad6a33166695477a1ea759300fbc3cacf00dfc75d3b3e3bae
3
  size 556116054
runs/Jan01_10-52-53_hn-fornix-testing-gpu-platform-2/events.out.tfevents.1735729024.hn-fornix-testing-gpu-platform-2.1337824.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c2fc10fdd3b9ba61467a84a6a303895477b36d3a54cb9c376cefcd0514f3c666
3
- size 655647
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b34a4c6bbc0721b614cb8d98efb7e7fa5c0b36bb47795f18625706948ff237e
3
+ size 656421
train_results.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 5.0,
3
+ "train_loss": 0.7951339374212142,
4
+ "train_runtime": 80422.989,
5
+ "train_samples_per_second": 195.683,
6
+ "train_steps_per_second": 0.191
7
+ }
trainer_state.json ADDED
The diff for this file is too large to render. See raw diff