tmnam20
commited on
Commit
•
32da4f3
0
Parent(s):
Duplicate from tmnam/vihealthbert-w_mlm-ViMedNLI
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +35 -0
- README.md +89 -0
- added_tokens.json +3 -0
- all_results.json +16 -0
- bpe.codes +0 -0
- checkpoint-1000/added_tokens.json +3 -0
- checkpoint-1000/bpe.codes +0 -0
- checkpoint-1000/config.json +30 -0
- checkpoint-1000/model.safetensors +3 -0
- checkpoint-1000/optimizer.pt +3 -0
- checkpoint-1000/rng_state.pth +3 -0
- checkpoint-1000/scheduler.pt +3 -0
- checkpoint-1000/special_tokens_map.json +9 -0
- checkpoint-1000/tokenizer_config.json +54 -0
- checkpoint-1000/trainer_state.json +44 -0
- checkpoint-1000/training_args.bin +3 -0
- checkpoint-1000/vocab.txt +0 -0
- checkpoint-10000/added_tokens.json +3 -0
- checkpoint-10000/bpe.codes +0 -0
- checkpoint-10000/config.json +30 -0
- checkpoint-10000/model.safetensors +3 -0
- checkpoint-10000/optimizer.pt +3 -0
- checkpoint-10000/rng_state.pth +3 -0
- checkpoint-10000/scheduler.pt +3 -0
- checkpoint-10000/special_tokens_map.json +9 -0
- checkpoint-10000/tokenizer_config.json +54 -0
- checkpoint-10000/trainer_state.json +188 -0
- checkpoint-10000/training_args.bin +3 -0
- checkpoint-10000/vocab.txt +0 -0
- checkpoint-11000/added_tokens.json +3 -0
- checkpoint-11000/bpe.codes +0 -0
- checkpoint-11000/config.json +30 -0
- checkpoint-11000/model.safetensors +3 -0
- checkpoint-11000/optimizer.pt +3 -0
- checkpoint-11000/rng_state.pth +3 -0
- checkpoint-11000/scheduler.pt +3 -0
- checkpoint-11000/special_tokens_map.json +9 -0
- checkpoint-11000/tokenizer_config.json +54 -0
- checkpoint-11000/trainer_state.json +204 -0
- checkpoint-11000/training_args.bin +3 -0
- checkpoint-11000/vocab.txt +0 -0
- checkpoint-12000/added_tokens.json +3 -0
- checkpoint-12000/bpe.codes +0 -0
- checkpoint-12000/config.json +30 -0
- checkpoint-12000/model.safetensors +3 -0
- checkpoint-12000/optimizer.pt +3 -0
- checkpoint-12000/rng_state.pth +3 -0
- checkpoint-12000/scheduler.pt +3 -0
- checkpoint-12000/special_tokens_map.json +9 -0
- checkpoint-12000/tokenizer_config.json +54 -0
.gitattributes
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: demdecuong/vihealthbert-base-word
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
metrics:
|
6 |
+
- accuracy
|
7 |
+
model-index:
|
8 |
+
- name: vihealthbert-w_mlm-ViMedNLI
|
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 |
+
# vihealthbert-w_mlm-ViMedNLI
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [demdecuong/vihealthbert-base-word](https://huggingface.co/demdecuong/vihealthbert-base-word) on the None dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 1.1156
|
20 |
+
- Accuracy: 0.8341
|
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: 3e-05
|
40 |
+
- train_batch_size: 32
|
41 |
+
- eval_batch_size: 32
|
42 |
+
- seed: 19161
|
43 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
44 |
+
- lr_scheduler_type: linear
|
45 |
+
- lr_scheduler_warmup_ratio: 0.1
|
46 |
+
- training_steps: 30000
|
47 |
+
|
48 |
+
### Training results
|
49 |
+
|
50 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
51 |
+
|:-------------:|:--------:|:-----:|:---------------:|:--------:|
|
52 |
+
| 5.5327 | 10.5263 | 1000 | 2.7528 | 0.5890 |
|
53 |
+
| 1.9051 | 21.0526 | 2000 | 1.4678 | 0.7783 |
|
54 |
+
| 1.1194 | 31.5789 | 3000 | 1.1543 | 0.8020 |
|
55 |
+
| 0.831 | 42.1053 | 4000 | 1.0972 | 0.8147 |
|
56 |
+
| 0.6805 | 52.6316 | 5000 | 0.9968 | 0.8256 |
|
57 |
+
| 0.5937 | 63.1579 | 6000 | 1.0310 | 0.8243 |
|
58 |
+
| 0.5258 | 73.6842 | 7000 | 1.1045 | 0.8151 |
|
59 |
+
| 0.4569 | 84.2105 | 8000 | 1.0393 | 0.8254 |
|
60 |
+
| 0.4007 | 94.7368 | 9000 | 1.0684 | 0.8217 |
|
61 |
+
| 0.3632 | 105.2632 | 10000 | 1.1223 | 0.8182 |
|
62 |
+
| 0.3343 | 115.7895 | 11000 | 1.1048 | 0.8230 |
|
63 |
+
| 0.2998 | 126.3158 | 12000 | 1.0996 | 0.8218 |
|
64 |
+
| 0.2817 | 136.8421 | 13000 | 1.0880 | 0.8320 |
|
65 |
+
| 0.2568 | 147.3684 | 14000 | 1.1189 | 0.8216 |
|
66 |
+
| 0.2396 | 157.8947 | 15000 | 1.1026 | 0.8267 |
|
67 |
+
| 0.219 | 168.4211 | 16000 | 1.1284 | 0.8241 |
|
68 |
+
| 0.2028 | 178.9474 | 17000 | 1.1205 | 0.8243 |
|
69 |
+
| 0.1927 | 189.4737 | 18000 | 1.1104 | 0.8313 |
|
70 |
+
| 0.1841 | 200.0 | 19000 | 1.0284 | 0.8348 |
|
71 |
+
| 0.1687 | 210.5263 | 20000 | 1.1662 | 0.8266 |
|
72 |
+
| 0.1627 | 221.0526 | 21000 | 1.1330 | 0.8278 |
|
73 |
+
| 0.1564 | 231.5789 | 22000 | 1.1413 | 0.8265 |
|
74 |
+
| 0.1483 | 242.1053 | 23000 | 1.1836 | 0.8246 |
|
75 |
+
| 0.1439 | 252.6316 | 24000 | 1.2169 | 0.8179 |
|
76 |
+
| 0.1396 | 263.1579 | 25000 | 1.1871 | 0.8266 |
|
77 |
+
| 0.1364 | 273.6842 | 26000 | 1.1696 | 0.8301 |
|
78 |
+
| 0.1314 | 284.2105 | 27000 | 1.1557 | 0.8324 |
|
79 |
+
| 0.1295 | 294.7368 | 28000 | 1.1712 | 0.8298 |
|
80 |
+
| 0.1296 | 305.2632 | 29000 | 1.1821 | 0.8273 |
|
81 |
+
| 0.1251 | 315.7895 | 30000 | 1.1567 | 0.8262 |
|
82 |
+
|
83 |
+
|
84 |
+
### Framework versions
|
85 |
+
|
86 |
+
- Transformers 4.40.2
|
87 |
+
- Pytorch 2.2.0+cu121
|
88 |
+
- Datasets 2.19.1
|
89 |
+
- Tokenizers 0.19.1
|
added_tokens.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<mask>": 64000
|
3 |
+
}
|
all_results.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 315.7894736842105,
|
3 |
+
"eval_accuracy": 0.8340939202119829,
|
4 |
+
"eval_loss": 1.1156361103057861,
|
5 |
+
"eval_runtime": 0.9791,
|
6 |
+
"eval_samples": 399,
|
7 |
+
"eval_samples_per_second": 407.517,
|
8 |
+
"eval_steps_per_second": 13.277,
|
9 |
+
"perplexity": 3.051508658043527,
|
10 |
+
"total_flos": 6.261324507818496e+16,
|
11 |
+
"train_loss": 0.5399098532358806,
|
12 |
+
"train_runtime": 6604.7234,
|
13 |
+
"train_samples": 3012,
|
14 |
+
"train_samples_per_second": 145.351,
|
15 |
+
"train_steps_per_second": 4.542
|
16 |
+
}
|
bpe.codes
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-1000/added_tokens.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<mask>": 64000
|
3 |
+
}
|
checkpoint-1000/bpe.codes
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-1000/config.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "demdecuong/vihealthbert-base-word",
|
3 |
+
"architectures": [
|
4 |
+
"RobertaForMaskedLM"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"finetuning_task": "word-level",
|
11 |
+
"gradient_checkpointing": false,
|
12 |
+
"hidden_act": "gelu",
|
13 |
+
"hidden_dropout_prob": 0.1,
|
14 |
+
"hidden_size": 768,
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"intermediate_size": 3072,
|
17 |
+
"layer_norm_eps": 1e-05,
|
18 |
+
"max_position_embeddings": 258,
|
19 |
+
"model_type": "roberta",
|
20 |
+
"num_attention_heads": 12,
|
21 |
+
"num_hidden_layers": 12,
|
22 |
+
"pad_token_id": 1,
|
23 |
+
"position_embedding_type": "absolute",
|
24 |
+
"tokenizer_class": "PhobertTokenizer",
|
25 |
+
"torch_dtype": "float32",
|
26 |
+
"transformers_version": "4.40.2",
|
27 |
+
"type_vocab_size": 1,
|
28 |
+
"use_cache": true,
|
29 |
+
"vocab_size": 64001
|
30 |
+
}
|
checkpoint-1000/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fde2113281f99b697a1c9b4fa1cc9b1c412ffc94e8cfc01909c918f354376ccd
|
3 |
+
size 540279452
|
checkpoint-1000/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f359bbd67da057ea08ad75f5155d032cafc0e71594dafecd311efddbddebbd87
|
3 |
+
size 1080631290
|
checkpoint-1000/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:32cb63b93fa8fc30aa1a3595f75ce57e9b0eadf08b988b70abfb88a4fbce5349
|
3 |
+
size 14308
|
checkpoint-1000/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3a63abf127bfb7a79cfff9a24142b4b60edd1ec07fff069d4830232793c6f6bf
|
3 |
+
size 1064
|
checkpoint-1000/special_tokens_map.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"cls_token": "<s>",
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"mask_token": "<mask>",
|
6 |
+
"pad_token": "<pad>",
|
7 |
+
"sep_token": "</s>",
|
8 |
+
"unk_token": "<unk>"
|
9 |
+
}
|
checkpoint-1000/tokenizer_config.json
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "<s>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "<pad>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "</s>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"3": {
|
28 |
+
"content": "<unk>",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"64000": {
|
36 |
+
"content": "<mask>",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"bos_token": "<s>",
|
45 |
+
"clean_up_tokenization_spaces": true,
|
46 |
+
"cls_token": "<s>",
|
47 |
+
"eos_token": "</s>",
|
48 |
+
"mask_token": "<mask>",
|
49 |
+
"model_max_length": 1000000000000000019884624838656,
|
50 |
+
"pad_token": "<pad>",
|
51 |
+
"sep_token": "</s>",
|
52 |
+
"tokenizer_class": "PhobertTokenizer",
|
53 |
+
"unk_token": "<unk>"
|
54 |
+
}
|
checkpoint-1000/trainer_state.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.588971337116252,
|
3 |
+
"best_model_checkpoint": "/home/tmnam/Desktop/crosslingual-mining-for-domain-nli/output/pretraining/vihealthbert-w_mlm-ViMedNLI/lr3e-5_wr0.1_wd0.0/checkpoint-1000",
|
4 |
+
"epoch": 10.526315789473685,
|
5 |
+
"eval_steps": 1000,
|
6 |
+
"global_step": 1000,
|
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.010526315789473684,
|
13 |
+
"grad_norm": 44.032386779785156,
|
14 |
+
"learning_rate": 1e-08,
|
15 |
+
"loss": 11.5293,
|
16 |
+
"step": 1
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 10.526315789473685,
|
20 |
+
"grad_norm": 5.0217604637146,
|
21 |
+
"learning_rate": 9.999999999999999e-06,
|
22 |
+
"loss": 5.5327,
|
23 |
+
"step": 1000
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 10.526315789473685,
|
27 |
+
"eval_accuracy": 0.588971337116252,
|
28 |
+
"eval_loss": 2.7528159618377686,
|
29 |
+
"eval_runtime": 0.9763,
|
30 |
+
"eval_samples_per_second": 408.668,
|
31 |
+
"eval_steps_per_second": 13.315,
|
32 |
+
"step": 1000
|
33 |
+
}
|
34 |
+
],
|
35 |
+
"logging_steps": 1000,
|
36 |
+
"max_steps": 30000,
|
37 |
+
"num_input_tokens_seen": 0,
|
38 |
+
"num_train_epochs": 316,
|
39 |
+
"save_steps": 1000,
|
40 |
+
"total_flos": 2088029746083840.0,
|
41 |
+
"train_batch_size": 32,
|
42 |
+
"trial_name": null,
|
43 |
+
"trial_params": null
|
44 |
+
}
|
checkpoint-1000/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:60e8bf70fd8d429fbee6487cc8f4c553c61462925a541b83c0ef6e04da9e123c
|
3 |
+
size 5432
|
checkpoint-1000/vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-10000/added_tokens.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<mask>": 64000
|
3 |
+
}
|
checkpoint-10000/bpe.codes
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-10000/config.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "demdecuong/vihealthbert-base-word",
|
3 |
+
"architectures": [
|
4 |
+
"RobertaForMaskedLM"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"finetuning_task": "word-level",
|
11 |
+
"gradient_checkpointing": false,
|
12 |
+
"hidden_act": "gelu",
|
13 |
+
"hidden_dropout_prob": 0.1,
|
14 |
+
"hidden_size": 768,
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"intermediate_size": 3072,
|
17 |
+
"layer_norm_eps": 1e-05,
|
18 |
+
"max_position_embeddings": 258,
|
19 |
+
"model_type": "roberta",
|
20 |
+
"num_attention_heads": 12,
|
21 |
+
"num_hidden_layers": 12,
|
22 |
+
"pad_token_id": 1,
|
23 |
+
"position_embedding_type": "absolute",
|
24 |
+
"tokenizer_class": "PhobertTokenizer",
|
25 |
+
"torch_dtype": "float32",
|
26 |
+
"transformers_version": "4.40.2",
|
27 |
+
"type_vocab_size": 1,
|
28 |
+
"use_cache": true,
|
29 |
+
"vocab_size": 64001
|
30 |
+
}
|
checkpoint-10000/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d5eeb8905245ac97ed1e919b8c820da04604f5addc6788d6bc7e0a494c68922b
|
3 |
+
size 540279452
|
checkpoint-10000/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0e237e8afbb2e15d5e3ee41184a877fbbf7391c3415cb659515eab479003bd89
|
3 |
+
size 1080631290
|
checkpoint-10000/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fa784583a63c1ef06bf24646e41befddb28ec405a513ae587fee4d0005a2c3e0
|
3 |
+
size 14308
|
checkpoint-10000/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:16708bba77628982fefaa5f607419f239634259413dfae59721b020fe02e11e7
|
3 |
+
size 1064
|
checkpoint-10000/special_tokens_map.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"cls_token": "<s>",
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"mask_token": "<mask>",
|
6 |
+
"pad_token": "<pad>",
|
7 |
+
"sep_token": "</s>",
|
8 |
+
"unk_token": "<unk>"
|
9 |
+
}
|
checkpoint-10000/tokenizer_config.json
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "<s>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "<pad>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "</s>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"3": {
|
28 |
+
"content": "<unk>",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"64000": {
|
36 |
+
"content": "<mask>",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"bos_token": "<s>",
|
45 |
+
"clean_up_tokenization_spaces": true,
|
46 |
+
"cls_token": "<s>",
|
47 |
+
"eos_token": "</s>",
|
48 |
+
"mask_token": "<mask>",
|
49 |
+
"model_max_length": 1000000000000000019884624838656,
|
50 |
+
"pad_token": "<pad>",
|
51 |
+
"sep_token": "</s>",
|
52 |
+
"tokenizer_class": "PhobertTokenizer",
|
53 |
+
"unk_token": "<unk>"
|
54 |
+
}
|
checkpoint-10000/trainer_state.json
ADDED
@@ -0,0 +1,188 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.8255746290369508,
|
3 |
+
"best_model_checkpoint": "/home/tmnam/Desktop/crosslingual-mining-for-domain-nli/output/pretraining/vihealthbert-w_mlm-ViMedNLI/lr3e-5_wr0.1_wd0.0/checkpoint-5000",
|
4 |
+
"epoch": 105.26315789473684,
|
5 |
+
"eval_steps": 1000,
|
6 |
+
"global_step": 10000,
|
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.010526315789473684,
|
13 |
+
"grad_norm": 44.032386779785156,
|
14 |
+
"learning_rate": 1e-08,
|
15 |
+
"loss": 11.5293,
|
16 |
+
"step": 1
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 10.526315789473685,
|
20 |
+
"grad_norm": 5.0217604637146,
|
21 |
+
"learning_rate": 9.999999999999999e-06,
|
22 |
+
"loss": 5.5327,
|
23 |
+
"step": 1000
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 10.526315789473685,
|
27 |
+
"eval_accuracy": 0.588971337116252,
|
28 |
+
"eval_loss": 2.7528159618377686,
|
29 |
+
"eval_runtime": 0.9763,
|
30 |
+
"eval_samples_per_second": 408.668,
|
31 |
+
"eval_steps_per_second": 13.315,
|
32 |
+
"step": 1000
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 21.05263157894737,
|
36 |
+
"grad_norm": 3.756152629852295,
|
37 |
+
"learning_rate": 1.9999999999999998e-05,
|
38 |
+
"loss": 1.9051,
|
39 |
+
"step": 2000
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 21.05263157894737,
|
43 |
+
"eval_accuracy": 0.7783207463349623,
|
44 |
+
"eval_loss": 1.467841625213623,
|
45 |
+
"eval_runtime": 0.9735,
|
46 |
+
"eval_samples_per_second": 409.849,
|
47 |
+
"eval_steps_per_second": 13.353,
|
48 |
+
"step": 2000
|
49 |
+
},
|
50 |
+
{
|
51 |
+
"epoch": 31.57894736842105,
|
52 |
+
"grad_norm": 2.861485481262207,
|
53 |
+
"learning_rate": 3e-05,
|
54 |
+
"loss": 1.1194,
|
55 |
+
"step": 3000
|
56 |
+
},
|
57 |
+
{
|
58 |
+
"epoch": 31.57894736842105,
|
59 |
+
"eval_accuracy": 0.8019903409922435,
|
60 |
+
"eval_loss": 1.1543285846710205,
|
61 |
+
"eval_runtime": 0.9729,
|
62 |
+
"eval_samples_per_second": 410.113,
|
63 |
+
"eval_steps_per_second": 13.362,
|
64 |
+
"step": 3000
|
65 |
+
},
|
66 |
+
{
|
67 |
+
"epoch": 42.10526315789474,
|
68 |
+
"grad_norm": 3.267728805541992,
|
69 |
+
"learning_rate": 2.8888888888888888e-05,
|
70 |
+
"loss": 0.831,
|
71 |
+
"step": 4000
|
72 |
+
},
|
73 |
+
{
|
74 |
+
"epoch": 42.10526315789474,
|
75 |
+
"eval_accuracy": 0.8146666666666667,
|
76 |
+
"eval_loss": 1.097205638885498,
|
77 |
+
"eval_runtime": 0.973,
|
78 |
+
"eval_samples_per_second": 410.092,
|
79 |
+
"eval_steps_per_second": 13.361,
|
80 |
+
"step": 4000
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 52.63157894736842,
|
84 |
+
"grad_norm": 2.2974698543548584,
|
85 |
+
"learning_rate": 2.777777777777778e-05,
|
86 |
+
"loss": 0.6805,
|
87 |
+
"step": 5000
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"epoch": 52.63157894736842,
|
91 |
+
"eval_accuracy": 0.8255746290369508,
|
92 |
+
"eval_loss": 0.9968159794807434,
|
93 |
+
"eval_runtime": 0.9748,
|
94 |
+
"eval_samples_per_second": 409.295,
|
95 |
+
"eval_steps_per_second": 13.335,
|
96 |
+
"step": 5000
|
97 |
+
},
|
98 |
+
{
|
99 |
+
"epoch": 63.1578947368421,
|
100 |
+
"grad_norm": 2.481663703918457,
|
101 |
+
"learning_rate": 2.6666666666666667e-05,
|
102 |
+
"loss": 0.5937,
|
103 |
+
"step": 6000
|
104 |
+
},
|
105 |
+
{
|
106 |
+
"epoch": 63.1578947368421,
|
107 |
+
"eval_accuracy": 0.8242695979172693,
|
108 |
+
"eval_loss": 1.0310105085372925,
|
109 |
+
"eval_runtime": 0.9734,
|
110 |
+
"eval_samples_per_second": 409.886,
|
111 |
+
"eval_steps_per_second": 13.355,
|
112 |
+
"step": 6000
|
113 |
+
},
|
114 |
+
{
|
115 |
+
"epoch": 73.6842105263158,
|
116 |
+
"grad_norm": 2.574080467224121,
|
117 |
+
"learning_rate": 2.5555555555555557e-05,
|
118 |
+
"loss": 0.5258,
|
119 |
+
"step": 7000
|
120 |
+
},
|
121 |
+
{
|
122 |
+
"epoch": 73.6842105263158,
|
123 |
+
"eval_accuracy": 0.8151164452064581,
|
124 |
+
"eval_loss": 1.1044955253601074,
|
125 |
+
"eval_runtime": 0.9728,
|
126 |
+
"eval_samples_per_second": 410.166,
|
127 |
+
"eval_steps_per_second": 13.364,
|
128 |
+
"step": 7000
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 84.21052631578948,
|
132 |
+
"grad_norm": 2.3108158111572266,
|
133 |
+
"learning_rate": 2.4444444444444445e-05,
|
134 |
+
"loss": 0.4569,
|
135 |
+
"step": 8000
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 84.21052631578948,
|
139 |
+
"eval_accuracy": 0.8254382152687237,
|
140 |
+
"eval_loss": 1.0392757654190063,
|
141 |
+
"eval_runtime": 0.9756,
|
142 |
+
"eval_samples_per_second": 408.981,
|
143 |
+
"eval_steps_per_second": 13.325,
|
144 |
+
"step": 8000
|
145 |
+
},
|
146 |
+
{
|
147 |
+
"epoch": 94.73684210526316,
|
148 |
+
"grad_norm": 2.3435771465301514,
|
149 |
+
"learning_rate": 2.3333333333333336e-05,
|
150 |
+
"loss": 0.4007,
|
151 |
+
"step": 9000
|
152 |
+
},
|
153 |
+
{
|
154 |
+
"epoch": 94.73684210526316,
|
155 |
+
"eval_accuracy": 0.8216863990759458,
|
156 |
+
"eval_loss": 1.0684024095535278,
|
157 |
+
"eval_runtime": 0.9715,
|
158 |
+
"eval_samples_per_second": 410.719,
|
159 |
+
"eval_steps_per_second": 13.382,
|
160 |
+
"step": 9000
|
161 |
+
},
|
162 |
+
{
|
163 |
+
"epoch": 105.26315789473684,
|
164 |
+
"grad_norm": 4.333491325378418,
|
165 |
+
"learning_rate": 2.222222222222222e-05,
|
166 |
+
"loss": 0.3632,
|
167 |
+
"step": 10000
|
168 |
+
},
|
169 |
+
{
|
170 |
+
"epoch": 105.26315789473684,
|
171 |
+
"eval_accuracy": 0.8181686046511628,
|
172 |
+
"eval_loss": 1.122326374053955,
|
173 |
+
"eval_runtime": 0.9742,
|
174 |
+
"eval_samples_per_second": 409.576,
|
175 |
+
"eval_steps_per_second": 13.345,
|
176 |
+
"step": 10000
|
177 |
+
}
|
178 |
+
],
|
179 |
+
"logging_steps": 1000,
|
180 |
+
"max_steps": 30000,
|
181 |
+
"num_input_tokens_seen": 0,
|
182 |
+
"num_train_epochs": 316,
|
183 |
+
"save_steps": 1000,
|
184 |
+
"total_flos": 2.087108169272832e+16,
|
185 |
+
"train_batch_size": 32,
|
186 |
+
"trial_name": null,
|
187 |
+
"trial_params": null
|
188 |
+
}
|
checkpoint-10000/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:60e8bf70fd8d429fbee6487cc8f4c553c61462925a541b83c0ef6e04da9e123c
|
3 |
+
size 5432
|
checkpoint-10000/vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-11000/added_tokens.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<mask>": 64000
|
3 |
+
}
|
checkpoint-11000/bpe.codes
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-11000/config.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "demdecuong/vihealthbert-base-word",
|
3 |
+
"architectures": [
|
4 |
+
"RobertaForMaskedLM"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"finetuning_task": "word-level",
|
11 |
+
"gradient_checkpointing": false,
|
12 |
+
"hidden_act": "gelu",
|
13 |
+
"hidden_dropout_prob": 0.1,
|
14 |
+
"hidden_size": 768,
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"intermediate_size": 3072,
|
17 |
+
"layer_norm_eps": 1e-05,
|
18 |
+
"max_position_embeddings": 258,
|
19 |
+
"model_type": "roberta",
|
20 |
+
"num_attention_heads": 12,
|
21 |
+
"num_hidden_layers": 12,
|
22 |
+
"pad_token_id": 1,
|
23 |
+
"position_embedding_type": "absolute",
|
24 |
+
"tokenizer_class": "PhobertTokenizer",
|
25 |
+
"torch_dtype": "float32",
|
26 |
+
"transformers_version": "4.40.2",
|
27 |
+
"type_vocab_size": 1,
|
28 |
+
"use_cache": true,
|
29 |
+
"vocab_size": 64001
|
30 |
+
}
|
checkpoint-11000/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d39d82b8c5ab4bc2a111eb62f5afc990665a77d040d4dc7cc722c59383a06719
|
3 |
+
size 540279452
|
checkpoint-11000/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b558c060eb4395a9f6c05c72e06bd41b76ede63a13df200565f9ae6b8ee32c02
|
3 |
+
size 1080631290
|
checkpoint-11000/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0f94b819fcea5812fb5cab2f349a90f8420c83038260c610b716d6bfdd5c3c08
|
3 |
+
size 14308
|
checkpoint-11000/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d3f3cf82b6a539bfb71271613d780d1122a5eb60bc12ea263ed134affaffcf3c
|
3 |
+
size 1064
|
checkpoint-11000/special_tokens_map.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"cls_token": "<s>",
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"mask_token": "<mask>",
|
6 |
+
"pad_token": "<pad>",
|
7 |
+
"sep_token": "</s>",
|
8 |
+
"unk_token": "<unk>"
|
9 |
+
}
|
checkpoint-11000/tokenizer_config.json
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "<s>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "<pad>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "</s>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"3": {
|
28 |
+
"content": "<unk>",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"64000": {
|
36 |
+
"content": "<mask>",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"bos_token": "<s>",
|
45 |
+
"clean_up_tokenization_spaces": true,
|
46 |
+
"cls_token": "<s>",
|
47 |
+
"eos_token": "</s>",
|
48 |
+
"mask_token": "<mask>",
|
49 |
+
"model_max_length": 1000000000000000019884624838656,
|
50 |
+
"pad_token": "<pad>",
|
51 |
+
"sep_token": "</s>",
|
52 |
+
"tokenizer_class": "PhobertTokenizer",
|
53 |
+
"unk_token": "<unk>"
|
54 |
+
}
|
checkpoint-11000/trainer_state.json
ADDED
@@ -0,0 +1,204 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.8255746290369508,
|
3 |
+
"best_model_checkpoint": "/home/tmnam/Desktop/crosslingual-mining-for-domain-nli/output/pretraining/vihealthbert-w_mlm-ViMedNLI/lr3e-5_wr0.1_wd0.0/checkpoint-5000",
|
4 |
+
"epoch": 115.78947368421052,
|
5 |
+
"eval_steps": 1000,
|
6 |
+
"global_step": 11000,
|
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.010526315789473684,
|
13 |
+
"grad_norm": 44.032386779785156,
|
14 |
+
"learning_rate": 1e-08,
|
15 |
+
"loss": 11.5293,
|
16 |
+
"step": 1
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 10.526315789473685,
|
20 |
+
"grad_norm": 5.0217604637146,
|
21 |
+
"learning_rate": 9.999999999999999e-06,
|
22 |
+
"loss": 5.5327,
|
23 |
+
"step": 1000
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 10.526315789473685,
|
27 |
+
"eval_accuracy": 0.588971337116252,
|
28 |
+
"eval_loss": 2.7528159618377686,
|
29 |
+
"eval_runtime": 0.9763,
|
30 |
+
"eval_samples_per_second": 408.668,
|
31 |
+
"eval_steps_per_second": 13.315,
|
32 |
+
"step": 1000
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 21.05263157894737,
|
36 |
+
"grad_norm": 3.756152629852295,
|
37 |
+
"learning_rate": 1.9999999999999998e-05,
|
38 |
+
"loss": 1.9051,
|
39 |
+
"step": 2000
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 21.05263157894737,
|
43 |
+
"eval_accuracy": 0.7783207463349623,
|
44 |
+
"eval_loss": 1.467841625213623,
|
45 |
+
"eval_runtime": 0.9735,
|
46 |
+
"eval_samples_per_second": 409.849,
|
47 |
+
"eval_steps_per_second": 13.353,
|
48 |
+
"step": 2000
|
49 |
+
},
|
50 |
+
{
|
51 |
+
"epoch": 31.57894736842105,
|
52 |
+
"grad_norm": 2.861485481262207,
|
53 |
+
"learning_rate": 3e-05,
|
54 |
+
"loss": 1.1194,
|
55 |
+
"step": 3000
|
56 |
+
},
|
57 |
+
{
|
58 |
+
"epoch": 31.57894736842105,
|
59 |
+
"eval_accuracy": 0.8019903409922435,
|
60 |
+
"eval_loss": 1.1543285846710205,
|
61 |
+
"eval_runtime": 0.9729,
|
62 |
+
"eval_samples_per_second": 410.113,
|
63 |
+
"eval_steps_per_second": 13.362,
|
64 |
+
"step": 3000
|
65 |
+
},
|
66 |
+
{
|
67 |
+
"epoch": 42.10526315789474,
|
68 |
+
"grad_norm": 3.267728805541992,
|
69 |
+
"learning_rate": 2.8888888888888888e-05,
|
70 |
+
"loss": 0.831,
|
71 |
+
"step": 4000
|
72 |
+
},
|
73 |
+
{
|
74 |
+
"epoch": 42.10526315789474,
|
75 |
+
"eval_accuracy": 0.8146666666666667,
|
76 |
+
"eval_loss": 1.097205638885498,
|
77 |
+
"eval_runtime": 0.973,
|
78 |
+
"eval_samples_per_second": 410.092,
|
79 |
+
"eval_steps_per_second": 13.361,
|
80 |
+
"step": 4000
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 52.63157894736842,
|
84 |
+
"grad_norm": 2.2974698543548584,
|
85 |
+
"learning_rate": 2.777777777777778e-05,
|
86 |
+
"loss": 0.6805,
|
87 |
+
"step": 5000
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"epoch": 52.63157894736842,
|
91 |
+
"eval_accuracy": 0.8255746290369508,
|
92 |
+
"eval_loss": 0.9968159794807434,
|
93 |
+
"eval_runtime": 0.9748,
|
94 |
+
"eval_samples_per_second": 409.295,
|
95 |
+
"eval_steps_per_second": 13.335,
|
96 |
+
"step": 5000
|
97 |
+
},
|
98 |
+
{
|
99 |
+
"epoch": 63.1578947368421,
|
100 |
+
"grad_norm": 2.481663703918457,
|
101 |
+
"learning_rate": 2.6666666666666667e-05,
|
102 |
+
"loss": 0.5937,
|
103 |
+
"step": 6000
|
104 |
+
},
|
105 |
+
{
|
106 |
+
"epoch": 63.1578947368421,
|
107 |
+
"eval_accuracy": 0.8242695979172693,
|
108 |
+
"eval_loss": 1.0310105085372925,
|
109 |
+
"eval_runtime": 0.9734,
|
110 |
+
"eval_samples_per_second": 409.886,
|
111 |
+
"eval_steps_per_second": 13.355,
|
112 |
+
"step": 6000
|
113 |
+
},
|
114 |
+
{
|
115 |
+
"epoch": 73.6842105263158,
|
116 |
+
"grad_norm": 2.574080467224121,
|
117 |
+
"learning_rate": 2.5555555555555557e-05,
|
118 |
+
"loss": 0.5258,
|
119 |
+
"step": 7000
|
120 |
+
},
|
121 |
+
{
|
122 |
+
"epoch": 73.6842105263158,
|
123 |
+
"eval_accuracy": 0.8151164452064581,
|
124 |
+
"eval_loss": 1.1044955253601074,
|
125 |
+
"eval_runtime": 0.9728,
|
126 |
+
"eval_samples_per_second": 410.166,
|
127 |
+
"eval_steps_per_second": 13.364,
|
128 |
+
"step": 7000
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 84.21052631578948,
|
132 |
+
"grad_norm": 2.3108158111572266,
|
133 |
+
"learning_rate": 2.4444444444444445e-05,
|
134 |
+
"loss": 0.4569,
|
135 |
+
"step": 8000
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 84.21052631578948,
|
139 |
+
"eval_accuracy": 0.8254382152687237,
|
140 |
+
"eval_loss": 1.0392757654190063,
|
141 |
+
"eval_runtime": 0.9756,
|
142 |
+
"eval_samples_per_second": 408.981,
|
143 |
+
"eval_steps_per_second": 13.325,
|
144 |
+
"step": 8000
|
145 |
+
},
|
146 |
+
{
|
147 |
+
"epoch": 94.73684210526316,
|
148 |
+
"grad_norm": 2.3435771465301514,
|
149 |
+
"learning_rate": 2.3333333333333336e-05,
|
150 |
+
"loss": 0.4007,
|
151 |
+
"step": 9000
|
152 |
+
},
|
153 |
+
{
|
154 |
+
"epoch": 94.73684210526316,
|
155 |
+
"eval_accuracy": 0.8216863990759458,
|
156 |
+
"eval_loss": 1.0684024095535278,
|
157 |
+
"eval_runtime": 0.9715,
|
158 |
+
"eval_samples_per_second": 410.719,
|
159 |
+
"eval_steps_per_second": 13.382,
|
160 |
+
"step": 9000
|
161 |
+
},
|
162 |
+
{
|
163 |
+
"epoch": 105.26315789473684,
|
164 |
+
"grad_norm": 4.333491325378418,
|
165 |
+
"learning_rate": 2.222222222222222e-05,
|
166 |
+
"loss": 0.3632,
|
167 |
+
"step": 10000
|
168 |
+
},
|
169 |
+
{
|
170 |
+
"epoch": 105.26315789473684,
|
171 |
+
"eval_accuracy": 0.8181686046511628,
|
172 |
+
"eval_loss": 1.122326374053955,
|
173 |
+
"eval_runtime": 0.9742,
|
174 |
+
"eval_samples_per_second": 409.576,
|
175 |
+
"eval_steps_per_second": 13.345,
|
176 |
+
"step": 10000
|
177 |
+
},
|
178 |
+
{
|
179 |
+
"epoch": 115.78947368421052,
|
180 |
+
"grad_norm": 2.059063196182251,
|
181 |
+
"learning_rate": 2.111111111111111e-05,
|
182 |
+
"loss": 0.3343,
|
183 |
+
"step": 11000
|
184 |
+
},
|
185 |
+
{
|
186 |
+
"epoch": 115.78947368421052,
|
187 |
+
"eval_accuracy": 0.8230374174614821,
|
188 |
+
"eval_loss": 1.1047978401184082,
|
189 |
+
"eval_runtime": 0.9722,
|
190 |
+
"eval_samples_per_second": 410.402,
|
191 |
+
"eval_steps_per_second": 13.371,
|
192 |
+
"step": 11000
|
193 |
+
}
|
194 |
+
],
|
195 |
+
"logging_steps": 1000,
|
196 |
+
"max_steps": 30000,
|
197 |
+
"num_input_tokens_seen": 0,
|
198 |
+
"num_train_epochs": 316,
|
199 |
+
"save_steps": 1000,
|
200 |
+
"total_flos": 2.295911143881216e+16,
|
201 |
+
"train_batch_size": 32,
|
202 |
+
"trial_name": null,
|
203 |
+
"trial_params": null
|
204 |
+
}
|
checkpoint-11000/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:60e8bf70fd8d429fbee6487cc8f4c553c61462925a541b83c0ef6e04da9e123c
|
3 |
+
size 5432
|
checkpoint-11000/vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-12000/added_tokens.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<mask>": 64000
|
3 |
+
}
|
checkpoint-12000/bpe.codes
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-12000/config.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "demdecuong/vihealthbert-base-word",
|
3 |
+
"architectures": [
|
4 |
+
"RobertaForMaskedLM"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"finetuning_task": "word-level",
|
11 |
+
"gradient_checkpointing": false,
|
12 |
+
"hidden_act": "gelu",
|
13 |
+
"hidden_dropout_prob": 0.1,
|
14 |
+
"hidden_size": 768,
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"intermediate_size": 3072,
|
17 |
+
"layer_norm_eps": 1e-05,
|
18 |
+
"max_position_embeddings": 258,
|
19 |
+
"model_type": "roberta",
|
20 |
+
"num_attention_heads": 12,
|
21 |
+
"num_hidden_layers": 12,
|
22 |
+
"pad_token_id": 1,
|
23 |
+
"position_embedding_type": "absolute",
|
24 |
+
"tokenizer_class": "PhobertTokenizer",
|
25 |
+
"torch_dtype": "float32",
|
26 |
+
"transformers_version": "4.40.2",
|
27 |
+
"type_vocab_size": 1,
|
28 |
+
"use_cache": true,
|
29 |
+
"vocab_size": 64001
|
30 |
+
}
|
checkpoint-12000/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a49de740a03b7fd359a7014f1848dc4c35e92de380396a6417a5b922083245cf
|
3 |
+
size 540279452
|
checkpoint-12000/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2fbe23771933f88548e6203c5cbfc08c180daa9513a29aa097818c33d525913c
|
3 |
+
size 1080631290
|
checkpoint-12000/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b10a5f96c9da18eef368331f46689d8b06a095af3651b031974c83a29a3eea53
|
3 |
+
size 14308
|
checkpoint-12000/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f00858c4bde6fa49429f0c635a130d8a10928b5995514184697fc31d699936bf
|
3 |
+
size 1064
|
checkpoint-12000/special_tokens_map.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"cls_token": "<s>",
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"mask_token": "<mask>",
|
6 |
+
"pad_token": "<pad>",
|
7 |
+
"sep_token": "</s>",
|
8 |
+
"unk_token": "<unk>"
|
9 |
+
}
|
checkpoint-12000/tokenizer_config.json
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "<s>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "<pad>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "</s>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"3": {
|
28 |
+
"content": "<unk>",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"64000": {
|
36 |
+
"content": "<mask>",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"bos_token": "<s>",
|
45 |
+
"clean_up_tokenization_spaces": true,
|
46 |
+
"cls_token": "<s>",
|
47 |
+
"eos_token": "</s>",
|
48 |
+
"mask_token": "<mask>",
|
49 |
+
"model_max_length": 1000000000000000019884624838656,
|
50 |
+
"pad_token": "<pad>",
|
51 |
+
"sep_token": "</s>",
|
52 |
+
"tokenizer_class": "PhobertTokenizer",
|
53 |
+
"unk_token": "<unk>"
|
54 |
+
}
|