Sanjib Narzary
commited on
Commit
•
6444f26
1
Parent(s):
4970553
training models after 12500 checkpoints
Browse files- .gitignore +1 -0
- README.md +67 -0
- all_results.json +15 -0
- config.json +2 -0
- eval_results.json +10 -0
- pytorch_model.bin +3 -0
- train_results.json +8 -0
- trainer_state.json +178 -0
- training_args.bin +3 -0
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
checkpoint-*
|
README.md
CHANGED
@@ -1,3 +1,70 @@
|
|
1 |
---
|
2 |
license: mit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: mit
|
3 |
+
base_model: alayaran/bodo-roberta-base-sentencepiece-mlm
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- alayaran/bodo-monolingual-dataset
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: bodo-roberta-base-sentencepiece-mlm
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Masked Language Modeling
|
15 |
+
type: fill-mask
|
16 |
+
dataset:
|
17 |
+
name: alayaran/bodo-monolingual-dataset
|
18 |
+
type: alayaran/bodo-monolingual-dataset
|
19 |
+
metrics:
|
20 |
+
- name: Accuracy
|
21 |
+
type: accuracy
|
22 |
+
value: 0.1152087425920729
|
23 |
---
|
24 |
+
|
25 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
26 |
+
should probably proofread and complete it, then remove this comment. -->
|
27 |
+
|
28 |
+
# bodo-roberta-base-sentencepiece-mlm
|
29 |
+
|
30 |
+
This model is a fine-tuned version of [alayaran/bodo-roberta-base-sentencepiece-mlm](https://huggingface.co/alayaran/bodo-roberta-base-sentencepiece-mlm) on the alayaran/bodo-monolingual-dataset dataset.
|
31 |
+
It achieves the following results on the evaluation set:
|
32 |
+
- Loss: 7.6855
|
33 |
+
- Accuracy: 0.1152
|
34 |
+
|
35 |
+
## Model description
|
36 |
+
|
37 |
+
More information needed
|
38 |
+
|
39 |
+
## Intended uses & limitations
|
40 |
+
|
41 |
+
More information needed
|
42 |
+
|
43 |
+
## Training and evaluation data
|
44 |
+
|
45 |
+
More information needed
|
46 |
+
|
47 |
+
## Training procedure
|
48 |
+
|
49 |
+
### Training hyperparameters
|
50 |
+
|
51 |
+
The following hyperparameters were used during training:
|
52 |
+
- learning_rate: 0.0003
|
53 |
+
- train_batch_size: 96
|
54 |
+
- eval_batch_size: 96
|
55 |
+
- seed: 42
|
56 |
+
- optimizer: Adam with betas=(0.9,0.98) and epsilon=1e-08
|
57 |
+
- lr_scheduler_type: linear
|
58 |
+
- lr_scheduler_warmup_steps: 1000
|
59 |
+
- num_epochs: 18.0
|
60 |
+
|
61 |
+
### Training results
|
62 |
+
|
63 |
+
|
64 |
+
|
65 |
+
### Framework versions
|
66 |
+
|
67 |
+
- Transformers 4.34.0.dev0
|
68 |
+
- Pytorch 2.0.1+cu117
|
69 |
+
- Datasets 2.14.5
|
70 |
+
- Tokenizers 0.13.3
|
all_results.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 18.0,
|
3 |
+
"eval_accuracy": 0.1152087425920729,
|
4 |
+
"eval_loss": 7.685478687286377,
|
5 |
+
"eval_runtime": 21.3043,
|
6 |
+
"eval_samples": 3169,
|
7 |
+
"eval_samples_per_second": 148.749,
|
8 |
+
"eval_steps_per_second": 1.596,
|
9 |
+
"perplexity": 2176.5115927098177,
|
10 |
+
"train_loss": 7.551853012219131,
|
11 |
+
"train_runtime": 21104.0201,
|
12 |
+
"train_samples": 66691,
|
13 |
+
"train_samples_per_second": 56.882,
|
14 |
+
"train_steps_per_second": 0.593
|
15 |
+
}
|
config.json
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
"RobertaForMaskedLM"
|
4 |
],
|
@@ -18,6 +19,7 @@
|
|
18 |
"num_hidden_layers": 12,
|
19 |
"pad_token_id": 1,
|
20 |
"position_embedding_type": "absolute",
|
|
|
21 |
"transformers_version": "4.34.0.dev0",
|
22 |
"type_vocab_size": 1,
|
23 |
"use_cache": true,
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "alayaran/bodo-roberta-base-sentencepiece-mlm",
|
3 |
"architectures": [
|
4 |
"RobertaForMaskedLM"
|
5 |
],
|
|
|
19 |
"num_hidden_layers": 12,
|
20 |
"pad_token_id": 1,
|
21 |
"position_embedding_type": "absolute",
|
22 |
+
"torch_dtype": "float32",
|
23 |
"transformers_version": "4.34.0.dev0",
|
24 |
"type_vocab_size": 1,
|
25 |
"use_cache": true,
|
eval_results.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 18.0,
|
3 |
+
"eval_accuracy": 0.1152087425920729,
|
4 |
+
"eval_loss": 7.685478687286377,
|
5 |
+
"eval_runtime": 21.3043,
|
6 |
+
"eval_samples": 3169,
|
7 |
+
"eval_samples_per_second": 148.749,
|
8 |
+
"eval_steps_per_second": 1.596,
|
9 |
+
"perplexity": 2176.5115927098177
|
10 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:898d7268b5c83e8eaf722cd03a95229f2acb8aedb13c6baf8f9f53b70576c237
|
3 |
+
size 498859189
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 18.0,
|
3 |
+
"train_loss": 7.551853012219131,
|
4 |
+
"train_runtime": 21104.0201,
|
5 |
+
"train_samples": 66691,
|
6 |
+
"train_samples_per_second": 56.882,
|
7 |
+
"train_steps_per_second": 0.593
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,178 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 18.0,
|
5 |
+
"eval_steps": 10.0,
|
6 |
+
"global_step": 12510,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.72,
|
13 |
+
"learning_rate": 0.00015,
|
14 |
+
"loss": 9.1947,
|
15 |
+
"step": 500
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 1.44,
|
19 |
+
"learning_rate": 0.0003,
|
20 |
+
"loss": 8.2402,
|
21 |
+
"step": 1000
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 2.16,
|
25 |
+
"learning_rate": 0.0002869678540399652,
|
26 |
+
"loss": 7.9884,
|
27 |
+
"step": 1500
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 2.88,
|
31 |
+
"learning_rate": 0.00027393570807993046,
|
32 |
+
"loss": 7.857,
|
33 |
+
"step": 2000
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"epoch": 3.6,
|
37 |
+
"learning_rate": 0.0002609035621198957,
|
38 |
+
"loss": 7.7651,
|
39 |
+
"step": 2500
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 4.32,
|
43 |
+
"learning_rate": 0.00024787141615986095,
|
44 |
+
"loss": 7.7077,
|
45 |
+
"step": 3000
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 5.04,
|
49 |
+
"learning_rate": 0.0002348392701998262,
|
50 |
+
"loss": 7.6652,
|
51 |
+
"step": 3500
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 5.76,
|
55 |
+
"learning_rate": 0.00022180712423979147,
|
56 |
+
"loss": 7.6063,
|
57 |
+
"step": 4000
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 6.47,
|
61 |
+
"learning_rate": 0.0002087749782797567,
|
62 |
+
"loss": 7.5724,
|
63 |
+
"step": 4500
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"epoch": 7.19,
|
67 |
+
"learning_rate": 0.00019574283231972196,
|
68 |
+
"loss": 7.5367,
|
69 |
+
"step": 5000
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 7.91,
|
73 |
+
"learning_rate": 0.0001827106863596872,
|
74 |
+
"loss": 7.5095,
|
75 |
+
"step": 5500
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"epoch": 8.63,
|
79 |
+
"learning_rate": 0.00016967854039965247,
|
80 |
+
"loss": 7.4663,
|
81 |
+
"step": 6000
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"epoch": 9.35,
|
85 |
+
"learning_rate": 0.0001566463944396177,
|
86 |
+
"loss": 7.4449,
|
87 |
+
"step": 6500
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"epoch": 10.07,
|
91 |
+
"learning_rate": 0.00014361424847958296,
|
92 |
+
"loss": 7.4104,
|
93 |
+
"step": 7000
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 10.79,
|
97 |
+
"learning_rate": 0.0001305821025195482,
|
98 |
+
"loss": 7.3748,
|
99 |
+
"step": 7500
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"epoch": 11.51,
|
103 |
+
"learning_rate": 0.00011754995655951345,
|
104 |
+
"loss": 7.3498,
|
105 |
+
"step": 8000
|
106 |
+
},
|
107 |
+
{
|
108 |
+
"epoch": 12.23,
|
109 |
+
"learning_rate": 0.00010451781059947871,
|
110 |
+
"loss": 7.336,
|
111 |
+
"step": 8500
|
112 |
+
},
|
113 |
+
{
|
114 |
+
"epoch": 12.95,
|
115 |
+
"learning_rate": 9.148566463944395e-05,
|
116 |
+
"loss": 7.3068,
|
117 |
+
"step": 9000
|
118 |
+
},
|
119 |
+
{
|
120 |
+
"epoch": 13.67,
|
121 |
+
"learning_rate": 7.84535186794092e-05,
|
122 |
+
"loss": 7.2688,
|
123 |
+
"step": 9500
|
124 |
+
},
|
125 |
+
{
|
126 |
+
"epoch": 14.39,
|
127 |
+
"learning_rate": 6.542137271937446e-05,
|
128 |
+
"loss": 7.2559,
|
129 |
+
"step": 10000
|
130 |
+
},
|
131 |
+
{
|
132 |
+
"epoch": 15.11,
|
133 |
+
"learning_rate": 5.23892267593397e-05,
|
134 |
+
"loss": 7.2261,
|
135 |
+
"step": 10500
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 15.83,
|
139 |
+
"learning_rate": 3.935708079930495e-05,
|
140 |
+
"loss": 7.2057,
|
141 |
+
"step": 11000
|
142 |
+
},
|
143 |
+
{
|
144 |
+
"epoch": 16.55,
|
145 |
+
"learning_rate": 2.6324934839270198e-05,
|
146 |
+
"loss": 7.1874,
|
147 |
+
"step": 11500
|
148 |
+
},
|
149 |
+
{
|
150 |
+
"epoch": 17.27,
|
151 |
+
"learning_rate": 1.3292788879235446e-05,
|
152 |
+
"loss": 7.1699,
|
153 |
+
"step": 12000
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"epoch": 17.99,
|
157 |
+
"learning_rate": 2.60642919200695e-07,
|
158 |
+
"loss": 7.1585,
|
159 |
+
"step": 12500
|
160 |
+
},
|
161 |
+
{
|
162 |
+
"epoch": 18.0,
|
163 |
+
"step": 12510,
|
164 |
+
"total_flos": 7.900846655703091e+16,
|
165 |
+
"train_loss": 7.551853012219131,
|
166 |
+
"train_runtime": 21104.0201,
|
167 |
+
"train_samples_per_second": 56.882,
|
168 |
+
"train_steps_per_second": 0.593
|
169 |
+
}
|
170 |
+
],
|
171 |
+
"logging_steps": 500,
|
172 |
+
"max_steps": 12510,
|
173 |
+
"num_train_epochs": 18,
|
174 |
+
"save_steps": 2500,
|
175 |
+
"total_flos": 7.900846655703091e+16,
|
176 |
+
"trial_name": null,
|
177 |
+
"trial_params": null
|
178 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:69e5b4a4749d0ff2680cdcde48416137866776d630f9a07e1f357594d5c75d91
|
3 |
+
size 4091
|