DmitryYarov
commited on
Commit
•
cb062dc
1
Parent(s):
3b5a5c2
Upload folder using huggingface_hub
Browse files- README.md +64 -3
- all_results.json +16 -0
- checkpoint-500/config.json +41 -0
- checkpoint-500/generation_config.json +7 -0
- checkpoint-500/merges.txt +0 -0
- checkpoint-500/model.safetensors +3 -0
- checkpoint-500/optimizer.pt +3 -0
- checkpoint-500/rng_state.pth +3 -0
- checkpoint-500/scheduler.pt +3 -0
- checkpoint-500/special_tokens_map.json +37 -0
- checkpoint-500/tokenizer.json +0 -0
- checkpoint-500/tokenizer_config.json +58 -0
- checkpoint-500/trainer_state.json +49 -0
- checkpoint-500/training_args.bin +3 -0
- checkpoint-500/vocab.json +0 -0
- checkpoint-650/config.json +41 -0
- checkpoint-650/generation_config.json +7 -0
- checkpoint-650/merges.txt +0 -0
- checkpoint-650/model.safetensors +3 -0
- checkpoint-650/optimizer.pt +3 -0
- checkpoint-650/rng_state.pth +3 -0
- checkpoint-650/scheduler.pt +3 -0
- checkpoint-650/special_tokens_map.json +37 -0
- checkpoint-650/tokenizer.json +0 -0
- checkpoint-650/tokenizer_config.json +58 -0
- checkpoint-650/trainer_state.json +49 -0
- checkpoint-650/training_args.bin +3 -0
- checkpoint-650/vocab.json +0 -0
- config.json +1 -1
- eval_results.json +10 -0
- generation_config.json +7 -0
- merges.txt +0 -0
- model.safetensors +3 -0
- runs/Oct12_14-19-37_41aadce272b2/events.out.tfevents.1728742796.41aadce272b2.4791.0 +3 -0
- runs/Oct12_14-19-37_41aadce272b2/events.out.tfevents.1728744248.41aadce272b2.4791.1 +3 -0
- special_tokens_map.json +37 -0
- tokenizer.json +0 -0
- tokenizer_config.json +58 -0
- train_results.json +9 -0
- trainer_state.json +58 -0
- training_args.bin +3 -0
- vocab.json +0 -0
README.md
CHANGED
@@ -1,3 +1,64 @@
|
|
1 |
-
---
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
base_model: sberbank-ai/rugpt3small_based_on_gpt2
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
model-index:
|
9 |
+
- name: essays
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# essays
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [sberbank-ai/rugpt3small_based_on_gpt2](https://huggingface.co/sberbank-ai/rugpt3small_based_on_gpt2) on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 3.1957
|
21 |
+
- Accuracy: 0.3682
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 5e-05
|
41 |
+
- train_batch_size: 2
|
42 |
+
- eval_batch_size: 8
|
43 |
+
- seed: 42
|
44 |
+
- gradient_accumulation_steps: 4
|
45 |
+
- total_train_batch_size: 8
|
46 |
+
- optimizer: Use adafactor and the args are:
|
47 |
+
No additional optimizer arguments
|
48 |
+
- lr_scheduler_type: linear
|
49 |
+
- num_epochs: 10.0
|
50 |
+
- mixed_precision_training: Native AMP
|
51 |
+
|
52 |
+
### Training results
|
53 |
+
|
54 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
55 |
+
|:-------------:|:------:|:----:|:---------------:|:--------:|
|
56 |
+
| 2.7233 | 7.6046 | 500 | 3.1864 | 0.3682 |
|
57 |
+
|
58 |
+
|
59 |
+
### Framework versions
|
60 |
+
|
61 |
+
- Transformers 4.46.0.dev0
|
62 |
+
- Pytorch 2.4.1+cu121
|
63 |
+
- Datasets 3.0.1
|
64 |
+
- Tokenizers 0.20.1
|
all_results.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 9.885931558935361,
|
3 |
+
"eval_accuracy": 0.36815393801226726,
|
4 |
+
"eval_loss": 3.1956684589385986,
|
5 |
+
"eval_runtime": 1.526,
|
6 |
+
"eval_samples": 18,
|
7 |
+
"eval_samples_per_second": 11.796,
|
8 |
+
"eval_steps_per_second": 1.966,
|
9 |
+
"perplexity": 24.42649634599656,
|
10 |
+
"total_flos": 5425467752448000.0,
|
11 |
+
"train_loss": 2.6658438814603365,
|
12 |
+
"train_runtime": 1438.1403,
|
13 |
+
"train_samples": 525,
|
14 |
+
"train_samples_per_second": 3.651,
|
15 |
+
"train_steps_per_second": 0.452
|
16 |
+
}
|
checkpoint-500/config.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "sberbank-ai/rugpt3small_based_on_gpt2",
|
3 |
+
"activation_function": "gelu_new",
|
4 |
+
"architectures": [
|
5 |
+
"GPT2LMHeadModel"
|
6 |
+
],
|
7 |
+
"attn_pdrop": 0.1,
|
8 |
+
"bos_token_id": 1,
|
9 |
+
"embd_pdrop": 0.1,
|
10 |
+
"eos_token_id": 2,
|
11 |
+
"gradient_checkpointing": false,
|
12 |
+
"id2label": {
|
13 |
+
"0": "LABEL_0"
|
14 |
+
},
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"label2id": {
|
17 |
+
"LABEL_0": 0
|
18 |
+
},
|
19 |
+
"layer_norm_epsilon": 1e-05,
|
20 |
+
"model_type": "gpt2",
|
21 |
+
"n_ctx": 2048,
|
22 |
+
"n_embd": 768,
|
23 |
+
"n_head": 12,
|
24 |
+
"n_inner": null,
|
25 |
+
"n_layer": 12,
|
26 |
+
"n_positions": 2048,
|
27 |
+
"pad_token_id": 0,
|
28 |
+
"reorder_and_upcast_attn": false,
|
29 |
+
"resid_pdrop": 0.1,
|
30 |
+
"scale_attn_by_inverse_layer_idx": false,
|
31 |
+
"scale_attn_weights": true,
|
32 |
+
"summary_activation": null,
|
33 |
+
"summary_first_dropout": 0.1,
|
34 |
+
"summary_proj_to_labels": true,
|
35 |
+
"summary_type": "cls_index",
|
36 |
+
"summary_use_proj": true,
|
37 |
+
"torch_dtype": "float32",
|
38 |
+
"transformers_version": "4.46.0.dev0",
|
39 |
+
"use_cache": true,
|
40 |
+
"vocab_size": 50264
|
41 |
+
}
|
checkpoint-500/generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"pad_token_id": 0,
|
6 |
+
"transformers_version": "4.46.0.dev0"
|
7 |
+
}
|
checkpoint-500/merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-500/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:36439f6ac61e6ad347b17e5b07a1267888b2a39eb15c88670243a56611b0c236
|
3 |
+
size 500941440
|
checkpoint-500/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b152e3d3541b88764dd84829cfcfc1616d4d71389500ed6ef50ff4de50a4fc63
|
3 |
+
size 1389114
|
checkpoint-500/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:974408ba8400eab5c2f3d19688d0ab0e71304437f163e636273a9dac87dc02d8
|
3 |
+
size 14244
|
checkpoint-500/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:922d8f663eb4aa90a6f32edb8fecda00e9726b3777cd0c8f32b3d43e5ed776f0
|
3 |
+
size 1064
|
checkpoint-500/special_tokens_map.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": true,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "</s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": true,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"mask_token": {
|
17 |
+
"content": "<mask>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"pad_token": {
|
24 |
+
"content": "<pad>",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": true,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"unk_token": {
|
31 |
+
"content": "<unk>",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": true,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
}
|
37 |
+
}
|
checkpoint-500/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-500/tokenizer_config.json
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": false,
|
3 |
+
"add_prefix_space": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<pad>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": true,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<s>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": true,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "</s>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": true,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
},
|
29 |
+
"3": {
|
30 |
+
"content": "<unk>",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": true,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false,
|
35 |
+
"special": true
|
36 |
+
},
|
37 |
+
"4": {
|
38 |
+
"content": "<mask>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false,
|
43 |
+
"special": true
|
44 |
+
}
|
45 |
+
},
|
46 |
+
"bos_token": "<s>",
|
47 |
+
"clean_up_tokenization_spaces": true,
|
48 |
+
"eos_token": "</s>",
|
49 |
+
"errors": "replace",
|
50 |
+
"mask_token": "<mask>",
|
51 |
+
"model_max_length": 2048,
|
52 |
+
"pad_token": "<pad>",
|
53 |
+
"padding_side": "left",
|
54 |
+
"tokenizer_class": "GPT2Tokenizer",
|
55 |
+
"truncation_side": "left",
|
56 |
+
"trust_remote_code": false,
|
57 |
+
"unk_token": "<unk>"
|
58 |
+
}
|
checkpoint-500/trainer_state.json
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 7.604562737642586,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 500,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 7.604562737642586,
|
13 |
+
"grad_norm": 0.9130080342292786,
|
14 |
+
"learning_rate": 1.153846153846154e-05,
|
15 |
+
"loss": 2.7233,
|
16 |
+
"step": 500
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 7.604562737642586,
|
20 |
+
"eval_accuracy": 0.36823535797644247,
|
21 |
+
"eval_loss": 3.186351776123047,
|
22 |
+
"eval_runtime": 1.7733,
|
23 |
+
"eval_samples_per_second": 10.151,
|
24 |
+
"eval_steps_per_second": 1.692,
|
25 |
+
"step": 500
|
26 |
+
}
|
27 |
+
],
|
28 |
+
"logging_steps": 500,
|
29 |
+
"max_steps": 650,
|
30 |
+
"num_input_tokens_seen": 0,
|
31 |
+
"num_train_epochs": 10,
|
32 |
+
"save_steps": 500,
|
33 |
+
"stateful_callbacks": {
|
34 |
+
"TrainerControl": {
|
35 |
+
"args": {
|
36 |
+
"should_epoch_stop": false,
|
37 |
+
"should_evaluate": false,
|
38 |
+
"should_log": false,
|
39 |
+
"should_save": true,
|
40 |
+
"should_training_stop": false
|
41 |
+
},
|
42 |
+
"attributes": {}
|
43 |
+
}
|
44 |
+
},
|
45 |
+
"total_flos": 4173356335104000.0,
|
46 |
+
"train_batch_size": 2,
|
47 |
+
"trial_name": null,
|
48 |
+
"trial_params": null
|
49 |
+
}
|
checkpoint-500/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:793c4b5498e74226b29b40d62221b4f93eec7414233adcb80bf1ed77253f5df6
|
3 |
+
size 5176
|
checkpoint-500/vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-650/config.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "sberbank-ai/rugpt3small_based_on_gpt2",
|
3 |
+
"activation_function": "gelu_new",
|
4 |
+
"architectures": [
|
5 |
+
"GPT2LMHeadModel"
|
6 |
+
],
|
7 |
+
"attn_pdrop": 0.1,
|
8 |
+
"bos_token_id": 1,
|
9 |
+
"embd_pdrop": 0.1,
|
10 |
+
"eos_token_id": 2,
|
11 |
+
"gradient_checkpointing": false,
|
12 |
+
"id2label": {
|
13 |
+
"0": "LABEL_0"
|
14 |
+
},
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"label2id": {
|
17 |
+
"LABEL_0": 0
|
18 |
+
},
|
19 |
+
"layer_norm_epsilon": 1e-05,
|
20 |
+
"model_type": "gpt2",
|
21 |
+
"n_ctx": 2048,
|
22 |
+
"n_embd": 768,
|
23 |
+
"n_head": 12,
|
24 |
+
"n_inner": null,
|
25 |
+
"n_layer": 12,
|
26 |
+
"n_positions": 2048,
|
27 |
+
"pad_token_id": 0,
|
28 |
+
"reorder_and_upcast_attn": false,
|
29 |
+
"resid_pdrop": 0.1,
|
30 |
+
"scale_attn_by_inverse_layer_idx": false,
|
31 |
+
"scale_attn_weights": true,
|
32 |
+
"summary_activation": null,
|
33 |
+
"summary_first_dropout": 0.1,
|
34 |
+
"summary_proj_to_labels": true,
|
35 |
+
"summary_type": "cls_index",
|
36 |
+
"summary_use_proj": true,
|
37 |
+
"torch_dtype": "float32",
|
38 |
+
"transformers_version": "4.46.0.dev0",
|
39 |
+
"use_cache": true,
|
40 |
+
"vocab_size": 50264
|
41 |
+
}
|
checkpoint-650/generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"pad_token_id": 0,
|
6 |
+
"transformers_version": "4.46.0.dev0"
|
7 |
+
}
|
checkpoint-650/merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-650/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:15410de22ccdc3ed30629f9b3e4915d0b6830253ff7e6ac0f134586bf4b098f7
|
3 |
+
size 500941440
|
checkpoint-650/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:55e37d6ab610abdbb0f3d5dd56aca7be1993f8fbe509dacaade1a1f265cf7213
|
3 |
+
size 1389114
|
checkpoint-650/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:06b430cd8a2e971e8a7d2d05b76fdd56d6b664a929c9f82cfdbe8476a0b1e380
|
3 |
+
size 14244
|
checkpoint-650/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bf4359c635cd7196775664ab2bcd02e8a77e5b4feaf5c206bb9d3e62ad38d8ab
|
3 |
+
size 1064
|
checkpoint-650/special_tokens_map.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": true,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "</s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": true,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"mask_token": {
|
17 |
+
"content": "<mask>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"pad_token": {
|
24 |
+
"content": "<pad>",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": true,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"unk_token": {
|
31 |
+
"content": "<unk>",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": true,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
}
|
37 |
+
}
|
checkpoint-650/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-650/tokenizer_config.json
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": false,
|
3 |
+
"add_prefix_space": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<pad>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": true,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<s>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": true,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "</s>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": true,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
},
|
29 |
+
"3": {
|
30 |
+
"content": "<unk>",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": true,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false,
|
35 |
+
"special": true
|
36 |
+
},
|
37 |
+
"4": {
|
38 |
+
"content": "<mask>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false,
|
43 |
+
"special": true
|
44 |
+
}
|
45 |
+
},
|
46 |
+
"bos_token": "<s>",
|
47 |
+
"clean_up_tokenization_spaces": true,
|
48 |
+
"eos_token": "</s>",
|
49 |
+
"errors": "replace",
|
50 |
+
"mask_token": "<mask>",
|
51 |
+
"model_max_length": 2048,
|
52 |
+
"pad_token": "<pad>",
|
53 |
+
"padding_side": "left",
|
54 |
+
"tokenizer_class": "GPT2Tokenizer",
|
55 |
+
"truncation_side": "left",
|
56 |
+
"trust_remote_code": false,
|
57 |
+
"unk_token": "<unk>"
|
58 |
+
}
|
checkpoint-650/trainer_state.json
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 9.885931558935361,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 650,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 7.604562737642586,
|
13 |
+
"grad_norm": 0.9130080342292786,
|
14 |
+
"learning_rate": 1.153846153846154e-05,
|
15 |
+
"loss": 2.7233,
|
16 |
+
"step": 500
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 7.604562737642586,
|
20 |
+
"eval_accuracy": 0.36823535797644247,
|
21 |
+
"eval_loss": 3.186351776123047,
|
22 |
+
"eval_runtime": 1.7733,
|
23 |
+
"eval_samples_per_second": 10.151,
|
24 |
+
"eval_steps_per_second": 1.692,
|
25 |
+
"step": 500
|
26 |
+
}
|
27 |
+
],
|
28 |
+
"logging_steps": 500,
|
29 |
+
"max_steps": 650,
|
30 |
+
"num_input_tokens_seen": 0,
|
31 |
+
"num_train_epochs": 10,
|
32 |
+
"save_steps": 500,
|
33 |
+
"stateful_callbacks": {
|
34 |
+
"TrainerControl": {
|
35 |
+
"args": {
|
36 |
+
"should_epoch_stop": false,
|
37 |
+
"should_evaluate": false,
|
38 |
+
"should_log": false,
|
39 |
+
"should_save": true,
|
40 |
+
"should_training_stop": true
|
41 |
+
},
|
42 |
+
"attributes": {}
|
43 |
+
}
|
44 |
+
},
|
45 |
+
"total_flos": 5425467752448000.0,
|
46 |
+
"train_batch_size": 2,
|
47 |
+
"trial_name": null,
|
48 |
+
"trial_params": null
|
49 |
+
}
|
checkpoint-650/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:793c4b5498e74226b29b40d62221b4f93eec7414233adcb80bf1ed77253f5df6
|
3 |
+
size 5176
|
checkpoint-650/vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
config.json
CHANGED
@@ -35,7 +35,7 @@
|
|
35 |
"summary_type": "cls_index",
|
36 |
"summary_use_proj": true,
|
37 |
"torch_dtype": "float32",
|
38 |
-
"transformers_version": "4.
|
39 |
"use_cache": true,
|
40 |
"vocab_size": 50264
|
41 |
}
|
|
|
35 |
"summary_type": "cls_index",
|
36 |
"summary_use_proj": true,
|
37 |
"torch_dtype": "float32",
|
38 |
+
"transformers_version": "4.46.0.dev0",
|
39 |
"use_cache": true,
|
40 |
"vocab_size": 50264
|
41 |
}
|
eval_results.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 9.885931558935361,
|
3 |
+
"eval_accuracy": 0.36815393801226726,
|
4 |
+
"eval_loss": 3.1956684589385986,
|
5 |
+
"eval_runtime": 1.526,
|
6 |
+
"eval_samples": 18,
|
7 |
+
"eval_samples_per_second": 11.796,
|
8 |
+
"eval_steps_per_second": 1.966,
|
9 |
+
"perplexity": 24.42649634599656
|
10 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"pad_token_id": 0,
|
6 |
+
"transformers_version": "4.46.0.dev0"
|
7 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:15410de22ccdc3ed30629f9b3e4915d0b6830253ff7e6ac0f134586bf4b098f7
|
3 |
+
size 500941440
|
runs/Oct12_14-19-37_41aadce272b2/events.out.tfevents.1728742796.41aadce272b2.4791.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f89b43d6be4e6bd754713019dc16a4cc9fb9cf830daf2debbcd635bc72ff0672
|
3 |
+
size 6123
|
runs/Oct12_14-19-37_41aadce272b2/events.out.tfevents.1728744248.41aadce272b2.4791.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a3856ece550786cf450c688b6005c4c2d4bf8d55cadcc0ee5b1e68b93c4ed4af
|
3 |
+
size 411
|
special_tokens_map.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": true,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "</s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": true,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"mask_token": {
|
17 |
+
"content": "<mask>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"pad_token": {
|
24 |
+
"content": "<pad>",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": true,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"unk_token": {
|
31 |
+
"content": "<unk>",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": true,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
}
|
37 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": false,
|
3 |
+
"add_prefix_space": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<pad>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": true,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<s>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": true,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "</s>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": true,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
},
|
29 |
+
"3": {
|
30 |
+
"content": "<unk>",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": true,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false,
|
35 |
+
"special": true
|
36 |
+
},
|
37 |
+
"4": {
|
38 |
+
"content": "<mask>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false,
|
43 |
+
"special": true
|
44 |
+
}
|
45 |
+
},
|
46 |
+
"bos_token": "<s>",
|
47 |
+
"clean_up_tokenization_spaces": true,
|
48 |
+
"eos_token": "</s>",
|
49 |
+
"errors": "replace",
|
50 |
+
"mask_token": "<mask>",
|
51 |
+
"model_max_length": 2048,
|
52 |
+
"pad_token": "<pad>",
|
53 |
+
"padding_side": "left",
|
54 |
+
"tokenizer_class": "GPT2Tokenizer",
|
55 |
+
"truncation_side": "left",
|
56 |
+
"trust_remote_code": false,
|
57 |
+
"unk_token": "<unk>"
|
58 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 9.885931558935361,
|
3 |
+
"total_flos": 5425467752448000.0,
|
4 |
+
"train_loss": 2.6658438814603365,
|
5 |
+
"train_runtime": 1438.1403,
|
6 |
+
"train_samples": 525,
|
7 |
+
"train_samples_per_second": 3.651,
|
8 |
+
"train_steps_per_second": 0.452
|
9 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 9.885931558935361,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 650,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 7.604562737642586,
|
13 |
+
"grad_norm": 0.9130080342292786,
|
14 |
+
"learning_rate": 1.153846153846154e-05,
|
15 |
+
"loss": 2.7233,
|
16 |
+
"step": 500
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 7.604562737642586,
|
20 |
+
"eval_accuracy": 0.36823535797644247,
|
21 |
+
"eval_loss": 3.186351776123047,
|
22 |
+
"eval_runtime": 1.7733,
|
23 |
+
"eval_samples_per_second": 10.151,
|
24 |
+
"eval_steps_per_second": 1.692,
|
25 |
+
"step": 500
|
26 |
+
},
|
27 |
+
{
|
28 |
+
"epoch": 9.885931558935361,
|
29 |
+
"step": 650,
|
30 |
+
"total_flos": 5425467752448000.0,
|
31 |
+
"train_loss": 2.6658438814603365,
|
32 |
+
"train_runtime": 1438.1403,
|
33 |
+
"train_samples_per_second": 3.651,
|
34 |
+
"train_steps_per_second": 0.452
|
35 |
+
}
|
36 |
+
],
|
37 |
+
"logging_steps": 500,
|
38 |
+
"max_steps": 650,
|
39 |
+
"num_input_tokens_seen": 0,
|
40 |
+
"num_train_epochs": 10,
|
41 |
+
"save_steps": 500,
|
42 |
+
"stateful_callbacks": {
|
43 |
+
"TrainerControl": {
|
44 |
+
"args": {
|
45 |
+
"should_epoch_stop": false,
|
46 |
+
"should_evaluate": false,
|
47 |
+
"should_log": false,
|
48 |
+
"should_save": true,
|
49 |
+
"should_training_stop": true
|
50 |
+
},
|
51 |
+
"attributes": {}
|
52 |
+
}
|
53 |
+
},
|
54 |
+
"total_flos": 5425467752448000.0,
|
55 |
+
"train_batch_size": 2,
|
56 |
+
"trial_name": null,
|
57 |
+
"trial_params": null
|
58 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:793c4b5498e74226b29b40d62221b4f93eec7414233adcb80bf1ed77253f5df6
|
3 |
+
size 5176
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|