hungnm commited on
Commit
811ff2f
·
verified ·
1 Parent(s): e1f5bfe

Model save

Browse files
README.md CHANGED
@@ -1,3 +1,76 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: answerdotai/ModernBERT-large
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - f1
9
+ - precision
10
+ - recall
11
+ model-index:
12
+ - name: modernBERT-large-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
+ # modernBERT-large-multilingual-sentiment
20
+
21
+ This model is a fine-tuned version of [answerdotai/ModernBERT-large](https://huggingface.co/answerdotai/ModernBERT-large) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.7490
24
+ - F1: 0.8012
25
+ - Precision: 0.8011
26
+ - Recall: 0.8014
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
+ - num_devices: 2
51
+ - gradient_accumulation_steps: 2
52
+ - total_train_batch_size: 2048
53
+ - total_eval_batch_size: 1024
54
+ - optimizer: Use adamw_torch_fused with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
55
+ - lr_scheduler_type: cosine
56
+ - lr_scheduler_warmup_ratio: 0.01
57
+ - num_epochs: 5.0
58
+ - mixed_precision_training: Native AMP
59
+
60
+ ### Training results
61
+
62
+ | Training Loss | Epoch | Step | Validation Loss | F1 | Precision | Recall |
63
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:---------:|:------:|
64
+ | 0.8799 | 1.0 | 1537 | 0.4329 | 0.8050 | 0.8079 | 0.8037 |
65
+ | 0.7674 | 2.0 | 3074 | 0.4197 | 0.8125 | 0.8125 | 0.8125 |
66
+ | 0.6427 | 3.0 | 4611 | 0.4399 | 0.8128 | 0.8125 | 0.8133 |
67
+ | 0.4206 | 4.0 | 6148 | 0.5581 | 0.8073 | 0.8068 | 0.8078 |
68
+ | 0.2322 | 5.0 | 7685 | 0.7490 | 0.8012 | 0.8011 | 0.8014 |
69
+
70
+
71
+ ### Framework versions
72
+
73
+ - Transformers 4.48.0.dev0
74
+ - Pytorch 2.4.0+cu121
75
+ - Datasets 3.2.0
76
+ - Tokenizers 0.21.0
all_results.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 5.0,
3
+ "train_loss": 0.6255086388770993,
4
+ "train_runtime": 65052.9958,
5
+ "train_samples_per_second": 241.916,
6
+ "train_steps_per_second": 0.118
7
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7be539aabb4591fafab43d6aa6bfa1ed6ac09c642ad4a73a589db308d162e2f6
3
  size 791686854
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8ea16cc0200cc1db6ff7f5af441b40ce571a568d906411d01603ef75d881269
3
  size 791686854
runs/Jan01_01-06-27_hn-fornix-testing-gpu-platform-2/events.out.tfevents.1735694042.hn-fornix-testing-gpu-platform-2.1051424.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:20a2865702eac4c268e6b841a34ba3ca886ff846520c1a87a04fb802b277e165
3
- size 331932
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d56f32412a901e0f30c68346b1f2da8a4f2bb7f1319349eb444f516178b528db
3
+ size 332706
train_results.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 5.0,
3
+ "train_loss": 0.6255086388770993,
4
+ "train_runtime": 65052.9958,
5
+ "train_samples_per_second": 241.916,
6
+ "train_steps_per_second": 0.118
7
+ }
trainer_state.json ADDED
The diff for this file is too large to render. See raw diff