Model save
Browse files- README.md +67 -0
- all_results.json +8 -0
- config.json +41 -0
- generation_config.json +8 -0
- model-00001-of-00004.safetensors +3 -0
- model-00002-of-00004.safetensors +3 -0
- model-00003-of-00004.safetensors +3 -0
- model-00004-of-00004.safetensors +3 -0
- model.safetensors.index.json +298 -0
- special_tokens_map.json +51 -0
- spiece.model +3 -0
- tokenizer_config.json +73 -0
- train_results.json +8 -0
- trainer_state.json +191 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
model_name: Qwen-2.5-7B-Simple-RL
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
- trl
|
7 |
+
- grpo
|
8 |
+
licence: license
|
9 |
+
---
|
10 |
+
|
11 |
+
# Model Card for Qwen-2.5-7B-Simple-RL
|
12 |
+
|
13 |
+
This model is a fine-tuned version of [None](https://huggingface.co/None).
|
14 |
+
It has been trained using [TRL](https://github.com/huggingface/trl).
|
15 |
+
|
16 |
+
## Quick start
|
17 |
+
|
18 |
+
```python
|
19 |
+
from transformers import pipeline
|
20 |
+
|
21 |
+
question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
|
22 |
+
generator = pipeline("text-generation", model="namazifar/Qwen-2.5-7B-Simple-RL", device="cuda")
|
23 |
+
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
24 |
+
print(output["generated_text"])
|
25 |
+
```
|
26 |
+
|
27 |
+
## Training procedure
|
28 |
+
|
29 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/rlhf-m-d/huggingface/runs/h2hyfw3t)
|
30 |
+
|
31 |
+
|
32 |
+
This model was trained with GRPO, a method introduced in [DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models](https://huggingface.co/papers/2402.03300).
|
33 |
+
|
34 |
+
### Framework versions
|
35 |
+
|
36 |
+
- TRL: 0.15.0.dev0
|
37 |
+
- Transformers: 4.49.0.dev0
|
38 |
+
- Pytorch: 2.5.1
|
39 |
+
- Datasets: 3.2.0
|
40 |
+
- Tokenizers: 0.21.0
|
41 |
+
|
42 |
+
## Citations
|
43 |
+
|
44 |
+
Cite GRPO as:
|
45 |
+
|
46 |
+
```bibtex
|
47 |
+
@article{zhihong2024deepseekmath,
|
48 |
+
title = {{DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models}},
|
49 |
+
author = {Zhihong Shao and Peiyi Wang and Qihao Zhu and Runxin Xu and Junxiao Song and Mingchuan Zhang and Y. K. Li and Y. Wu and Daya Guo},
|
50 |
+
year = 2024,
|
51 |
+
eprint = {arXiv:2402.03300},
|
52 |
+
}
|
53 |
+
|
54 |
+
```
|
55 |
+
|
56 |
+
Cite TRL as:
|
57 |
+
|
58 |
+
```bibtex
|
59 |
+
@misc{vonwerra2022trl,
|
60 |
+
title = {{TRL: Transformer Reinforcement Learning}},
|
61 |
+
author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallouédec},
|
62 |
+
year = 2020,
|
63 |
+
journal = {GitHub repository},
|
64 |
+
publisher = {GitHub},
|
65 |
+
howpublished = {\url{https://github.com/huggingface/trl}}
|
66 |
+
}
|
67 |
+
```
|
all_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"total_flos": 0.0,
|
3 |
+
"train_loss": 0.05658998479865941,
|
4 |
+
"train_runtime": 6508.7782,
|
5 |
+
"train_samples": 7500,
|
6 |
+
"train_samples_per_second": 1.152,
|
7 |
+
"train_steps_per_second": 0.009
|
8 |
+
}
|
config.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/checkpoint-fsx/mahdinam-sandbox/nova/1.0/8B-R3-SFT/",
|
3 |
+
"architectures": [
|
4 |
+
"AlexaLlamaForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 108,
|
8 |
+
"embedding_dropout": 0.0,
|
9 |
+
"eos_token_id": 109,
|
10 |
+
"hidden_act": "silu",
|
11 |
+
"hidden_size": 4096,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 16384,
|
14 |
+
"max_position_embeddings": 65536,
|
15 |
+
"model_type": "alexallm-v2",
|
16 |
+
"moe_ffn_hidden_size": null,
|
17 |
+
"moe_frequency": 1,
|
18 |
+
"moe_router_activation": "sigmoid",
|
19 |
+
"moe_shared_experts": 0,
|
20 |
+
"moe_topk": 1,
|
21 |
+
"num_attention_heads": 32,
|
22 |
+
"num_hidden_layers": 32,
|
23 |
+
"num_key_value_heads": 8,
|
24 |
+
"num_moe_experts": 1,
|
25 |
+
"num_query_groups": 8,
|
26 |
+
"original_max_position_embeddings": 2048,
|
27 |
+
"pad_token_id": 0,
|
28 |
+
"position_abf_factor": 200,
|
29 |
+
"position_interpolation_factor": 1.0,
|
30 |
+
"residual_dropout": 0.0,
|
31 |
+
"rms_norm_eps": 1e-06,
|
32 |
+
"rope_state": null,
|
33 |
+
"tie_word_embeddings": true,
|
34 |
+
"torch_dtype": "bfloat16",
|
35 |
+
"transformers_version": "4.49.0.dev0",
|
36 |
+
"use_cache": false,
|
37 |
+
"use_flash_attention": true,
|
38 |
+
"use_flash_mlp": false,
|
39 |
+
"vocab_size": 129832,
|
40 |
+
"yarn_scale": 1.0
|
41 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 108,
|
4 |
+
"eos_token_id": 109,
|
5 |
+
"pad_token_id": 0,
|
6 |
+
"transformers_version": "4.49.0.dev0",
|
7 |
+
"use_cache": false
|
8 |
+
}
|
model-00001-of-00004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:976c1bacc144ffc22416ce0daa09d70916849bbc94d3eb703035bbf48836e9d5
|
3 |
+
size 4997980680
|
model-00002-of-00004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6518c72c309c31cd139dfc36d297be6eef81176fad68e0bfb60719953f35f09e
|
3 |
+
size 4907510240
|
model-00003-of-00004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0be5a7ebba20c7490e9216c2596005808365fac418690276654e2aea62f4ad7f
|
3 |
+
size 4999784832
|
model-00004-of-00004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:40d6d74180fc7accd3834e432bb4913cd95d92727d9ac2ddef24a80536d46c28
|
3 |
+
size 2791714560
|
model.safetensors.index.json
ADDED
@@ -0,0 +1,298 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"metadata": {
|
3 |
+
"total_size": 17696956416
|
4 |
+
},
|
5 |
+
"weight_map": {
|
6 |
+
"lm_head.weight": "model-00004-of-00004.safetensors",
|
7 |
+
"model.embed_tokens.weight": "model-00001-of-00004.safetensors",
|
8 |
+
"model.layers.0.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
9 |
+
"model.layers.0.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
10 |
+
"model.layers.0.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
11 |
+
"model.layers.0.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
12 |
+
"model.layers.0.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
13 |
+
"model.layers.0.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
14 |
+
"model.layers.0.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
15 |
+
"model.layers.0.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
16 |
+
"model.layers.0.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
17 |
+
"model.layers.1.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
18 |
+
"model.layers.1.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
19 |
+
"model.layers.1.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
20 |
+
"model.layers.1.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
21 |
+
"model.layers.1.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
22 |
+
"model.layers.1.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
23 |
+
"model.layers.1.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
24 |
+
"model.layers.1.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
25 |
+
"model.layers.1.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
26 |
+
"model.layers.10.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
27 |
+
"model.layers.10.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
28 |
+
"model.layers.10.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
29 |
+
"model.layers.10.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
30 |
+
"model.layers.10.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
31 |
+
"model.layers.10.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
32 |
+
"model.layers.10.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
33 |
+
"model.layers.10.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
34 |
+
"model.layers.10.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
35 |
+
"model.layers.11.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
36 |
+
"model.layers.11.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
37 |
+
"model.layers.11.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
38 |
+
"model.layers.11.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
39 |
+
"model.layers.11.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
40 |
+
"model.layers.11.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
41 |
+
"model.layers.11.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
42 |
+
"model.layers.11.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
43 |
+
"model.layers.11.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
44 |
+
"model.layers.12.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
45 |
+
"model.layers.12.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
46 |
+
"model.layers.12.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
47 |
+
"model.layers.12.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
48 |
+
"model.layers.12.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
49 |
+
"model.layers.12.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
50 |
+
"model.layers.12.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
51 |
+
"model.layers.12.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
52 |
+
"model.layers.12.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
53 |
+
"model.layers.13.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
54 |
+
"model.layers.13.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
55 |
+
"model.layers.13.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
56 |
+
"model.layers.13.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
57 |
+
"model.layers.13.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
58 |
+
"model.layers.13.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
59 |
+
"model.layers.13.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
60 |
+
"model.layers.13.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
61 |
+
"model.layers.13.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
62 |
+
"model.layers.14.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
63 |
+
"model.layers.14.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
64 |
+
"model.layers.14.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
65 |
+
"model.layers.14.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
66 |
+
"model.layers.14.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
67 |
+
"model.layers.14.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
68 |
+
"model.layers.14.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
69 |
+
"model.layers.14.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
70 |
+
"model.layers.14.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
71 |
+
"model.layers.15.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
72 |
+
"model.layers.15.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
73 |
+
"model.layers.15.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
74 |
+
"model.layers.15.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
75 |
+
"model.layers.15.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
76 |
+
"model.layers.15.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
77 |
+
"model.layers.15.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
78 |
+
"model.layers.15.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
79 |
+
"model.layers.15.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
80 |
+
"model.layers.16.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
81 |
+
"model.layers.16.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
82 |
+
"model.layers.16.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
83 |
+
"model.layers.16.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
84 |
+
"model.layers.16.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
85 |
+
"model.layers.16.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
86 |
+
"model.layers.16.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
87 |
+
"model.layers.16.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
88 |
+
"model.layers.16.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
89 |
+
"model.layers.17.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
90 |
+
"model.layers.17.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
91 |
+
"model.layers.17.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
92 |
+
"model.layers.17.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
93 |
+
"model.layers.17.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
94 |
+
"model.layers.17.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
95 |
+
"model.layers.17.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
96 |
+
"model.layers.17.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
97 |
+
"model.layers.17.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
98 |
+
"model.layers.18.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
99 |
+
"model.layers.18.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
100 |
+
"model.layers.18.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
101 |
+
"model.layers.18.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
102 |
+
"model.layers.18.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
103 |
+
"model.layers.18.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
104 |
+
"model.layers.18.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
105 |
+
"model.layers.18.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
106 |
+
"model.layers.18.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
107 |
+
"model.layers.19.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
108 |
+
"model.layers.19.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
109 |
+
"model.layers.19.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
110 |
+
"model.layers.19.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
111 |
+
"model.layers.19.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
112 |
+
"model.layers.19.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
113 |
+
"model.layers.19.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
114 |
+
"model.layers.19.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
115 |
+
"model.layers.19.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
116 |
+
"model.layers.2.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
117 |
+
"model.layers.2.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
118 |
+
"model.layers.2.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
119 |
+
"model.layers.2.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
120 |
+
"model.layers.2.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
121 |
+
"model.layers.2.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
122 |
+
"model.layers.2.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
123 |
+
"model.layers.2.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
124 |
+
"model.layers.2.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
125 |
+
"model.layers.20.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
126 |
+
"model.layers.20.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
127 |
+
"model.layers.20.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
128 |
+
"model.layers.20.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
129 |
+
"model.layers.20.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
130 |
+
"model.layers.20.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
131 |
+
"model.layers.20.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
132 |
+
"model.layers.20.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
133 |
+
"model.layers.20.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
134 |
+
"model.layers.21.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
135 |
+
"model.layers.21.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
136 |
+
"model.layers.21.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
137 |
+
"model.layers.21.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
138 |
+
"model.layers.21.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
139 |
+
"model.layers.21.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
140 |
+
"model.layers.21.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
141 |
+
"model.layers.21.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
142 |
+
"model.layers.21.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
143 |
+
"model.layers.22.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
144 |
+
"model.layers.22.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
145 |
+
"model.layers.22.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
146 |
+
"model.layers.22.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
147 |
+
"model.layers.22.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
148 |
+
"model.layers.22.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
149 |
+
"model.layers.22.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
150 |
+
"model.layers.22.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
151 |
+
"model.layers.22.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
152 |
+
"model.layers.23.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
153 |
+
"model.layers.23.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
154 |
+
"model.layers.23.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
155 |
+
"model.layers.23.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
156 |
+
"model.layers.23.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
157 |
+
"model.layers.23.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
158 |
+
"model.layers.23.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
159 |
+
"model.layers.23.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
160 |
+
"model.layers.23.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
161 |
+
"model.layers.24.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
162 |
+
"model.layers.24.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
163 |
+
"model.layers.24.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
164 |
+
"model.layers.24.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
165 |
+
"model.layers.24.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
166 |
+
"model.layers.24.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
167 |
+
"model.layers.24.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
168 |
+
"model.layers.24.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
169 |
+
"model.layers.24.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
170 |
+
"model.layers.25.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
171 |
+
"model.layers.25.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
172 |
+
"model.layers.25.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
173 |
+
"model.layers.25.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
174 |
+
"model.layers.25.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
175 |
+
"model.layers.25.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
176 |
+
"model.layers.25.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
177 |
+
"model.layers.25.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
178 |
+
"model.layers.25.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
179 |
+
"model.layers.26.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
180 |
+
"model.layers.26.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
181 |
+
"model.layers.26.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
182 |
+
"model.layers.26.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
183 |
+
"model.layers.26.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
184 |
+
"model.layers.26.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
185 |
+
"model.layers.26.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
186 |
+
"model.layers.26.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
187 |
+
"model.layers.26.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
188 |
+
"model.layers.27.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
189 |
+
"model.layers.27.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
190 |
+
"model.layers.27.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
191 |
+
"model.layers.27.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
192 |
+
"model.layers.27.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
193 |
+
"model.layers.27.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
194 |
+
"model.layers.27.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
195 |
+
"model.layers.27.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
196 |
+
"model.layers.27.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
197 |
+
"model.layers.28.input_layernorm.weight": "model-00004-of-00004.safetensors",
|
198 |
+
"model.layers.28.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
|
199 |
+
"model.layers.28.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
200 |
+
"model.layers.28.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
|
201 |
+
"model.layers.28.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
|
202 |
+
"model.layers.28.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
203 |
+
"model.layers.28.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
204 |
+
"model.layers.28.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
205 |
+
"model.layers.28.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
206 |
+
"model.layers.29.input_layernorm.weight": "model-00004-of-00004.safetensors",
|
207 |
+
"model.layers.29.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
|
208 |
+
"model.layers.29.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
|
209 |
+
"model.layers.29.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
|
210 |
+
"model.layers.29.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
|
211 |
+
"model.layers.29.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
|
212 |
+
"model.layers.29.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
|
213 |
+
"model.layers.29.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
|
214 |
+
"model.layers.29.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
|
215 |
+
"model.layers.3.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
216 |
+
"model.layers.3.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
217 |
+
"model.layers.3.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
218 |
+
"model.layers.3.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
219 |
+
"model.layers.3.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
220 |
+
"model.layers.3.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
221 |
+
"model.layers.3.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
222 |
+
"model.layers.3.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
223 |
+
"model.layers.3.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
224 |
+
"model.layers.30.input_layernorm.weight": "model-00004-of-00004.safetensors",
|
225 |
+
"model.layers.30.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
|
226 |
+
"model.layers.30.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
|
227 |
+
"model.layers.30.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
|
228 |
+
"model.layers.30.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
|
229 |
+
"model.layers.30.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
|
230 |
+
"model.layers.30.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
|
231 |
+
"model.layers.30.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
|
232 |
+
"model.layers.30.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
|
233 |
+
"model.layers.31.input_layernorm.weight": "model-00004-of-00004.safetensors",
|
234 |
+
"model.layers.31.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
|
235 |
+
"model.layers.31.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
|
236 |
+
"model.layers.31.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
|
237 |
+
"model.layers.31.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
|
238 |
+
"model.layers.31.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
|
239 |
+
"model.layers.31.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
|
240 |
+
"model.layers.31.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
|
241 |
+
"model.layers.31.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
|
242 |
+
"model.layers.4.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
243 |
+
"model.layers.4.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
244 |
+
"model.layers.4.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
245 |
+
"model.layers.4.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
246 |
+
"model.layers.4.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
247 |
+
"model.layers.4.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
248 |
+
"model.layers.4.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
249 |
+
"model.layers.4.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
250 |
+
"model.layers.4.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
251 |
+
"model.layers.5.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
252 |
+
"model.layers.5.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
253 |
+
"model.layers.5.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
254 |
+
"model.layers.5.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
255 |
+
"model.layers.5.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
256 |
+
"model.layers.5.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
257 |
+
"model.layers.5.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
258 |
+
"model.layers.5.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
259 |
+
"model.layers.5.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
260 |
+
"model.layers.6.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
261 |
+
"model.layers.6.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
262 |
+
"model.layers.6.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
263 |
+
"model.layers.6.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
264 |
+
"model.layers.6.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
265 |
+
"model.layers.6.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
266 |
+
"model.layers.6.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
267 |
+
"model.layers.6.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
268 |
+
"model.layers.6.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
269 |
+
"model.layers.7.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
270 |
+
"model.layers.7.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
271 |
+
"model.layers.7.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
272 |
+
"model.layers.7.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
273 |
+
"model.layers.7.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
274 |
+
"model.layers.7.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
275 |
+
"model.layers.7.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
276 |
+
"model.layers.7.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
277 |
+
"model.layers.7.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
278 |
+
"model.layers.8.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
279 |
+
"model.layers.8.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
280 |
+
"model.layers.8.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
281 |
+
"model.layers.8.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
282 |
+
"model.layers.8.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
283 |
+
"model.layers.8.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
284 |
+
"model.layers.8.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
285 |
+
"model.layers.8.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
286 |
+
"model.layers.8.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
287 |
+
"model.layers.9.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
288 |
+
"model.layers.9.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
289 |
+
"model.layers.9.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
290 |
+
"model.layers.9.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
291 |
+
"model.layers.9.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
292 |
+
"model.layers.9.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
293 |
+
"model.layers.9.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
294 |
+
"model.layers.9.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
295 |
+
"model.layers.9.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
296 |
+
"model.norm.weight": "model-00004-of-00004.safetensors"
|
297 |
+
}
|
298 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "▁[BOS]",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"cls_token": {
|
10 |
+
"content": "<s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"eos_token": {
|
17 |
+
"content": "▁[EOS]",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"mask_token": {
|
24 |
+
"content": "[MASK]",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"pad_token": {
|
31 |
+
"content": "<unk>",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
},
|
37 |
+
"sep_token": {
|
38 |
+
"content": "</s>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false
|
43 |
+
},
|
44 |
+
"unk_token": {
|
45 |
+
"content": "<unk>",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": false,
|
48 |
+
"rstrip": false,
|
49 |
+
"single_word": false
|
50 |
+
}
|
51 |
+
}
|
spiece.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:17f61fedb747d57a6b385c33ec4fd9026eb5b9a6b2c59c92525dc3726284daf5
|
3 |
+
size 2281869
|
tokenizer_config.json
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "<unk>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "<s>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "</s>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"108": {
|
28 |
+
"content": "▁[BOS]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"109": {
|
36 |
+
"content": "▁[EOS]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
},
|
43 |
+
"112": {
|
44 |
+
"content": "[MASK]",
|
45 |
+
"lstrip": false,
|
46 |
+
"normalized": false,
|
47 |
+
"rstrip": false,
|
48 |
+
"single_word": false,
|
49 |
+
"special": true
|
50 |
+
}
|
51 |
+
},
|
52 |
+
"bos_token": "▁[BOS]",
|
53 |
+
"chat_template": "{% set BEGIN_TOOL_USE_TOKEN = '<tool>' %}{% set END_TOOL_USE_TOKEN = '</tool>' %}{% set IMAGE_RESERVED_TOKEN = '<image>' %}{% set VIDEO_RESERVED_TOKEN = '<video>' %}{% set MEDIA_TOKEN_SEP = '\n' %}{% set DEFAULT_SYSTEM_MSG = 'A chat between a curious User and an artificial intelligence Bot. The Bot gives helpful, detailed, and polite answers to the User\\'s questions.' %}{% set GLOBAL = namespace(TOOL_USE_ORDERED = []) %}{% macro has_system_content_blocks(system) %}{% set result = namespace(value = '') %}{% if system is string %}{% set result.value = 'True' %}{% elif system is iterable and system is not mapping %}{% for item in system %}{% if item is string or 'text' in item or 'image' in item or 'video' in item %}{% set result.value = 'True' %}{% endif %}{% endfor %}{% endif %}{{ result.value }}{% endmacro %}{% macro format_param_schema(param_name, schema, is_required) %}{% if schema is undefined or not schema is mapping %}{{ raise_exception('Invalid json in tool input schema. Expected a valid JSON Schema object for ' ~ param_name ~ ' parameter.') }}{% endif %}{{ '{' }}{% for k,v in schema.items() %}{% if k == \"required\" %}{{ '\"required_properties\": '}}{% else %}{{ '\"'~ k ~ '\": ' }}{% endif %}{{ v | tojson }}{% if not loop.last %}{{ ', ' }}{% elif is_required %}{{ ', \"required\": True' }}{% endif %}{% endfor %}{{ '}' }}{% endmacro %}{% macro format_tool_input_schema(json_schema) %}{% if json_schema is undefined %}{{ '\"arguments\": {}' }}{% else %}{% if not json_schema is mapping %}{{ raise_exception('Invalid json in tool input schema. Expected a valid JSON Schema object.') }}{% endif %}{% for key in json_schema %}{% if not key in ['type', 'properties', 'required'] %}{{ raise_exception('Invalid json in tool input schema. Unexpected key \\'' ~ key ~'\\'. Only [\\'type\\', \\'properties\\', \\'required\\'] are supported.') }}{% endif %}{% endfor %}{% if json_schema['type'] is undefined or json_schema['type'] != 'object' %}{{ raise_exception('Invalid json in tool input schema. Expected key \\'type\\' with value \\'object\\'.') }}{% endif %}{% if json_schema['properties'] is undefined %}{{ '\"arguments\": {}' }}{% else %}{{ '\"arguments\": {' }}{% for k,v in json_schema['properties'].items() %}{{ '\"' ~ k ~ '\": ' }}{% set is_required = true if json_schema['required'] is defined and k in json_schema['required'] %}{{ format_param_schema(k, v, is_required) }}{{ ', ' if not loop.last }}{% endfor %}{{ '}' }}{% endif %}{% endif %}{% endmacro %}{% macro format_tool_def(tool) %}{% set toolDef = tool['toolSpec'] %}{% if toolDef is undefined %}{{ raise_exception('Invalid tool definition. Expected key \\'toolSpec\\' in tool definition.') }}{% endif %}{% if toolDef['name'] is undefined %}{{ raise_exception('Invalid tool specification. Expected key \\'name\\' in tool specification.') }}{% endif %}{% set input_schema = toolDef['inputSchema'] %}{% if input_schema is undefined %}{{ raise_exception('Invalid tool specification. Expected key \\'inputSchema\\' in tool specification.') }}{% endif %}{{ '{\"name\": \"' }}{{ toolDef['name'] }}{{ '\", ' }}{% if toolDef['description'] is defined %}{{ '\"description\": \"' }}{{ toolDef['description'] }}{{ '\", ' }}{% endif %}{{ format_tool_input_schema(input_schema['json']) }}{{ '}' }}{% endmacro %}{% macro format_pythonic_function_params(json_object) %}{% for k,v in json_object.items() %}{{ k }}{{ '=' }}{{ v | tojson }}{{', ' if not loop.last}}{% endfor %}{% endmacro %}{% macro format_tool_use(tool_use_blocks)%}{{ BEGIN_TOOL_USE_TOKEN }}{{ ' [' }}{% for tool_use in tool_use_blocks %}{% set tool_name = tool_use.get('name') %}{% set tool_params = tool_use.get('input') %}{% if not tool_name is defined %}{{ raise_exception('Invalid tool use block. Expected key ''name'' in tool use block.') }}{% endif %}{% if not tool_params is defined %}{{ raise_exception('Invalid tool use block. Expected key ''input'' in tool use block.') }}{% endif %}{{ tool_name }}{{ '(' }}{{ format_pythonic_function_params(tool_params) }}{{ ')' }}{{', ' if not loop.last}}{% endfor %}{{ '] ' }}{{ END_TOOL_USE_TOKEN }}{% endmacro %}{% macro find_tool_name(tool_use_ordered, use_id) %}{% for tool_use in tool_use_ordered %}{% if tool_use['toolUseId'] == use_id %}{{ tool_use['name'] }}{% endif %}{% else %}{{ raise_exception('Invalid tool use id: ' ~ use_id) }}{% endfor %}{% endmacro %}{% macro format_tool_result(tool_result_blocks, tool_use_ordered) %}{% set ordered = namespace(tool_results = []) %}{% for tool_use in tool_use_ordered %}{% for tool_result in tool_result_blocks %}{% if tool_result['toolUseId'] == tool_use['toolUseId'] %}{% set ordered.tool_results = ordered.tool_results + [tool_result] %}{% endif %}{% endfor %}{% endfor %}{% if (ordered.tool_results | length) != (tool_result_blocks | length) %}{{ raise_exception('Invalid tool result blocks. Not every tool result has corresponding tool use.') }}{% endif %}{{ 'Resource: {\"toolResult\": ['}}{% for tool_result in ordered.tool_results %}{{ '{\"tool_name\": \"' }}{{ find_tool_name(tool_use_ordered, tool_result['toolUseId']) }}{{ '\", \"result\": ' }}{% set content = tool_result.get('content') %}{% if content is undefined or content | length == 0 %}{% if tool_result.get('status') == 'error' %}{{ '\"unknown error occured\"' }}{% else %}{{ '\"\"' }}{% endif %}{% else %}{% if content is iterable and content | length == 1 and content[0]['json'] is defined %}{{ content[0]['json'] | tojson }}{% else %}{% if content is iterable and (content | selectattr('json', 'defined') | list | length > 0) %}{{ raise_exception('Invalid tool result content. Expected either single JSON block or array of non-JSON blocks.') }}{% endif %}{% set content_formatted = get_shorthand_content(content) %}{{ '\"' }}{{ content_formatted }}{{ '\"' }}{% endif %}{% endif %}{{ '}' }}{{', ' if not loop.last}}{% endfor %}{{ ']}' }}{% endmacro %}{% macro get_shorthand_content(content) %}{% if content is string %}{{ content | trim }}{% elif content is iterable and content is not mapping %}{% set local=namespace(tool_use_ordered = [], tool_results_ordered = []) %}{% for item in content %}{% if 'text' in item %}{{ item['text'] | trim }}{{' ' if not loop.last}}{% elif 'image' in item %}{{ IMAGE_RESERVED_TOKEN }}{{ MEDIA_TOKEN_SEP }}{% elif 'video' in item %}{{ VIDEO_RESERVED_TOKEN }}{{ MEDIA_TOKEN_SEP }}{% elif 'toolResult' in item %}{% set local.tool_results_ordered = local.tool_results_ordered + [item['toolResult']] %}{% if loop.last or 'toolResult' not in content[loop.index] %}{{ format_tool_result(local.tool_results_ordered, GLOBAL.TOOL_USE_ORDERED) }}{{' ' if not loop.last}}{% set local.tool_results_ordered = [] %}{% endif %}{% elif 'toolUse' in item %}{% set local.tool_use_ordered = local.tool_use_ordered + [item['toolUse']] %}{% set GLOBAL.TOOL_USE_ORDERED = GLOBAL.TOOL_USE_ORDERED + [item['toolUse']] %}{% if loop.last or 'toolUse' not in content[loop.index] %}{{ format_tool_use(local.tool_use_ordered) }}{{' ' if not loop.last}}{% set local.tool_use_ordered = [] %}{% endif %}{% endif %}{% endfor %}{% else %}{{ raise_exception('Invalid type for message[''content'']. Expected types are only String and List') }}{% endif %}{% endmacro %}{% macro get_system_prompt_content(system, toolConfig) %}{% if system is defined and has_system_content_blocks(system) == 'True' %}{% set system_msg = DEFAULT_SYSTEM_MSG + ' ' + get_shorthand_content(system) %}{% else %}{% set system_msg = DEFAULT_SYSTEM_MSG %}{% endif %}{{ system_msg }}{% if toolConfig is defined %}{% set toolChoice = toolConfig['toolChoice'] %}{% if toolChoice is defined and ('any' in toolChoice or 'tool' in toolChoice) %}{{ raise_exception('Invalid tool configuration. Only supported toolChoice value is \\'auto\\'.') }}{% endif %}{% set tools_list = toolConfig['tools'] %}{% if tools_list is undefined %}{{ raise_exception('Invalid tool configuration. Expected key \\'tools\\' in tool configuration.') }}{% endif %}{{ ' ' if system_msg[-1] | trim | length > 0 else '' }}{{ 'In this session, the model has access to external functionalities.\n' }}{{ 'To assist the user, you can reply to the user or invoke an action. Only invoke actions if relevant to the user request.\n\n' }}{{ 'The following actions are available:\n' }}{% for tool in tools_list %}{{ '- ' }}{{ format_tool_def(tool) }}{{ '\n' }}{% endfor %}{{ '\nModel Instructions:\n' }}{{ '- To invoke an action, begin with ' }}{{ BEGIN_TOOL_USE_TOKEN }}{{ ' and end with ' }}{{ END_TOOL_USE_TOKEN }}{{ '. Generate Pythonic action calls and place them in an array, e.g., ' }}{{ BEGIN_TOOL_USE_TOKEN }}{{ ' [action1(arg1=val1, ...), action2(arg1=val1)] ' }}{{ END_TOOL_USE_TOKEN }}{{ '.' }}\n{% endif %}{% endmacro %}{% macro validate_roles(messages) %}{% set roles = messages | map(attribute='role') | unique | list %}{% set allowed_roles = ['user', 'bot', 'system', 'assistant'] %}{% if ('bot' in roles and 'assistant' in roles) or (roles | reject('in', allowed_roles) | list | length > 0) %}{{ raise_exception('Message roles: [' + roles | join(', ') + '] has unexpected role(s)') }}{% endif %}{% endmacro %}{% macro get_prompt() %}{{ validate_roles(messages) }}{% for message in messages %}{% if loop.index == 1 %}{% if message['role'] != 'system' %}{% set SYSTEM_MSG = get_system_prompt_content(system, toolConfig)%}{% elif system is defined %}{{ raise_exception('system field is defined, unexpected system role in messages') }}{% else %}{% set SYSTEM_MSG = get_system_prompt_content(message['content'], toolConfig) %}{% endif %}{{ SYSTEM_MSG }}{{ ' ' if SYSTEM_MSG[-1] | trim | length > 0 else '' }}{% endif %}{% if beliefAugmentation is defined and beliefAugmentation | length != 0 %}{% set BELIEF_AUGMENTATION_SEP = '\n' %}{{get_shorthand_content(beliefAugmentation)}}{{BELIEF_AUGMENTATION_SEP}}{% endif %}{% if message['role'] == 'user' %}{{'User: ' }}{{get_shorthand_content(message['content'])}}{% elif message['role'] == 'bot' or message['role'] == 'assistant' %}{{'Bot: ' }}{{get_shorthand_content(message['content'])}}{{'' if loop.last else ' [EOS]'}}{% elif message['role'] == 'system' and loop.index != 1 %}{{ raise_exception('Unexpected system message in the middle of the messages') }}{% endif %}{{ ' ' if not loop.last and message['role'] != 'system' else '' }}{{ ' Bot:' if loop.last and message['role'] == 'user' else '' }}{% endfor %}{% endmacro %}{% set prompt = get_prompt() %}{{'[BOS] ' + prompt if prompt else prompt}}",
|
54 |
+
"clean_up_tokenization_spaces": true,
|
55 |
+
"cls_token": "<s>",
|
56 |
+
"do_not_add_bos": false,
|
57 |
+
"do_not_add_eos": true,
|
58 |
+
"eos_token": "▁[EOS]",
|
59 |
+
"escape_sp_char": true,
|
60 |
+
"extra_special_tokens": {},
|
61 |
+
"legacy": false,
|
62 |
+
"mask_token": "[MASK]",
|
63 |
+
"model_max_length": 1000000000000000019884624838656,
|
64 |
+
"newline_tag": "[NEWLINE]",
|
65 |
+
"pad_token": "<unk>",
|
66 |
+
"padding_side": "left",
|
67 |
+
"process_newline_and_tabs": false,
|
68 |
+
"sep_token": "</s>",
|
69 |
+
"strip_trail_spaces": false,
|
70 |
+
"tab_tag": "[TAB]",
|
71 |
+
"tokenizer_class": "AlexaLLMTokenizer",
|
72 |
+
"unk_token": "<unk>"
|
73 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"total_flos": 0.0,
|
3 |
+
"train_loss": 0.05658998479865941,
|
4 |
+
"train_runtime": 6508.7782,
|
5 |
+
"train_samples": 7500,
|
6 |
+
"train_samples_per_second": 1.152,
|
7 |
+
"train_steps_per_second": 0.009
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,191 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 0.9893390191897654,
|
5 |
+
"eval_steps": 100,
|
6 |
+
"global_step": 58,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"completion_length": 373.13706970214844,
|
13 |
+
"epoch": 0.08528784648187633,
|
14 |
+
"grad_norm": 2.1630916595458984,
|
15 |
+
"kl": 0.001761174201965332,
|
16 |
+
"learning_rate": 2.5e-06,
|
17 |
+
"loss": 0.0001,
|
18 |
+
"reward": 0.9339286163449287,
|
19 |
+
"reward_std": 0.3458739034831524,
|
20 |
+
"rewards/accuracy_reward": 0.23258929550647736,
|
21 |
+
"rewards/format_reward": 0.7013393118977547,
|
22 |
+
"step": 5
|
23 |
+
},
|
24 |
+
{
|
25 |
+
"completion_length": 357.8872917175293,
|
26 |
+
"epoch": 0.17057569296375266,
|
27 |
+
"grad_norm": 5.1070876121521,
|
28 |
+
"kl": 0.37891845703125,
|
29 |
+
"learning_rate": 2.956412726139078e-06,
|
30 |
+
"loss": 0.0152,
|
31 |
+
"reward": 0.9741071835160255,
|
32 |
+
"reward_std": 0.33634802624583243,
|
33 |
+
"rewards/accuracy_reward": 0.22723215203732253,
|
34 |
+
"rewards/format_reward": 0.7468750372529029,
|
35 |
+
"step": 10
|
36 |
+
},
|
37 |
+
{
|
38 |
+
"completion_length": 348.8261344909668,
|
39 |
+
"epoch": 0.255863539445629,
|
40 |
+
"grad_norm": 5.793032169342041,
|
41 |
+
"kl": 0.804296875,
|
42 |
+
"learning_rate": 2.7836719084521715e-06,
|
43 |
+
"loss": 0.0322,
|
44 |
+
"reward": 1.0337054029107093,
|
45 |
+
"reward_std": 0.33858824484050276,
|
46 |
+
"rewards/accuracy_reward": 0.24732144214212895,
|
47 |
+
"rewards/format_reward": 0.7863839656114578,
|
48 |
+
"step": 15
|
49 |
+
},
|
50 |
+
{
|
51 |
+
"completion_length": 346.17434616088866,
|
52 |
+
"epoch": 0.3411513859275053,
|
53 |
+
"grad_norm": 1.532250165939331,
|
54 |
+
"kl": 0.85458984375,
|
55 |
+
"learning_rate": 2.4946839873611927e-06,
|
56 |
+
"loss": 0.0342,
|
57 |
+
"reward": 1.0790179044008255,
|
58 |
+
"reward_std": 0.35572994202375413,
|
59 |
+
"rewards/accuracy_reward": 0.27433036975562575,
|
60 |
+
"rewards/format_reward": 0.8046875387430191,
|
61 |
+
"step": 20
|
62 |
+
},
|
63 |
+
{
|
64 |
+
"completion_length": 347.5040344238281,
|
65 |
+
"epoch": 0.42643923240938164,
|
66 |
+
"grad_norm": 2.3722541332244873,
|
67 |
+
"kl": 1.31669921875,
|
68 |
+
"learning_rate": 2.1156192081791355e-06,
|
69 |
+
"loss": 0.0527,
|
70 |
+
"reward": 1.1087053999304772,
|
71 |
+
"reward_std": 0.35302889049053193,
|
72 |
+
"rewards/accuracy_reward": 0.28437501229345796,
|
73 |
+
"rewards/format_reward": 0.8243303969502449,
|
74 |
+
"step": 25
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"completion_length": 357.7453266143799,
|
78 |
+
"epoch": 0.511727078891258,
|
79 |
+
"grad_norm": 6.4789137840271,
|
80 |
+
"kl": 1.504296875,
|
81 |
+
"learning_rate": 1.6808050203829845e-06,
|
82 |
+
"loss": 0.0602,
|
83 |
+
"reward": 1.078571479022503,
|
84 |
+
"reward_std": 0.38525725305080416,
|
85 |
+
"rewards/accuracy_reward": 0.3113839436322451,
|
86 |
+
"rewards/format_reward": 0.7671875327825546,
|
87 |
+
"step": 30
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"completion_length": 347.7029151916504,
|
91 |
+
"epoch": 0.5970149253731343,
|
92 |
+
"grad_norm": 5.793887615203857,
|
93 |
+
"kl": 1.673046875,
|
94 |
+
"learning_rate": 1.2296174432791415e-06,
|
95 |
+
"loss": 0.0669,
|
96 |
+
"reward": 1.115625049173832,
|
97 |
+
"reward_std": 0.3930562749505043,
|
98 |
+
"rewards/accuracy_reward": 0.31540180221199987,
|
99 |
+
"rewards/format_reward": 0.8002232521772384,
|
100 |
+
"step": 35
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"completion_length": 332.5259094238281,
|
104 |
+
"epoch": 0.6823027718550106,
|
105 |
+
"grad_norm": 10.747057914733887,
|
106 |
+
"kl": 1.9728515625,
|
107 |
+
"learning_rate": 8.029152419343472e-07,
|
108 |
+
"loss": 0.0789,
|
109 |
+
"reward": 1.132366120815277,
|
110 |
+
"reward_std": 0.3926612690091133,
|
111 |
+
"rewards/accuracy_reward": 0.31651787310838697,
|
112 |
+
"rewards/format_reward": 0.8158482581377029,
|
113 |
+
"step": 40
|
114 |
+
},
|
115 |
+
{
|
116 |
+
"completion_length": 345.2725601196289,
|
117 |
+
"epoch": 0.767590618336887,
|
118 |
+
"grad_norm": 5.969154357910156,
|
119 |
+
"kl": 2.1015625,
|
120 |
+
"learning_rate": 4.3933982822017883e-07,
|
121 |
+
"loss": 0.084,
|
122 |
+
"reward": 1.1439732566475869,
|
123 |
+
"reward_std": 0.3879304490983486,
|
124 |
+
"rewards/accuracy_reward": 0.30178572721779345,
|
125 |
+
"rewards/format_reward": 0.842187537252903,
|
126 |
+
"step": 45
|
127 |
+
},
|
128 |
+
{
|
129 |
+
"completion_length": 337.36385345458984,
|
130 |
+
"epoch": 0.8528784648187633,
|
131 |
+
"grad_norm": 5.109945774078369,
|
132 |
+
"kl": 2.0640625,
|
133 |
+
"learning_rate": 1.718159615201853e-07,
|
134 |
+
"loss": 0.0826,
|
135 |
+
"reward": 1.1687500596046447,
|
136 |
+
"reward_std": 0.40620823949575424,
|
137 |
+
"rewards/accuracy_reward": 0.3241071570664644,
|
138 |
+
"rewards/format_reward": 0.8446428969502449,
|
139 |
+
"step": 50
|
140 |
+
},
|
141 |
+
{
|
142 |
+
"completion_length": 335.0609535217285,
|
143 |
+
"epoch": 0.9381663113006397,
|
144 |
+
"grad_norm": 3.530726432800293,
|
145 |
+
"kl": 2.1984375,
|
146 |
+
"learning_rate": 2.4570139579284723e-08,
|
147 |
+
"loss": 0.0879,
|
148 |
+
"reward": 1.1783482611179352,
|
149 |
+
"reward_std": 0.40133031979203226,
|
150 |
+
"rewards/accuracy_reward": 0.33839287236332893,
|
151 |
+
"rewards/format_reward": 0.8399553969502449,
|
152 |
+
"step": 55
|
153 |
+
},
|
154 |
+
{
|
155 |
+
"completion_length": 334.10566838582355,
|
156 |
+
"epoch": 0.9893390191897654,
|
157 |
+
"kl": 2.4319661458333335,
|
158 |
+
"reward": 1.16815481086572,
|
159 |
+
"reward_std": 0.38675514981150627,
|
160 |
+
"rewards/accuracy_reward": 0.35342263368268806,
|
161 |
+
"rewards/format_reward": 0.8147321790456772,
|
162 |
+
"step": 58,
|
163 |
+
"total_flos": 0.0,
|
164 |
+
"train_loss": 0.05658998479865941,
|
165 |
+
"train_runtime": 6508.7782,
|
166 |
+
"train_samples_per_second": 1.152,
|
167 |
+
"train_steps_per_second": 0.009
|
168 |
+
}
|
169 |
+
],
|
170 |
+
"logging_steps": 5,
|
171 |
+
"max_steps": 58,
|
172 |
+
"num_input_tokens_seen": 0,
|
173 |
+
"num_train_epochs": 1,
|
174 |
+
"save_steps": 500,
|
175 |
+
"stateful_callbacks": {
|
176 |
+
"TrainerControl": {
|
177 |
+
"args": {
|
178 |
+
"should_epoch_stop": false,
|
179 |
+
"should_evaluate": false,
|
180 |
+
"should_log": false,
|
181 |
+
"should_save": false,
|
182 |
+
"should_training_stop": false
|
183 |
+
},
|
184 |
+
"attributes": {}
|
185 |
+
}
|
186 |
+
},
|
187 |
+
"total_flos": 0.0,
|
188 |
+
"train_batch_size": 16,
|
189 |
+
"trial_name": null,
|
190 |
+
"trial_params": null
|
191 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:be7e0052f80891a794de87751af9a14a72af04db8aed52f35bdd38ec9755bdef
|
3 |
+
size 7480
|