Yurii Paniv
commited on
Commit
•
a7c8bfb
1
Parent(s):
7aaa871
Initial model release
Browse files- README.md +58 -0
- config.json +28 -0
- pytorch_model.bin +3 -0
- rng_state.pth +3 -0
- runs/Jun01_22-23-16_robinhad-pc/1654111398.2056837/events.out.tfevents.1654111398.robinhad-pc.1294.1 +3 -0
- runs/Jun01_22-23-16_robinhad-pc/events.out.tfevents.1654111398.robinhad-pc.1294.0 +3 -0
- scheduler.pt +3 -0
- sentencepiece.bpe.model +3 -0
- special_tokens_map.json +1 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
- trainer_state.json +106 -0
- training_args.bin +3 -0
README.md
CHANGED
@@ -1,3 +1,61 @@
|
|
1 |
---
|
2 |
license: mit
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: mit
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
model-index:
|
6 |
+
- name: results
|
7 |
+
results: []
|
8 |
---
|
9 |
+
|
10 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
11 |
+
should probably proofread and complete it, then remove this comment. -->
|
12 |
+
|
13 |
+
# results
|
14 |
+
|
15 |
+
This model is a fine-tuned version of [ukr-models/xlm-roberta-base-uk](https://huggingface.co/ukr-models/xlm-roberta-base-uk) on the None dataset.
|
16 |
+
It achieves the following results on the evaluation set:
|
17 |
+
- Loss: 1.4778
|
18 |
+
|
19 |
+
## Model description
|
20 |
+
|
21 |
+
More information needed
|
22 |
+
|
23 |
+
## Intended uses & limitations
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Training and evaluation data
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training procedure
|
32 |
+
|
33 |
+
### Training hyperparameters
|
34 |
+
|
35 |
+
The following hyperparameters were used during training:
|
36 |
+
- learning_rate: 2e-05
|
37 |
+
- train_batch_size: 16
|
38 |
+
- eval_batch_size: 16
|
39 |
+
- seed: 42
|
40 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
41 |
+
- lr_scheduler_type: linear
|
42 |
+
- num_epochs: 6
|
43 |
+
|
44 |
+
### Training results
|
45 |
+
|
46 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
47 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
48 |
+
| 2.4526 | 1.0 | 650 | 1.3631 |
|
49 |
+
| 1.3317 | 2.0 | 1300 | 1.2229 |
|
50 |
+
| 1.0693 | 3.0 | 1950 | 1.2184 |
|
51 |
+
| 0.6851 | 4.0 | 2600 | 1.3171 |
|
52 |
+
| 0.5594 | 5.0 | 3250 | 1.3893 |
|
53 |
+
| 0.4954 | 6.0 | 3900 | 1.4778 |
|
54 |
+
|
55 |
+
|
56 |
+
### Framework versions
|
57 |
+
|
58 |
+
- Transformers 4.19.2
|
59 |
+
- Pytorch 1.11.0
|
60 |
+
- Datasets 2.2.2
|
61 |
+
- Tokenizers 0.12.1
|
config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "ukr-models/xlm-roberta-base-uk",
|
3 |
+
"architectures": [
|
4 |
+
"XLMRobertaForQuestionAnswering"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 3072,
|
15 |
+
"layer_norm_eps": 1e-05,
|
16 |
+
"max_position_embeddings": 514,
|
17 |
+
"model_type": "xlm-roberta",
|
18 |
+
"num_attention_heads": 12,
|
19 |
+
"num_hidden_layers": 12,
|
20 |
+
"output_past": true,
|
21 |
+
"pad_token_id": 1,
|
22 |
+
"position_embedding_type": "absolute",
|
23 |
+
"torch_dtype": "float32",
|
24 |
+
"transformers_version": "4.19.2",
|
25 |
+
"type_vocab_size": 1,
|
26 |
+
"use_cache": true,
|
27 |
+
"vocab_size": 31274
|
28 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:32c0d00b7b006c61360316f26496f32e3da70fffa6ca29d6ff74b703eae75f15
|
3 |
+
size 437957041
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d8aa19cb4bb4c090199aa04e6075b0e5f8b6b423132c971304fbd5a579cc022e
|
3 |
+
size 14503
|
runs/Jun01_22-23-16_robinhad-pc/1654111398.2056837/events.out.tfevents.1654111398.robinhad-pc.1294.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:334d23dec731faef2dc603ef4642f4741e2f33451219f87d684fcf7174998cd8
|
3 |
+
size 5138
|
runs/Jun01_22-23-16_robinhad-pc/events.out.tfevents.1654111398.robinhad-pc.1294.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:607bba7dbf9bb9d59789e8c1c9834c31fd3a4524cdf8411a968c355f5ad163ef
|
3 |
+
size 6642
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3bfa595f7e4790ae011bb385a1f9920f912c53e812fdd8eb4dc63347457849ad
|
3 |
+
size 623
|
sentencepiece.bpe.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e60d59d103a3650d675c36c75b3a9c4b47e2c494eeea699f21ccd6e055f78feb
|
3 |
+
size 854151
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "</s>", "pad_token": "<pad>", "cls_token": "<s>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true}}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": "<s>", "eos_token": "</s>", "sep_token": "</s>", "cls_token": "<s>", "unk_token": "<unk>", "pad_token": "<pad>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "sp_model_kwargs": {}, "extra_ids": 0, "special_tokens_map_file": "./xlm-roberta-base-uk/special_tokens_map.json", "name_or_path": "ukr-models/xlm-roberta-base-uk", "tokenizer_class": "XLMRobertaTokenizer"}
|
trainer_state.json
ADDED
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 6.0,
|
5 |
+
"global_step": 3900,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 0.77,
|
12 |
+
"learning_rate": 1.7435897435897438e-05,
|
13 |
+
"loss": 2.4526,
|
14 |
+
"step": 500
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 1.0,
|
18 |
+
"eval_loss": 1.363105058670044,
|
19 |
+
"eval_runtime": 2.6865,
|
20 |
+
"eval_samples_per_second": 203.236,
|
21 |
+
"eval_steps_per_second": 13.028,
|
22 |
+
"step": 650
|
23 |
+
},
|
24 |
+
{
|
25 |
+
"epoch": 1.54,
|
26 |
+
"learning_rate": 1.4871794871794874e-05,
|
27 |
+
"loss": 1.3317,
|
28 |
+
"step": 1000
|
29 |
+
},
|
30 |
+
{
|
31 |
+
"epoch": 2.0,
|
32 |
+
"eval_loss": 1.222852349281311,
|
33 |
+
"eval_runtime": 2.6807,
|
34 |
+
"eval_samples_per_second": 203.678,
|
35 |
+
"eval_steps_per_second": 13.056,
|
36 |
+
"step": 1300
|
37 |
+
},
|
38 |
+
{
|
39 |
+
"epoch": 2.31,
|
40 |
+
"learning_rate": 1.230769230769231e-05,
|
41 |
+
"loss": 1.0693,
|
42 |
+
"step": 1500
|
43 |
+
},
|
44 |
+
{
|
45 |
+
"epoch": 3.0,
|
46 |
+
"eval_loss": 1.2184115648269653,
|
47 |
+
"eval_runtime": 2.7363,
|
48 |
+
"eval_samples_per_second": 199.542,
|
49 |
+
"eval_steps_per_second": 12.791,
|
50 |
+
"step": 1950
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 3.08,
|
54 |
+
"learning_rate": 9.743589743589744e-06,
|
55 |
+
"loss": 0.8692,
|
56 |
+
"step": 2000
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 3.85,
|
60 |
+
"learning_rate": 7.17948717948718e-06,
|
61 |
+
"loss": 0.6851,
|
62 |
+
"step": 2500
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 4.0,
|
66 |
+
"eval_loss": 1.317087173461914,
|
67 |
+
"eval_runtime": 2.4998,
|
68 |
+
"eval_samples_per_second": 218.418,
|
69 |
+
"eval_steps_per_second": 14.001,
|
70 |
+
"step": 2600
|
71 |
+
},
|
72 |
+
{
|
73 |
+
"epoch": 4.62,
|
74 |
+
"learning_rate": 4.615384615384616e-06,
|
75 |
+
"loss": 0.5594,
|
76 |
+
"step": 3000
|
77 |
+
},
|
78 |
+
{
|
79 |
+
"epoch": 5.0,
|
80 |
+
"eval_loss": 1.3892898559570312,
|
81 |
+
"eval_runtime": 2.5134,
|
82 |
+
"eval_samples_per_second": 217.235,
|
83 |
+
"eval_steps_per_second": 13.925,
|
84 |
+
"step": 3250
|
85 |
+
},
|
86 |
+
{
|
87 |
+
"epoch": 5.38,
|
88 |
+
"learning_rate": 2.0512820512820513e-06,
|
89 |
+
"loss": 0.4954,
|
90 |
+
"step": 3500
|
91 |
+
},
|
92 |
+
{
|
93 |
+
"epoch": 6.0,
|
94 |
+
"eval_loss": 1.4778178930282593,
|
95 |
+
"eval_runtime": 2.7344,
|
96 |
+
"eval_samples_per_second": 199.677,
|
97 |
+
"eval_steps_per_second": 12.8,
|
98 |
+
"step": 3900
|
99 |
+
}
|
100 |
+
],
|
101 |
+
"max_steps": 3900,
|
102 |
+
"num_train_epochs": 6,
|
103 |
+
"total_flos": 1.2212226519570432e+16,
|
104 |
+
"trial_name": null,
|
105 |
+
"trial_params": null
|
106 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0d85c00a0cfae9edcf9e4d58debf8c3d736a3a24527f3b51cd2c677c002605a0
|
3 |
+
size 3183
|