Nataliia767567
commited on
phi_tuned_test_1
Browse files- README.md +57 -0
- adapter_config.json +34 -0
- adapter_model.safetensors +3 -0
- added_tokens.json +13 -0
- all_results.json +8 -0
- special_tokens_map.json +24 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +132 -0
- train_results.json +8 -0
- trainer_state.json +385 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: microsoft/Phi-3-mini-4k-instruct
|
3 |
+
library_name: transformers
|
4 |
+
model_name: checkpoint_dir
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
- trl
|
8 |
+
- sft
|
9 |
+
licence: license
|
10 |
+
---
|
11 |
+
|
12 |
+
# Model Card for checkpoint_dir
|
13 |
+
|
14 |
+
This model is a fine-tuned version of [microsoft/Phi-3-mini-4k-instruct](https://huggingface.co/microsoft/Phi-3-mini-4k-instruct).
|
15 |
+
It has been trained using [TRL](https://github.com/huggingface/trl).
|
16 |
+
|
17 |
+
## Quick start
|
18 |
+
|
19 |
+
```python
|
20 |
+
from transformers import pipeline
|
21 |
+
|
22 |
+
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?"
|
23 |
+
generator = pipeline("text-generation", model="Nataliia767567/checkpoint_dir", device="cuda")
|
24 |
+
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
25 |
+
print(output["generated_text"])
|
26 |
+
```
|
27 |
+
|
28 |
+
## Training procedure
|
29 |
+
|
30 |
+
[<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/natalipolyakovska-softserve/huggingface/runs/rfi6u2nm)
|
31 |
+
|
32 |
+
This model was trained with SFT.
|
33 |
+
|
34 |
+
### Framework versions
|
35 |
+
|
36 |
+
- TRL: 0.12.0
|
37 |
+
- Transformers: 4.47.1
|
38 |
+
- Pytorch: 2.2.2
|
39 |
+
- Datasets: 3.2.0
|
40 |
+
- Tokenizers: 0.21.0
|
41 |
+
|
42 |
+
## Citations
|
43 |
+
|
44 |
+
|
45 |
+
|
46 |
+
Cite TRL as:
|
47 |
+
|
48 |
+
```bibtex
|
49 |
+
@misc{vonwerra2022trl,
|
50 |
+
title = {{TRL: Transformer Reinforcement Learning}},
|
51 |
+
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},
|
52 |
+
year = 2020,
|
53 |
+
journal = {GitHub repository},
|
54 |
+
publisher = {GitHub},
|
55 |
+
howpublished = {\url{https://github.com/huggingface/trl}}
|
56 |
+
}
|
57 |
+
```
|
adapter_config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "microsoft/Phi-3-mini-4k-instruct",
|
5 |
+
"bias": "none",
|
6 |
+
"eva_config": null,
|
7 |
+
"exclude_modules": null,
|
8 |
+
"fan_in_fan_out": false,
|
9 |
+
"inference_mode": true,
|
10 |
+
"init_lora_weights": true,
|
11 |
+
"layer_replication": null,
|
12 |
+
"layers_pattern": null,
|
13 |
+
"layers_to_transform": null,
|
14 |
+
"loftq_config": {},
|
15 |
+
"lora_alpha": 32,
|
16 |
+
"lora_bias": false,
|
17 |
+
"lora_dropout": 0.05,
|
18 |
+
"megatron_config": null,
|
19 |
+
"megatron_core": "megatron.core",
|
20 |
+
"modules_to_save": null,
|
21 |
+
"peft_type": "LORA",
|
22 |
+
"r": 16,
|
23 |
+
"rank_pattern": {},
|
24 |
+
"revision": null,
|
25 |
+
"target_modules": [
|
26 |
+
"qkv_proj",
|
27 |
+
"gate_up_proj",
|
28 |
+
"o_proj",
|
29 |
+
"down_proj"
|
30 |
+
],
|
31 |
+
"task_type": "CAUSAL_LM",
|
32 |
+
"use_dora": false,
|
33 |
+
"use_rslora": false
|
34 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:24aa80524134a0acb9a95db8d6c26c8e4c862982e6b5555642441f233c94949d
|
3 |
+
size 100697728
|
added_tokens.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<|assistant|>": 32001,
|
3 |
+
"<|endoftext|>": 32000,
|
4 |
+
"<|end|>": 32007,
|
5 |
+
"<|placeholder1|>": 32002,
|
6 |
+
"<|placeholder2|>": 32003,
|
7 |
+
"<|placeholder3|>": 32004,
|
8 |
+
"<|placeholder4|>": 32005,
|
9 |
+
"<|placeholder5|>": 32008,
|
10 |
+
"<|placeholder6|>": 32009,
|
11 |
+
"<|system|>": 32006,
|
12 |
+
"<|user|>": 32010
|
13 |
+
}
|
all_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"total_flos": 4.559176483209216e+16,
|
4 |
+
"train_loss": 0.70023385491034,
|
5 |
+
"train_runtime": 1270.7835,
|
6 |
+
"train_samples_per_second": 3.116,
|
7 |
+
"train_steps_per_second": 0.779
|
8 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "<|endoftext|>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": "<unk>",
|
17 |
+
"unk_token": {
|
18 |
+
"content": "<unk>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": false,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
}
|
24 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
3 |
+
size 499723
|
tokenizer_config.json
ADDED
@@ -0,0 +1,132 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": false,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"add_prefix_space": null,
|
5 |
+
"added_tokens_decoder": {
|
6 |
+
"0": {
|
7 |
+
"content": "<unk>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": false,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false,
|
12 |
+
"special": true
|
13 |
+
},
|
14 |
+
"1": {
|
15 |
+
"content": "<s>",
|
16 |
+
"lstrip": false,
|
17 |
+
"normalized": false,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false,
|
20 |
+
"special": true
|
21 |
+
},
|
22 |
+
"2": {
|
23 |
+
"content": "</s>",
|
24 |
+
"lstrip": false,
|
25 |
+
"normalized": false,
|
26 |
+
"rstrip": true,
|
27 |
+
"single_word": false,
|
28 |
+
"special": false
|
29 |
+
},
|
30 |
+
"32000": {
|
31 |
+
"content": "<|endoftext|>",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false,
|
36 |
+
"special": true
|
37 |
+
},
|
38 |
+
"32001": {
|
39 |
+
"content": "<|assistant|>",
|
40 |
+
"lstrip": false,
|
41 |
+
"normalized": false,
|
42 |
+
"rstrip": true,
|
43 |
+
"single_word": false,
|
44 |
+
"special": true
|
45 |
+
},
|
46 |
+
"32002": {
|
47 |
+
"content": "<|placeholder1|>",
|
48 |
+
"lstrip": false,
|
49 |
+
"normalized": false,
|
50 |
+
"rstrip": true,
|
51 |
+
"single_word": false,
|
52 |
+
"special": true
|
53 |
+
},
|
54 |
+
"32003": {
|
55 |
+
"content": "<|placeholder2|>",
|
56 |
+
"lstrip": false,
|
57 |
+
"normalized": false,
|
58 |
+
"rstrip": true,
|
59 |
+
"single_word": false,
|
60 |
+
"special": true
|
61 |
+
},
|
62 |
+
"32004": {
|
63 |
+
"content": "<|placeholder3|>",
|
64 |
+
"lstrip": false,
|
65 |
+
"normalized": false,
|
66 |
+
"rstrip": true,
|
67 |
+
"single_word": false,
|
68 |
+
"special": true
|
69 |
+
},
|
70 |
+
"32005": {
|
71 |
+
"content": "<|placeholder4|>",
|
72 |
+
"lstrip": false,
|
73 |
+
"normalized": false,
|
74 |
+
"rstrip": true,
|
75 |
+
"single_word": false,
|
76 |
+
"special": true
|
77 |
+
},
|
78 |
+
"32006": {
|
79 |
+
"content": "<|system|>",
|
80 |
+
"lstrip": false,
|
81 |
+
"normalized": false,
|
82 |
+
"rstrip": true,
|
83 |
+
"single_word": false,
|
84 |
+
"special": true
|
85 |
+
},
|
86 |
+
"32007": {
|
87 |
+
"content": "<|end|>",
|
88 |
+
"lstrip": false,
|
89 |
+
"normalized": false,
|
90 |
+
"rstrip": true,
|
91 |
+
"single_word": false,
|
92 |
+
"special": true
|
93 |
+
},
|
94 |
+
"32008": {
|
95 |
+
"content": "<|placeholder5|>",
|
96 |
+
"lstrip": false,
|
97 |
+
"normalized": false,
|
98 |
+
"rstrip": true,
|
99 |
+
"single_word": false,
|
100 |
+
"special": true
|
101 |
+
},
|
102 |
+
"32009": {
|
103 |
+
"content": "<|placeholder6|>",
|
104 |
+
"lstrip": false,
|
105 |
+
"normalized": false,
|
106 |
+
"rstrip": true,
|
107 |
+
"single_word": false,
|
108 |
+
"special": true
|
109 |
+
},
|
110 |
+
"32010": {
|
111 |
+
"content": "<|user|>",
|
112 |
+
"lstrip": false,
|
113 |
+
"normalized": false,
|
114 |
+
"rstrip": true,
|
115 |
+
"single_word": false,
|
116 |
+
"special": true
|
117 |
+
}
|
118 |
+
},
|
119 |
+
"bos_token": "<s>",
|
120 |
+
"chat_template": "{% for message in messages %}{% if message['role'] == 'system' %}{{'<|system|>\n' + message['content'] + '<|end|>\n'}}{% elif message['role'] == 'user' %}{{'<|user|>\n' + message['content'] + '<|end|>\n'}}{% elif message['role'] == 'assistant' %}{{'<|assistant|>\n' + message['content'] + '<|end|>\n'}}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|assistant|>\n' }}{% else %}{{ eos_token }}{% endif %}",
|
121 |
+
"clean_up_tokenization_spaces": false,
|
122 |
+
"eos_token": "<|endoftext|>",
|
123 |
+
"extra_special_tokens": {},
|
124 |
+
"legacy": false,
|
125 |
+
"model_max_length": 2048,
|
126 |
+
"pad_token": "<unk>",
|
127 |
+
"padding_side": "left",
|
128 |
+
"sp_model_kwargs": {},
|
129 |
+
"tokenizer_class": "LlamaTokenizer",
|
130 |
+
"unk_token": "<unk>",
|
131 |
+
"use_default_system_prompt": false
|
132 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"total_flos": 4.559176483209216e+16,
|
4 |
+
"train_loss": 0.70023385491034,
|
5 |
+
"train_runtime": 1270.7835,
|
6 |
+
"train_samples_per_second": 3.116,
|
7 |
+
"train_steps_per_second": 0.779
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,385 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 3.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 990,
|
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.06060606060606061,
|
13 |
+
"grad_norm": 0.42527449131011963,
|
14 |
+
"learning_rate": 5.05050505050505e-07,
|
15 |
+
"loss": 1.3881,
|
16 |
+
"step": 20
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.12121212121212122,
|
20 |
+
"grad_norm": 0.4301815330982208,
|
21 |
+
"learning_rate": 1.01010101010101e-06,
|
22 |
+
"loss": 1.4123,
|
23 |
+
"step": 40
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.18181818181818182,
|
27 |
+
"grad_norm": 0.44010022282600403,
|
28 |
+
"learning_rate": 1.5151515151515152e-06,
|
29 |
+
"loss": 1.3928,
|
30 |
+
"step": 60
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.24242424242424243,
|
34 |
+
"grad_norm": 0.4670265018939972,
|
35 |
+
"learning_rate": 2.02020202020202e-06,
|
36 |
+
"loss": 1.3912,
|
37 |
+
"step": 80
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.30303030303030304,
|
41 |
+
"grad_norm": 0.4875299632549286,
|
42 |
+
"learning_rate": 2.5252525252525258e-06,
|
43 |
+
"loss": 1.3781,
|
44 |
+
"step": 100
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.36363636363636365,
|
48 |
+
"grad_norm": 0.37787771224975586,
|
49 |
+
"learning_rate": 3.0303030303030305e-06,
|
50 |
+
"loss": 1.3347,
|
51 |
+
"step": 120
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.42424242424242425,
|
55 |
+
"grad_norm": 0.370220810174942,
|
56 |
+
"learning_rate": 3.5353535353535356e-06,
|
57 |
+
"loss": 1.303,
|
58 |
+
"step": 140
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 0.48484848484848486,
|
62 |
+
"grad_norm": 0.3872508406639099,
|
63 |
+
"learning_rate": 4.04040404040404e-06,
|
64 |
+
"loss": 1.2378,
|
65 |
+
"step": 160
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.5454545454545454,
|
69 |
+
"grad_norm": 0.4406280815601349,
|
70 |
+
"learning_rate": 4.5454545454545455e-06,
|
71 |
+
"loss": 1.1575,
|
72 |
+
"step": 180
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 0.6060606060606061,
|
76 |
+
"grad_norm": 0.5964057445526123,
|
77 |
+
"learning_rate": 4.999921328558333e-06,
|
78 |
+
"loss": 1.0205,
|
79 |
+
"step": 200
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.6666666666666666,
|
83 |
+
"grad_norm": 0.51554936170578,
|
84 |
+
"learning_rate": 4.990486745229364e-06,
|
85 |
+
"loss": 0.8522,
|
86 |
+
"step": 220
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.7272727272727273,
|
90 |
+
"grad_norm": 0.5323845148086548,
|
91 |
+
"learning_rate": 4.965385884295467e-06,
|
92 |
+
"loss": 0.7621,
|
93 |
+
"step": 240
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.7878787878787878,
|
97 |
+
"grad_norm": 0.4954449236392975,
|
98 |
+
"learning_rate": 4.924776641419513e-06,
|
99 |
+
"loss": 0.6637,
|
100 |
+
"step": 260
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 0.8484848484848485,
|
104 |
+
"grad_norm": 0.7475800514221191,
|
105 |
+
"learning_rate": 4.868914466936038e-06,
|
106 |
+
"loss": 0.6373,
|
107 |
+
"step": 280
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 0.9090909090909091,
|
111 |
+
"grad_norm": 0.4374482333660126,
|
112 |
+
"learning_rate": 4.798150758954164e-06,
|
113 |
+
"loss": 0.6296,
|
114 |
+
"step": 300
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 0.9696969696969697,
|
118 |
+
"grad_norm": 0.47152256965637207,
|
119 |
+
"learning_rate": 4.7129306529060415e-06,
|
120 |
+
"loss": 0.5948,
|
121 |
+
"step": 320
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 1.0303030303030303,
|
125 |
+
"grad_norm": 0.5148698687553406,
|
126 |
+
"learning_rate": 4.613790221445511e-06,
|
127 |
+
"loss": 0.5775,
|
128 |
+
"step": 340
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 1.0909090909090908,
|
132 |
+
"grad_norm": 0.375209778547287,
|
133 |
+
"learning_rate": 4.501353102310901e-06,
|
134 |
+
"loss": 0.5469,
|
135 |
+
"step": 360
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 1.1515151515151516,
|
139 |
+
"grad_norm": 0.4789840877056122,
|
140 |
+
"learning_rate": 4.376326575364206e-06,
|
141 |
+
"loss": 0.5645,
|
142 |
+
"step": 380
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"epoch": 1.2121212121212122,
|
146 |
+
"grad_norm": 0.5624423027038574,
|
147 |
+
"learning_rate": 4.239497113483819e-06,
|
148 |
+
"loss": 0.5436,
|
149 |
+
"step": 400
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 1.2727272727272727,
|
153 |
+
"grad_norm": 0.46569859981536865,
|
154 |
+
"learning_rate": 4.091725435297721e-06,
|
155 |
+
"loss": 0.548,
|
156 |
+
"step": 420
|
157 |
+
},
|
158 |
+
{
|
159 |
+
"epoch": 1.3333333333333333,
|
160 |
+
"grad_norm": 0.44934600591659546,
|
161 |
+
"learning_rate": 3.933941090877615e-06,
|
162 |
+
"loss": 0.5509,
|
163 |
+
"step": 440
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"epoch": 1.393939393939394,
|
167 |
+
"grad_norm": 0.41648173332214355,
|
168 |
+
"learning_rate": 3.767136614452458e-06,
|
169 |
+
"loss": 0.528,
|
170 |
+
"step": 460
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"epoch": 1.4545454545454546,
|
174 |
+
"grad_norm": 0.5370034575462341,
|
175 |
+
"learning_rate": 3.5923612809233987e-06,
|
176 |
+
"loss": 0.5338,
|
177 |
+
"step": 480
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 1.5151515151515151,
|
181 |
+
"grad_norm": 0.4544106125831604,
|
182 |
+
"learning_rate": 3.410714505454486e-06,
|
183 |
+
"loss": 0.543,
|
184 |
+
"step": 500
|
185 |
+
},
|
186 |
+
{
|
187 |
+
"epoch": 1.5757575757575757,
|
188 |
+
"grad_norm": 0.4658797085285187,
|
189 |
+
"learning_rate": 3.2233389276586325e-06,
|
190 |
+
"loss": 0.522,
|
191 |
+
"step": 520
|
192 |
+
},
|
193 |
+
{
|
194 |
+
"epoch": 1.6363636363636362,
|
195 |
+
"grad_norm": 0.4451984465122223,
|
196 |
+
"learning_rate": 3.0314132238824416e-06,
|
197 |
+
"loss": 0.5223,
|
198 |
+
"step": 540
|
199 |
+
},
|
200 |
+
{
|
201 |
+
"epoch": 1.696969696969697,
|
202 |
+
"grad_norm": 0.43969258666038513,
|
203 |
+
"learning_rate": 2.8361446928038298e-06,
|
204 |
+
"loss": 0.5184,
|
205 |
+
"step": 560
|
206 |
+
},
|
207 |
+
{
|
208 |
+
"epoch": 1.7575757575757576,
|
209 |
+
"grad_norm": 0.4263152778148651,
|
210 |
+
"learning_rate": 2.6387616609823506e-06,
|
211 |
+
"loss": 0.5223,
|
212 |
+
"step": 580
|
213 |
+
},
|
214 |
+
{
|
215 |
+
"epoch": 1.8181818181818183,
|
216 |
+
"grad_norm": 0.4743904769420624,
|
217 |
+
"learning_rate": 2.440505756134732e-06,
|
218 |
+
"loss": 0.5376,
|
219 |
+
"step": 600
|
220 |
+
},
|
221 |
+
{
|
222 |
+
"epoch": 1.878787878787879,
|
223 |
+
"grad_norm": 0.45021238923072815,
|
224 |
+
"learning_rate": 2.242624096740164e-06,
|
225 |
+
"loss": 0.5187,
|
226 |
+
"step": 620
|
227 |
+
},
|
228 |
+
{
|
229 |
+
"epoch": 1.9393939393939394,
|
230 |
+
"grad_norm": 0.45092540979385376,
|
231 |
+
"learning_rate": 2.046361447106244e-06,
|
232 |
+
"loss": 0.5207,
|
233 |
+
"step": 640
|
234 |
+
},
|
235 |
+
{
|
236 |
+
"epoch": 2.0,
|
237 |
+
"grad_norm": 0.4477311372756958,
|
238 |
+
"learning_rate": 1.852952387243698e-06,
|
239 |
+
"loss": 0.5171,
|
240 |
+
"step": 660
|
241 |
+
},
|
242 |
+
{
|
243 |
+
"epoch": 2.0606060606060606,
|
244 |
+
"grad_norm": 0.41556811332702637,
|
245 |
+
"learning_rate": 1.6636135468049122e-06,
|
246 |
+
"loss": 0.5086,
|
247 |
+
"step": 680
|
248 |
+
},
|
249 |
+
{
|
250 |
+
"epoch": 2.121212121212121,
|
251 |
+
"grad_norm": 0.4341486990451813,
|
252 |
+
"learning_rate": 1.479535951938243e-06,
|
253 |
+
"loss": 0.5067,
|
254 |
+
"step": 700
|
255 |
+
},
|
256 |
+
{
|
257 |
+
"epoch": 2.1818181818181817,
|
258 |
+
"grad_norm": 0.4101578891277313,
|
259 |
+
"learning_rate": 1.301877533199859e-06,
|
260 |
+
"loss": 0.5119,
|
261 |
+
"step": 720
|
262 |
+
},
|
263 |
+
{
|
264 |
+
"epoch": 2.242424242424242,
|
265 |
+
"grad_norm": 0.43040916323661804,
|
266 |
+
"learning_rate": 1.1317558416516696e-06,
|
267 |
+
"loss": 0.5132,
|
268 |
+
"step": 740
|
269 |
+
},
|
270 |
+
{
|
271 |
+
"epoch": 2.303030303030303,
|
272 |
+
"grad_norm": 0.4996863901615143,
|
273 |
+
"learning_rate": 9.702410189643838e-07,
|
274 |
+
"loss": 0.5038,
|
275 |
+
"step": 760
|
276 |
+
},
|
277 |
+
{
|
278 |
+
"epoch": 2.3636363636363638,
|
279 |
+
"grad_norm": 0.5682224035263062,
|
280 |
+
"learning_rate": 8.183490657468687e-07,
|
281 |
+
"loss": 0.5146,
|
282 |
+
"step": 780
|
283 |
+
},
|
284 |
+
{
|
285 |
+
"epoch": 2.4242424242424243,
|
286 |
+
"grad_norm": 0.5291648507118225,
|
287 |
+
"learning_rate": 6.770354504470575e-07,
|
288 |
+
"loss": 0.4873,
|
289 |
+
"step": 800
|
290 |
+
},
|
291 |
+
{
|
292 |
+
"epoch": 2.484848484848485,
|
293 |
+
"grad_norm": 0.4898635149002075,
|
294 |
+
"learning_rate": 5.471890990272666e-07,
|
295 |
+
"loss": 0.5072,
|
296 |
+
"step": 820
|
297 |
+
},
|
298 |
+
{
|
299 |
+
"epoch": 2.5454545454545454,
|
300 |
+
"grad_norm": 0.4250613749027252,
|
301 |
+
"learning_rate": 4.2962680322157335e-07,
|
302 |
+
"loss": 0.5074,
|
303 |
+
"step": 840
|
304 |
+
},
|
305 |
+
{
|
306 |
+
"epoch": 2.606060606060606,
|
307 |
+
"grad_norm": 0.5462311506271362,
|
308 |
+
"learning_rate": 3.250880825498026e-07,
|
309 |
+
"loss": 0.5058,
|
310 |
+
"step": 860
|
311 |
+
},
|
312 |
+
{
|
313 |
+
"epoch": 2.6666666666666665,
|
314 |
+
"grad_norm": 0.4744057059288025,
|
315 |
+
"learning_rate": 2.3423053240837518e-07,
|
316 |
+
"loss": 0.5264,
|
317 |
+
"step": 880
|
318 |
+
},
|
319 |
+
{
|
320 |
+
"epoch": 2.7272727272727275,
|
321 |
+
"grad_norm": 0.4270976781845093,
|
322 |
+
"learning_rate": 1.5762568750059604e-07,
|
323 |
+
"loss": 0.5156,
|
324 |
+
"step": 900
|
325 |
+
},
|
326 |
+
{
|
327 |
+
"epoch": 2.787878787878788,
|
328 |
+
"grad_norm": 0.5914854407310486,
|
329 |
+
"learning_rate": 9.575542662726756e-08,
|
330 |
+
"loss": 0.4896,
|
331 |
+
"step": 920
|
332 |
+
},
|
333 |
+
{
|
334 |
+
"epoch": 2.8484848484848486,
|
335 |
+
"grad_norm": 0.4599030315876007,
|
336 |
+
"learning_rate": 4.9008941453107527e-08,
|
337 |
+
"loss": 0.5131,
|
338 |
+
"step": 940
|
339 |
+
},
|
340 |
+
{
|
341 |
+
"epoch": 2.909090909090909,
|
342 |
+
"grad_norm": 0.5342442989349365,
|
343 |
+
"learning_rate": 1.768028831677926e-08,
|
344 |
+
"loss": 0.5163,
|
345 |
+
"step": 960
|
346 |
+
},
|
347 |
+
{
|
348 |
+
"epoch": 2.9696969696969697,
|
349 |
+
"grad_norm": 0.4838986098766327,
|
350 |
+
"learning_rate": 1.9665384847583622e-09,
|
351 |
+
"loss": 0.5083,
|
352 |
+
"step": 980
|
353 |
+
},
|
354 |
+
{
|
355 |
+
"epoch": 3.0,
|
356 |
+
"step": 990,
|
357 |
+
"total_flos": 4.559176483209216e+16,
|
358 |
+
"train_loss": 0.70023385491034,
|
359 |
+
"train_runtime": 1270.7835,
|
360 |
+
"train_samples_per_second": 3.116,
|
361 |
+
"train_steps_per_second": 0.779
|
362 |
+
}
|
363 |
+
],
|
364 |
+
"logging_steps": 20,
|
365 |
+
"max_steps": 990,
|
366 |
+
"num_input_tokens_seen": 0,
|
367 |
+
"num_train_epochs": 3,
|
368 |
+
"save_steps": 100,
|
369 |
+
"stateful_callbacks": {
|
370 |
+
"TrainerControl": {
|
371 |
+
"args": {
|
372 |
+
"should_epoch_stop": false,
|
373 |
+
"should_evaluate": false,
|
374 |
+
"should_log": false,
|
375 |
+
"should_save": true,
|
376 |
+
"should_training_stop": true
|
377 |
+
},
|
378 |
+
"attributes": {}
|
379 |
+
}
|
380 |
+
},
|
381 |
+
"total_flos": 4.559176483209216e+16,
|
382 |
+
"train_batch_size": 4,
|
383 |
+
"trial_name": null,
|
384 |
+
"trial_params": null
|
385 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:05701a75a17a757df7fa065c8f780a26b10555f4e4edd32fbc5aa4b4061e7fe0
|
3 |
+
size 5624
|