Training in progress, step 100, checkpoint
Browse files- last-checkpoint/config.json +31 -0
- last-checkpoint/generation_config.json +8 -0
- last-checkpoint/model.safetensors +3 -0
- last-checkpoint/optimizer.pt +3 -0
- last-checkpoint/rng_state_0.pth +3 -0
- last-checkpoint/rng_state_1.pth +3 -0
- last-checkpoint/rng_state_2.pth +3 -0
- last-checkpoint/rng_state_3.pth +3 -0
- last-checkpoint/scheduler.pt +3 -0
- last-checkpoint/special_tokens_map.json +30 -0
- last-checkpoint/tokenizer.json +0 -0
- last-checkpoint/tokenizer.model +3 -0
- last-checkpoint/tokenizer_config.json +44 -0
- last-checkpoint/trainer_state.json +111 -0
- last-checkpoint/training_args.bin +3 -0
last-checkpoint/config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "fxmarty/tiny-llama-fast-tokenizer",
|
3 |
+
"architectures": [
|
4 |
+
"LlamaForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 0,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"head_dim": 4,
|
11 |
+
"hidden_act": "silu",
|
12 |
+
"hidden_size": 16,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 64,
|
15 |
+
"max_position_embeddings": 2048,
|
16 |
+
"mlp_bias": false,
|
17 |
+
"model_type": "llama",
|
18 |
+
"num_attention_heads": 4,
|
19 |
+
"num_hidden_layers": 2,
|
20 |
+
"num_key_value_heads": 4,
|
21 |
+
"pad_token_id": -1,
|
22 |
+
"pretraining_tp": 1,
|
23 |
+
"rms_norm_eps": 1e-06,
|
24 |
+
"rope_scaling": null,
|
25 |
+
"rope_theta": 10000.0,
|
26 |
+
"tie_word_embeddings": false,
|
27 |
+
"torch_dtype": "bfloat16",
|
28 |
+
"transformers_version": "4.48.1",
|
29 |
+
"use_cache": false,
|
30 |
+
"vocab_size": 32000
|
31 |
+
}
|
last-checkpoint/generation_config.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 0,
|
4 |
+
"do_sample": true,
|
5 |
+
"eos_token_id": 1,
|
6 |
+
"pad_token_id": 1,
|
7 |
+
"transformers_version": "4.48.1"
|
8 |
+
}
|
last-checkpoint/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:25a257c5b2e34eda80e3d84f1a8cc4247ba163d63b057609915a20d5c03487fe
|
3 |
+
size 2066752
|
last-checkpoint/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bec191f34319615e7969a7a94942c2ab6e19f09ef79ad5cfbca9b840fe7e04f4
|
3 |
+
size 2162798
|
last-checkpoint/rng_state_0.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a4651e32e118f1ea1a8e26dfbbe64298593e12e6a71bcd36cb77f04f86d3f86d
|
3 |
+
size 15024
|
last-checkpoint/rng_state_1.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f0c1eba909fbb51daca773a25c075f182b4096aff21c9b4ff19dbada2080ac99
|
3 |
+
size 15024
|
last-checkpoint/rng_state_2.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:28adb9f06e220aefdc723ea4380a84d42b8bfb87cc53ce65859d55ce1876f51c
|
3 |
+
size 15024
|
last-checkpoint/rng_state_3.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:423c49ed521f6986d20d8b29112b383f4b0f3f2e228084ef82c2ad7dcd5d1de8
|
3 |
+
size 15024
|
last-checkpoint/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3a60c7d771c1fd156acee762fba03c724cb41829a3f71df370ecd1d20b134982
|
3 |
+
size 1064
|
last-checkpoint/special_tokens_map.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"pad_token": {
|
17 |
+
"content": "</s>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"unk_token": {
|
24 |
+
"content": "<unk>",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": true,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
}
|
30 |
+
}
|
last-checkpoint/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
last-checkpoint/tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
3 |
+
size 499723
|
last-checkpoint/tokenizer_config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"add_prefix_space": null,
|
5 |
+
"added_tokens_decoder": {
|
6 |
+
"0": {
|
7 |
+
"content": "<unk>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": true,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false,
|
12 |
+
"special": true
|
13 |
+
},
|
14 |
+
"1": {
|
15 |
+
"content": "<s>",
|
16 |
+
"lstrip": false,
|
17 |
+
"normalized": true,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false,
|
20 |
+
"special": true
|
21 |
+
},
|
22 |
+
"2": {
|
23 |
+
"content": "</s>",
|
24 |
+
"lstrip": false,
|
25 |
+
"normalized": false,
|
26 |
+
"rstrip": false,
|
27 |
+
"single_word": false,
|
28 |
+
"special": true
|
29 |
+
}
|
30 |
+
},
|
31 |
+
"bos_token": "<s>",
|
32 |
+
"chat_template": "{% for message in messages %}{% if message['role'] == 'user' %}{{ '### Instruction: ' + message['content'] + '\n\n' }}{% elif message['role'] == 'assistant' %}{{ '### Response: ' + message['content'] + eos_token}}{% endif %}{% endfor %}",
|
33 |
+
"clean_up_tokenization_spaces": false,
|
34 |
+
"eos_token": "</s>",
|
35 |
+
"extra_special_tokens": {},
|
36 |
+
"legacy": true,
|
37 |
+
"model_max_length": 2048,
|
38 |
+
"pad_token": "</s>",
|
39 |
+
"sp_model_kwargs": {},
|
40 |
+
"tokenizer_class": "LlamaTokenizer",
|
41 |
+
"unk_token": "<unk>",
|
42 |
+
"use_default_system_prompt": false,
|
43 |
+
"use_fast": true
|
44 |
+
}
|
last-checkpoint/trainer_state.json
ADDED
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 16.666666666666668,
|
5 |
+
"eval_steps": 200,
|
6 |
+
"global_step": 100,
|
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.16666666666666666,
|
13 |
+
"eval_loss": 10.376375198364258,
|
14 |
+
"eval_runtime": 2.394,
|
15 |
+
"eval_samples_per_second": 626.993,
|
16 |
+
"eval_steps_per_second": 5.013,
|
17 |
+
"step": 1
|
18 |
+
},
|
19 |
+
{
|
20 |
+
"epoch": 1.6666666666666665,
|
21 |
+
"grad_norm": 0.09375,
|
22 |
+
"learning_rate": 0.00019863613034027224,
|
23 |
+
"loss": 10.3756,
|
24 |
+
"step": 10
|
25 |
+
},
|
26 |
+
{
|
27 |
+
"epoch": 3.3333333333333335,
|
28 |
+
"grad_norm": 0.12353515625,
|
29 |
+
"learning_rate": 0.0001879473751206489,
|
30 |
+
"loss": 10.3632,
|
31 |
+
"step": 20
|
32 |
+
},
|
33 |
+
{
|
34 |
+
"epoch": 5.0,
|
35 |
+
"grad_norm": 0.2236328125,
|
36 |
+
"learning_rate": 0.00016772815716257412,
|
37 |
+
"loss": 10.3433,
|
38 |
+
"step": 30
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 6.666666666666667,
|
42 |
+
"grad_norm": 0.3203125,
|
43 |
+
"learning_rate": 0.00014016954246529696,
|
44 |
+
"loss": 10.3073,
|
45 |
+
"step": 40
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 8.333333333333334,
|
49 |
+
"grad_norm": 0.330078125,
|
50 |
+
"learning_rate": 0.00010825793454723325,
|
51 |
+
"loss": 10.2602,
|
52 |
+
"step": 50
|
53 |
+
},
|
54 |
+
{
|
55 |
+
"epoch": 10.0,
|
56 |
+
"grad_norm": 0.326171875,
|
57 |
+
"learning_rate": 7.54514512859201e-05,
|
58 |
+
"loss": 10.2203,
|
59 |
+
"step": 60
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"epoch": 11.666666666666666,
|
63 |
+
"grad_norm": 0.326171875,
|
64 |
+
"learning_rate": 4.530518418775733e-05,
|
65 |
+
"loss": 10.1945,
|
66 |
+
"step": 70
|
67 |
+
},
|
68 |
+
{
|
69 |
+
"epoch": 13.333333333333334,
|
70 |
+
"grad_norm": 0.328125,
|
71 |
+
"learning_rate": 2.1085949060360654e-05,
|
72 |
+
"loss": 10.1812,
|
73 |
+
"step": 80
|
74 |
+
},
|
75 |
+
{
|
76 |
+
"epoch": 15.0,
|
77 |
+
"grad_norm": 0.328125,
|
78 |
+
"learning_rate": 5.418275829936537e-06,
|
79 |
+
"loss": 10.1773,
|
80 |
+
"step": 90
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 16.666666666666668,
|
84 |
+
"grad_norm": 0.328125,
|
85 |
+
"learning_rate": 0.0,
|
86 |
+
"loss": 10.1767,
|
87 |
+
"step": 100
|
88 |
+
}
|
89 |
+
],
|
90 |
+
"logging_steps": 10,
|
91 |
+
"max_steps": 100,
|
92 |
+
"num_input_tokens_seen": 0,
|
93 |
+
"num_train_epochs": 17,
|
94 |
+
"save_steps": 200,
|
95 |
+
"stateful_callbacks": {
|
96 |
+
"TrainerControl": {
|
97 |
+
"args": {
|
98 |
+
"should_epoch_stop": false,
|
99 |
+
"should_evaluate": false,
|
100 |
+
"should_log": false,
|
101 |
+
"should_save": true,
|
102 |
+
"should_training_stop": true
|
103 |
+
},
|
104 |
+
"attributes": {}
|
105 |
+
}
|
106 |
+
},
|
107 |
+
"total_flos": 81831709900800.0,
|
108 |
+
"train_batch_size": 32,
|
109 |
+
"trial_name": null,
|
110 |
+
"trial_params": null
|
111 |
+
}
|
last-checkpoint/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aaa4e96900978d3ffc6b4d538660eb0cf2fc137143c61a37b1d477787b8740ea
|
3 |
+
size 6904
|