Upload 10 files
Browse files- config.json +30 -0
- generation_config.json +6 -0
- merges.txt +0 -0
- model.safetensors +3 -0
- rng_state.pth +3 -0
- special_tokens_map.json +31 -0
- tokenizer.json +0 -0
- trainer_state.json +93 -0
- training_args.bin +3 -0
- vocab.json +0 -0
config.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/home/dousti_group/ghanizadeh/.cache/huggingface/hub/models--HuggingFaceTB--SmolLM-135M/snapshots/1d461723eec654e65efdc40cf49301c89c0c92f4",
|
3 |
+
"architectures": [
|
4 |
+
"LlamaForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 0,
|
9 |
+
"eos_token_id": 0,
|
10 |
+
"pad_token_id": 1,
|
11 |
+
"hidden_act": "silu",
|
12 |
+
"hidden_size": 576,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 1536,
|
15 |
+
"max_position_embeddings": 128,
|
16 |
+
"mlp_bias": false,
|
17 |
+
"model_type": "llama",
|
18 |
+
"num_attention_heads": 9,
|
19 |
+
"num_hidden_layers": 30,
|
20 |
+
"num_key_value_heads": 3,
|
21 |
+
"pretraining_tp": 1,
|
22 |
+
"rms_norm_eps": 1e-05,
|
23 |
+
"rope_scaling": null,
|
24 |
+
"rope_theta": 10000.0,
|
25 |
+
"tie_word_embeddings": true,
|
26 |
+
"torch_dtype": "float32",
|
27 |
+
"transformers_version": "4.43.4",
|
28 |
+
"use_cache": true,
|
29 |
+
"vocab_size": 30001
|
30 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 0,
|
4 |
+
"eos_token_id": 0,
|
5 |
+
"transformers_version": "4.43.4"
|
6 |
+
}
|
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:46fbd23a84ca3df081c6cf84bb2b12a71cb1f51aea954c298768c5e2d95b203d
|
3 |
+
size 493966464
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9899ccda7f0d8d9511991180b93aab508ce6e8489de708c88ad1188e7e1d90d6
|
3 |
+
size 14244
|
special_tokens_map.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "</s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "<pad>",
|
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": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
}
|
30 |
+
}
|
31 |
+
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
trainer_state.json
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 3.5722010135650635,
|
3 |
+
"best_model_checkpoint": "/home/dousti_group/ghanizadeh/babyLM/model-save/5-epoch-tv-tokenized/checkpoint-113408",
|
4 |
+
"epoch": 4.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 113408,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 1.0,
|
13 |
+
"grad_norm": 5.181252479553223,
|
14 |
+
"learning_rate": 4.014476851196376e-05,
|
15 |
+
"loss": 4.3405,
|
16 |
+
"step": 28352
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 1.0,
|
20 |
+
"eval_loss": 3.8782432079315186,
|
21 |
+
"eval_runtime": 163.7675,
|
22 |
+
"eval_samples_per_second": 291.572,
|
23 |
+
"eval_steps_per_second": 36.448,
|
24 |
+
"step": 28352
|
25 |
+
},
|
26 |
+
{
|
27 |
+
"epoch": 2.0,
|
28 |
+
"grad_norm": 4.64185094833374,
|
29 |
+
"learning_rate": 3.0112558402944925e-05,
|
30 |
+
"loss": 3.7749,
|
31 |
+
"step": 56704
|
32 |
+
},
|
33 |
+
{
|
34 |
+
"epoch": 2.0,
|
35 |
+
"eval_loss": 3.6707634925842285,
|
36 |
+
"eval_runtime": 158.0831,
|
37 |
+
"eval_samples_per_second": 302.056,
|
38 |
+
"eval_steps_per_second": 37.759,
|
39 |
+
"step": 56704
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 3.0,
|
43 |
+
"grad_norm": 6.706910610198975,
|
44 |
+
"learning_rate": 2.0081056208410027e-05,
|
45 |
+
"loss": 3.493,
|
46 |
+
"step": 85056
|
47 |
+
},
|
48 |
+
{
|
49 |
+
"epoch": 3.0,
|
50 |
+
"eval_loss": 3.5801351070404053,
|
51 |
+
"eval_runtime": 158.2132,
|
52 |
+
"eval_samples_per_second": 301.808,
|
53 |
+
"eval_steps_per_second": 37.728,
|
54 |
+
"step": 85056
|
55 |
+
},
|
56 |
+
{
|
57 |
+
"epoch": 4.0,
|
58 |
+
"grad_norm": 10.424848556518555,
|
59 |
+
"learning_rate": 1.005061588560102e-05,
|
60 |
+
"loss": 3.2244,
|
61 |
+
"step": 113408
|
62 |
+
},
|
63 |
+
{
|
64 |
+
"epoch": 4.0,
|
65 |
+
"eval_loss": 3.5722010135650635,
|
66 |
+
"eval_runtime": 157.7259,
|
67 |
+
"eval_samples_per_second": 302.74,
|
68 |
+
"eval_steps_per_second": 37.844,
|
69 |
+
"step": 113408
|
70 |
+
}
|
71 |
+
],
|
72 |
+
"logging_steps": 500,
|
73 |
+
"max_steps": 141760,
|
74 |
+
"num_input_tokens_seen": 0,
|
75 |
+
"num_train_epochs": 5,
|
76 |
+
"save_steps": 500,
|
77 |
+
"stateful_callbacks": {
|
78 |
+
"TrainerControl": {
|
79 |
+
"args": {
|
80 |
+
"should_epoch_stop": false,
|
81 |
+
"should_evaluate": false,
|
82 |
+
"should_log": false,
|
83 |
+
"should_save": true,
|
84 |
+
"should_training_stop": false
|
85 |
+
},
|
86 |
+
"attributes": {}
|
87 |
+
}
|
88 |
+
},
|
89 |
+
"total_flos": 2.959934159506637e+17,
|
90 |
+
"train_batch_size": 32,
|
91 |
+
"trial_name": null,
|
92 |
+
"trial_params": null
|
93 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e748a7dd088443d1a66c1f4b06198ed9374d6718be69d7883b42f2fbb8df6281
|
3 |
+
size 5304
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|