Training in progress, step 40, checkpoint
Browse files- last-checkpoint/added_tokens.json +5 -0
- last-checkpoint/config.json +37 -0
- last-checkpoint/generation_config.json +7 -0
- last-checkpoint/merges.txt +0 -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/rng_state_4.pth +3 -0
- last-checkpoint/rng_state_5.pth +3 -0
- last-checkpoint/rng_state_6.pth +3 -0
- last-checkpoint/rng_state_7.pth +3 -0
- last-checkpoint/scheduler.pt +3 -0
- last-checkpoint/special_tokens_map.json +20 -0
- last-checkpoint/tokenizer.json +3 -0
- last-checkpoint/tokenizer_config.json +45 -0
- last-checkpoint/trainer_state.json +85 -0
- last-checkpoint/training_args.bin +3 -0
- last-checkpoint/vocab.json +0 -0
last-checkpoint/added_tokens.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<|endoftext|>": 151643,
|
3 |
+
"<|im_end|>": 151645,
|
4 |
+
"<|im_start|>": 151644
|
5 |
+
}
|
last-checkpoint/config.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "katuni4ka/tiny-random-qwen1.5-moe",
|
3 |
+
"architectures": [
|
4 |
+
"Qwen2MoeForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"decoder_sparse_step": 1,
|
8 |
+
"eos_token_id": 151643,
|
9 |
+
"hidden_act": "silu",
|
10 |
+
"hidden_size": 32,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 22,
|
13 |
+
"max_position_embeddings": 2048,
|
14 |
+
"max_window_layers": 2,
|
15 |
+
"mlp_only_layers": [],
|
16 |
+
"model_type": "qwen2_moe",
|
17 |
+
"moe_intermediate_size": 44,
|
18 |
+
"norm_topk_prob": false,
|
19 |
+
"num_attention_heads": 4,
|
20 |
+
"num_experts": 8,
|
21 |
+
"num_experts_per_tok": 4,
|
22 |
+
"num_hidden_layers": 4,
|
23 |
+
"num_key_value_heads": 2,
|
24 |
+
"output_router_logits": false,
|
25 |
+
"rms_norm_eps": 1e-06,
|
26 |
+
"rope_scaling": null,
|
27 |
+
"rope_theta": 1000000.0,
|
28 |
+
"router_aux_loss_coef": 0.001,
|
29 |
+
"shared_expert_intermediate_size": 22,
|
30 |
+
"sliding_window": null,
|
31 |
+
"tie_word_embeddings": false,
|
32 |
+
"torch_dtype": "bfloat16",
|
33 |
+
"transformers_version": "4.48.1",
|
34 |
+
"use_cache": false,
|
35 |
+
"use_sliding_window": false,
|
36 |
+
"vocab_size": 151646
|
37 |
+
}
|
last-checkpoint/generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 151643,
|
4 |
+
"do_sample": true,
|
5 |
+
"eos_token_id": 151643,
|
6 |
+
"transformers_version": "4.48.1"
|
7 |
+
}
|
last-checkpoint/merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
last-checkpoint/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cd1ab77025bc13ba8fd3a3ab33e66cd3d3895d274cfd19f5984b2f7fd28ebd37
|
3 |
+
size 19745440
|
last-checkpoint/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1732af4087baee42ae033819410e1e99af4ef26905cae47af0aa978accae2e71
|
3 |
+
size 21069498
|
last-checkpoint/rng_state_0.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0df10be429c2412198f2c4c684866a8c921cbd0d9ee4c865077476da07bda410
|
3 |
+
size 15984
|
last-checkpoint/rng_state_1.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b14d8363b71c1e824421bf14a513f0f951f1c6c9b9494dcedc75b3fa1fecea91
|
3 |
+
size 15984
|
last-checkpoint/rng_state_2.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f0d27a8e9aed69fdd3b729f8cbf6300af5e0e26e9226d0e2307b0cf80aff9030
|
3 |
+
size 15984
|
last-checkpoint/rng_state_3.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:23de9e35ad029c7a59ff383920fe892474d8f295c2e2f82ec3e6f109f3f96960
|
3 |
+
size 15984
|
last-checkpoint/rng_state_4.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:50724f43561b5c511c4e37bb1b8ec7e620ff22332c4f39576452e56a9e02d18d
|
3 |
+
size 15984
|
last-checkpoint/rng_state_5.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2f8d108db37b78249e3b0beb22f6120e06fd369dd9fbaa19526994e040db5f9d
|
3 |
+
size 15984
|
last-checkpoint/rng_state_6.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6e62597393912992a3de2b36aa1663274b75b96f6525f5504e64377c5049c51e
|
3 |
+
size 15984
|
last-checkpoint/rng_state_7.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3b1f0a5c61bcbceb46a2a335e00a59c951081a94126a8ae4cc9a9102e012eb65
|
3 |
+
size 15984
|
last-checkpoint/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ea54818dbc15bd81d4941b71d5e2806c555d1a733f768c00c5f1a670e0a08fb1
|
3 |
+
size 1064
|
last-checkpoint/special_tokens_map.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<|im_start|>",
|
4 |
+
"<|im_end|>"
|
5 |
+
],
|
6 |
+
"eos_token": {
|
7 |
+
"content": "<|endoftext|>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": false,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false
|
12 |
+
},
|
13 |
+
"pad_token": {
|
14 |
+
"content": "<|endoftext|>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false
|
19 |
+
}
|
20 |
+
}
|
last-checkpoint/tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bcfe42da0a4497e8b2b172c1f9f4ec423a46dc12907f4349c55025f670422ba9
|
3 |
+
size 11418266
|
last-checkpoint/tokenizer_config.json
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"151643": {
|
5 |
+
"content": "<|endoftext|>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"151644": {
|
13 |
+
"content": "<|im_start|>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": false,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"151645": {
|
21 |
+
"content": "<|im_end|>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": false,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": true
|
27 |
+
}
|
28 |
+
},
|
29 |
+
"additional_special_tokens": [
|
30 |
+
"<|im_start|>",
|
31 |
+
"<|im_end|>"
|
32 |
+
],
|
33 |
+
"bos_token": null,
|
34 |
+
"chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nYou are a helpful assistant<|im_end|>\n' }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
35 |
+
"clean_up_tokenization_spaces": false,
|
36 |
+
"eos_token": "<|endoftext|>",
|
37 |
+
"errors": "replace",
|
38 |
+
"extra_special_tokens": {},
|
39 |
+
"model_max_length": 32768,
|
40 |
+
"pad_token": "<|endoftext|>",
|
41 |
+
"split_special_tokens": false,
|
42 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
43 |
+
"unk_token": null,
|
44 |
+
"use_fast": true
|
45 |
+
}
|
last-checkpoint/trainer_state.json
ADDED
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 0.047337278106508875,
|
5 |
+
"eval_steps": 20,
|
6 |
+
"global_step": 40,
|
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.001183431952662722,
|
13 |
+
"eval_loss": 11.93152904510498,
|
14 |
+
"eval_runtime": 4.3808,
|
15 |
+
"eval_samples_per_second": 342.861,
|
16 |
+
"eval_steps_per_second": 21.457,
|
17 |
+
"step": 1
|
18 |
+
},
|
19 |
+
{
|
20 |
+
"epoch": 0.011834319526627219,
|
21 |
+
"grad_norm": 0.5202497839927673,
|
22 |
+
"learning_rate": 1.6000000000000003e-05,
|
23 |
+
"loss": 11.9327,
|
24 |
+
"step": 10
|
25 |
+
},
|
26 |
+
{
|
27 |
+
"epoch": 0.023668639053254437,
|
28 |
+
"grad_norm": 0.41039279103279114,
|
29 |
+
"learning_rate": 3.2000000000000005e-05,
|
30 |
+
"loss": 11.9349,
|
31 |
+
"step": 20
|
32 |
+
},
|
33 |
+
{
|
34 |
+
"epoch": 0.023668639053254437,
|
35 |
+
"eval_loss": 11.930181503295898,
|
36 |
+
"eval_runtime": 4.2798,
|
37 |
+
"eval_samples_per_second": 350.949,
|
38 |
+
"eval_steps_per_second": 21.963,
|
39 |
+
"step": 20
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 0.03550295857988166,
|
43 |
+
"grad_norm": 0.6066334247589111,
|
44 |
+
"learning_rate": 4.8e-05,
|
45 |
+
"loss": 11.9306,
|
46 |
+
"step": 30
|
47 |
+
},
|
48 |
+
{
|
49 |
+
"epoch": 0.047337278106508875,
|
50 |
+
"grad_norm": 0.46611225605010986,
|
51 |
+
"learning_rate": 6.400000000000001e-05,
|
52 |
+
"loss": 11.9262,
|
53 |
+
"step": 40
|
54 |
+
},
|
55 |
+
{
|
56 |
+
"epoch": 0.047337278106508875,
|
57 |
+
"eval_loss": 11.922493934631348,
|
58 |
+
"eval_runtime": 4.3258,
|
59 |
+
"eval_samples_per_second": 347.218,
|
60 |
+
"eval_steps_per_second": 21.73,
|
61 |
+
"step": 40
|
62 |
+
}
|
63 |
+
],
|
64 |
+
"logging_steps": 10,
|
65 |
+
"max_steps": 2500,
|
66 |
+
"num_input_tokens_seen": 0,
|
67 |
+
"num_train_epochs": 3,
|
68 |
+
"save_steps": 40,
|
69 |
+
"stateful_callbacks": {
|
70 |
+
"TrainerControl": {
|
71 |
+
"args": {
|
72 |
+
"should_epoch_stop": false,
|
73 |
+
"should_evaluate": false,
|
74 |
+
"should_log": false,
|
75 |
+
"should_save": true,
|
76 |
+
"should_training_stop": false
|
77 |
+
},
|
78 |
+
"attributes": {}
|
79 |
+
}
|
80 |
+
},
|
81 |
+
"total_flos": 39525514477568.0,
|
82 |
+
"train_batch_size": 2,
|
83 |
+
"trial_name": null,
|
84 |
+
"trial_params": null
|
85 |
+
}
|
last-checkpoint/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b925c4aa24e9ed00a85109bf16795e4125cfa4c22e502965ecc2e11808027d4b
|
3 |
+
size 6840
|
last-checkpoint/vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|