Upload folder using huggingface_hub
Browse files- README.md +160 -0
- adapter_config.json +34 -0
- adapter_model.bin +3 -0
- adapter_model.safetensors +3 -0
- config.json +33 -0
- last-checkpoint/README.md +202 -0
- last-checkpoint/adapter_config.json +34 -0
- last-checkpoint/adapter_model.safetensors +3 -0
- last-checkpoint/optimizer.pt +3 -0
- last-checkpoint/rng_state.pth +3 -0
- last-checkpoint/scheduler.pt +3 -0
- last-checkpoint/special_tokens_map.json +30 -0
- last-checkpoint/tokenizer.json +0 -0
- last-checkpoint/tokenizer.model +3 -0
- last-checkpoint/tokenizer_config.json +42 -0
- last-checkpoint/trainer_state.json +590 -0
- last-checkpoint/training_args.bin +3 -0
- special_tokens_map.json +30 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +42 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,160 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
base_model: NousResearch/CodeLlama-13b-hf-flash
|
4 |
+
tags:
|
5 |
+
- axolotl
|
6 |
+
- generated_from_trainer
|
7 |
+
model-index:
|
8 |
+
- name: a3d592f2-b1ec-4dcb-b6e8-a4e9308fd060
|
9 |
+
results: []
|
10 |
+
---
|
11 |
+
|
12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
13 |
+
should probably proofread and complete it, then remove this comment. -->
|
14 |
+
|
15 |
+
[<img src="https://raw.githubusercontent.com/axolotl-ai-cloud/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/axolotl-ai-cloud/axolotl)
|
16 |
+
<details><summary>See axolotl config</summary>
|
17 |
+
|
18 |
+
axolotl version: `0.4.1`
|
19 |
+
```yaml
|
20 |
+
adapter: lora
|
21 |
+
base_model: NousResearch/CodeLlama-13b-hf-flash
|
22 |
+
bf16: auto
|
23 |
+
chat_template: llama3
|
24 |
+
dataset_prepared_path: null
|
25 |
+
datasets:
|
26 |
+
- data_files:
|
27 |
+
- e282326303ea7f5f_train_data.json
|
28 |
+
ds_type: json
|
29 |
+
format: custom
|
30 |
+
path: /workspace/input_data/e282326303ea7f5f_train_data.json
|
31 |
+
type:
|
32 |
+
field_instruction: prompt
|
33 |
+
field_output: response_a
|
34 |
+
format: '{instruction}'
|
35 |
+
no_input_format: '{instruction}'
|
36 |
+
system_format: '{system}'
|
37 |
+
system_prompt: ''
|
38 |
+
debug: null
|
39 |
+
deepspeed: null
|
40 |
+
early_stopping_patience: null
|
41 |
+
eval_max_new_tokens: 128
|
42 |
+
eval_steps: 25
|
43 |
+
eval_table_size: null
|
44 |
+
flash_attention: false
|
45 |
+
fp16: null
|
46 |
+
fsdp: null
|
47 |
+
fsdp_config: null
|
48 |
+
gradient_accumulation_steps: 8
|
49 |
+
gradient_checkpointing: true
|
50 |
+
gradient_clipping: 1.0
|
51 |
+
group_by_length: true
|
52 |
+
hub_model_id: sn56/a3d592f2-b1ec-4dcb-b6e8-a4e9308fd060
|
53 |
+
hub_repo: null
|
54 |
+
hub_strategy: checkpoint
|
55 |
+
hub_token: null
|
56 |
+
learning_rate: 0.0001
|
57 |
+
load_in_4bit: false
|
58 |
+
load_in_8bit: false
|
59 |
+
local_rank: null
|
60 |
+
logging_steps: 1
|
61 |
+
lora_alpha: 64
|
62 |
+
lora_dropout: 0.05
|
63 |
+
lora_fan_in_fan_out: null
|
64 |
+
lora_model_dir: null
|
65 |
+
lora_r: 32
|
66 |
+
lora_target_linear: true
|
67 |
+
lr_scheduler: cosine
|
68 |
+
max_memory:
|
69 |
+
0: 74GiB
|
70 |
+
max_steps: 75
|
71 |
+
micro_batch_size: 2
|
72 |
+
mlflow_experiment_name: /tmp/e282326303ea7f5f_train_data.json
|
73 |
+
model_type: AutoModelForCausalLM
|
74 |
+
num_epochs: 3
|
75 |
+
optim_args:
|
76 |
+
adam_beta1: 0.9
|
77 |
+
adam_beta2: 0.95
|
78 |
+
adam_epsilon: 1e-5
|
79 |
+
optimizer: adamw_torch
|
80 |
+
output_dir: miner_id_24
|
81 |
+
pad_to_sequence_len: true
|
82 |
+
resume_from_checkpoint: null
|
83 |
+
s2_attention: null
|
84 |
+
sample_packing: false
|
85 |
+
save_steps: 25
|
86 |
+
save_strategy: steps
|
87 |
+
sequence_len: 2048
|
88 |
+
special_tokens:
|
89 |
+
pad_token: </s>
|
90 |
+
strict: false
|
91 |
+
tf32: false
|
92 |
+
tokenizer_type: AutoTokenizer
|
93 |
+
train_on_inputs: false
|
94 |
+
trust_remote_code: true
|
95 |
+
val_set_size: 0.05
|
96 |
+
wandb_entity: sn56-miner
|
97 |
+
wandb_mode: disabled
|
98 |
+
wandb_name: a3d592f2-b1ec-4dcb-b6e8-a4e9308fd060
|
99 |
+
wandb_project: god
|
100 |
+
wandb_run: sj9n
|
101 |
+
wandb_runid: a3d592f2-b1ec-4dcb-b6e8-a4e9308fd060
|
102 |
+
warmup_ratio: 0.05
|
103 |
+
weight_decay: 0.01
|
104 |
+
xformers_attention: true
|
105 |
+
|
106 |
+
```
|
107 |
+
|
108 |
+
</details><br>
|
109 |
+
|
110 |
+
# a3d592f2-b1ec-4dcb-b6e8-a4e9308fd060
|
111 |
+
|
112 |
+
This model is a fine-tuned version of [NousResearch/CodeLlama-13b-hf-flash](https://huggingface.co/NousResearch/CodeLlama-13b-hf-flash) on the None dataset.
|
113 |
+
It achieves the following results on the evaluation set:
|
114 |
+
- Loss: 1.0075
|
115 |
+
|
116 |
+
## Model description
|
117 |
+
|
118 |
+
More information needed
|
119 |
+
|
120 |
+
## Intended uses & limitations
|
121 |
+
|
122 |
+
More information needed
|
123 |
+
|
124 |
+
## Training and evaluation data
|
125 |
+
|
126 |
+
More information needed
|
127 |
+
|
128 |
+
## Training procedure
|
129 |
+
|
130 |
+
### Training hyperparameters
|
131 |
+
|
132 |
+
The following hyperparameters were used during training:
|
133 |
+
- learning_rate: 0.0001
|
134 |
+
- train_batch_size: 2
|
135 |
+
- eval_batch_size: 2
|
136 |
+
- seed: 42
|
137 |
+
- gradient_accumulation_steps: 8
|
138 |
+
- total_train_batch_size: 16
|
139 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=adam_beta1=0.9,adam_beta2=0.95,adam_epsilon=1e-5
|
140 |
+
- lr_scheduler_type: cosine
|
141 |
+
- lr_scheduler_warmup_steps: 3
|
142 |
+
- training_steps: 75
|
143 |
+
|
144 |
+
### Training results
|
145 |
+
|
146 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
147 |
+
|:-------------:|:------:|:----:|:---------------:|
|
148 |
+
| 4.8289 | 0.0004 | 1 | 1.1738 |
|
149 |
+
| 6.957 | 0.0088 | 25 | 1.0556 |
|
150 |
+
| 13.8822 | 0.0176 | 50 | 1.0191 |
|
151 |
+
| 8.2613 | 0.0264 | 75 | 1.0075 |
|
152 |
+
|
153 |
+
|
154 |
+
### Framework versions
|
155 |
+
|
156 |
+
- PEFT 0.13.2
|
157 |
+
- Transformers 4.46.0
|
158 |
+
- Pytorch 2.5.0+cu124
|
159 |
+
- Datasets 3.0.1
|
160 |
+
- Tokenizers 0.20.1
|
adapter_config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "NousResearch/CodeLlama-13b-hf-flash",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": null,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layer_replication": null,
|
10 |
+
"layers_pattern": null,
|
11 |
+
"layers_to_transform": null,
|
12 |
+
"loftq_config": {},
|
13 |
+
"lora_alpha": 64,
|
14 |
+
"lora_dropout": 0.05,
|
15 |
+
"megatron_config": null,
|
16 |
+
"megatron_core": "megatron.core",
|
17 |
+
"modules_to_save": null,
|
18 |
+
"peft_type": "LORA",
|
19 |
+
"r": 32,
|
20 |
+
"rank_pattern": {},
|
21 |
+
"revision": null,
|
22 |
+
"target_modules": [
|
23 |
+
"gate_proj",
|
24 |
+
"up_proj",
|
25 |
+
"down_proj",
|
26 |
+
"k_proj",
|
27 |
+
"q_proj",
|
28 |
+
"o_proj",
|
29 |
+
"v_proj"
|
30 |
+
],
|
31 |
+
"task_type": "CAUSAL_LM",
|
32 |
+
"use_dora": false,
|
33 |
+
"use_rslora": false
|
34 |
+
}
|
adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9642cf1527e51045cc34f89a99e95c8281bedd227240f215e93a0841a724e6fe
|
3 |
+
size 500897546
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8f53abadbe73d719bf92ceebb975e93f99bcaa19acae874c18a0b35430f1b81d
|
3 |
+
size 500770656
|
config.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_attn_implementation_autoset": true,
|
3 |
+
"_name_or_path": "NousResearch/CodeLlama-13b-hf-flash",
|
4 |
+
"architectures": [
|
5 |
+
"LlamaForCausalLM"
|
6 |
+
],
|
7 |
+
"auto_map": {
|
8 |
+
"AutoConfig": "NousResearch/CodeLlama-13b-hf-flash--configuration_llama.LlamaConfig",
|
9 |
+
"AutoModel": "NousResearch/CodeLlama-13b-hf-flash--modeling_flash_llama.LlamaModel",
|
10 |
+
"AutoModelForCausalLM": "NousResearch/CodeLlama-13b-hf-flash--modeling_flash_llama.LlamaForCausalLM",
|
11 |
+
"AutoModelForSequenceClassification": "NousResearch/CodeLlama-13b-hf-flash--modeling_flash_llama.LlamaForSequenceClassification"
|
12 |
+
},
|
13 |
+
"bos_token_id": 1,
|
14 |
+
"eos_token_id": 2,
|
15 |
+
"hidden_act": "silu",
|
16 |
+
"hidden_size": 5120,
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"intermediate_size": 13824,
|
19 |
+
"max_position_embeddings": 16384,
|
20 |
+
"model_type": "llama",
|
21 |
+
"num_attention_heads": 40,
|
22 |
+
"num_hidden_layers": 40,
|
23 |
+
"num_key_value_heads": 40,
|
24 |
+
"pretraining_tp": 1,
|
25 |
+
"rms_norm_eps": 1e-05,
|
26 |
+
"rope_scaling": null,
|
27 |
+
"rope_theta": 1000000,
|
28 |
+
"tie_word_embeddings": false,
|
29 |
+
"torch_dtype": "float16",
|
30 |
+
"transformers_version": "4.46.0",
|
31 |
+
"use_cache": false,
|
32 |
+
"vocab_size": 32016
|
33 |
+
}
|
last-checkpoint/README.md
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: NousResearch/CodeLlama-13b-hf-flash
|
3 |
+
library_name: peft
|
4 |
+
---
|
5 |
+
|
6 |
+
# Model Card for Model ID
|
7 |
+
|
8 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
9 |
+
|
10 |
+
|
11 |
+
|
12 |
+
## Model Details
|
13 |
+
|
14 |
+
### Model Description
|
15 |
+
|
16 |
+
<!-- Provide a longer summary of what this model is. -->
|
17 |
+
|
18 |
+
|
19 |
+
|
20 |
+
- **Developed by:** [More Information Needed]
|
21 |
+
- **Funded by [optional]:** [More Information Needed]
|
22 |
+
- **Shared by [optional]:** [More Information Needed]
|
23 |
+
- **Model type:** [More Information Needed]
|
24 |
+
- **Language(s) (NLP):** [More Information Needed]
|
25 |
+
- **License:** [More Information Needed]
|
26 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
27 |
+
|
28 |
+
### Model Sources [optional]
|
29 |
+
|
30 |
+
<!-- Provide the basic links for the model. -->
|
31 |
+
|
32 |
+
- **Repository:** [More Information Needed]
|
33 |
+
- **Paper [optional]:** [More Information Needed]
|
34 |
+
- **Demo [optional]:** [More Information Needed]
|
35 |
+
|
36 |
+
## Uses
|
37 |
+
|
38 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
39 |
+
|
40 |
+
### Direct Use
|
41 |
+
|
42 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
43 |
+
|
44 |
+
[More Information Needed]
|
45 |
+
|
46 |
+
### Downstream Use [optional]
|
47 |
+
|
48 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
49 |
+
|
50 |
+
[More Information Needed]
|
51 |
+
|
52 |
+
### Out-of-Scope Use
|
53 |
+
|
54 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
55 |
+
|
56 |
+
[More Information Needed]
|
57 |
+
|
58 |
+
## Bias, Risks, and Limitations
|
59 |
+
|
60 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
61 |
+
|
62 |
+
[More Information Needed]
|
63 |
+
|
64 |
+
### Recommendations
|
65 |
+
|
66 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
67 |
+
|
68 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
69 |
+
|
70 |
+
## How to Get Started with the Model
|
71 |
+
|
72 |
+
Use the code below to get started with the model.
|
73 |
+
|
74 |
+
[More Information Needed]
|
75 |
+
|
76 |
+
## Training Details
|
77 |
+
|
78 |
+
### Training Data
|
79 |
+
|
80 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
81 |
+
|
82 |
+
[More Information Needed]
|
83 |
+
|
84 |
+
### Training Procedure
|
85 |
+
|
86 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
87 |
+
|
88 |
+
#### Preprocessing [optional]
|
89 |
+
|
90 |
+
[More Information Needed]
|
91 |
+
|
92 |
+
|
93 |
+
#### Training Hyperparameters
|
94 |
+
|
95 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
96 |
+
|
97 |
+
#### Speeds, Sizes, Times [optional]
|
98 |
+
|
99 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
100 |
+
|
101 |
+
[More Information Needed]
|
102 |
+
|
103 |
+
## Evaluation
|
104 |
+
|
105 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
106 |
+
|
107 |
+
### Testing Data, Factors & Metrics
|
108 |
+
|
109 |
+
#### Testing Data
|
110 |
+
|
111 |
+
<!-- This should link to a Dataset Card if possible. -->
|
112 |
+
|
113 |
+
[More Information Needed]
|
114 |
+
|
115 |
+
#### Factors
|
116 |
+
|
117 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
118 |
+
|
119 |
+
[More Information Needed]
|
120 |
+
|
121 |
+
#### Metrics
|
122 |
+
|
123 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
124 |
+
|
125 |
+
[More Information Needed]
|
126 |
+
|
127 |
+
### Results
|
128 |
+
|
129 |
+
[More Information Needed]
|
130 |
+
|
131 |
+
#### Summary
|
132 |
+
|
133 |
+
|
134 |
+
|
135 |
+
## Model Examination [optional]
|
136 |
+
|
137 |
+
<!-- Relevant interpretability work for the model goes here -->
|
138 |
+
|
139 |
+
[More Information Needed]
|
140 |
+
|
141 |
+
## Environmental Impact
|
142 |
+
|
143 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
144 |
+
|
145 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
146 |
+
|
147 |
+
- **Hardware Type:** [More Information Needed]
|
148 |
+
- **Hours used:** [More Information Needed]
|
149 |
+
- **Cloud Provider:** [More Information Needed]
|
150 |
+
- **Compute Region:** [More Information Needed]
|
151 |
+
- **Carbon Emitted:** [More Information Needed]
|
152 |
+
|
153 |
+
## Technical Specifications [optional]
|
154 |
+
|
155 |
+
### Model Architecture and Objective
|
156 |
+
|
157 |
+
[More Information Needed]
|
158 |
+
|
159 |
+
### Compute Infrastructure
|
160 |
+
|
161 |
+
[More Information Needed]
|
162 |
+
|
163 |
+
#### Hardware
|
164 |
+
|
165 |
+
[More Information Needed]
|
166 |
+
|
167 |
+
#### Software
|
168 |
+
|
169 |
+
[More Information Needed]
|
170 |
+
|
171 |
+
## Citation [optional]
|
172 |
+
|
173 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
174 |
+
|
175 |
+
**BibTeX:**
|
176 |
+
|
177 |
+
[More Information Needed]
|
178 |
+
|
179 |
+
**APA:**
|
180 |
+
|
181 |
+
[More Information Needed]
|
182 |
+
|
183 |
+
## Glossary [optional]
|
184 |
+
|
185 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
186 |
+
|
187 |
+
[More Information Needed]
|
188 |
+
|
189 |
+
## More Information [optional]
|
190 |
+
|
191 |
+
[More Information Needed]
|
192 |
+
|
193 |
+
## Model Card Authors [optional]
|
194 |
+
|
195 |
+
[More Information Needed]
|
196 |
+
|
197 |
+
## Model Card Contact
|
198 |
+
|
199 |
+
[More Information Needed]
|
200 |
+
### Framework versions
|
201 |
+
|
202 |
+
- PEFT 0.13.2
|
last-checkpoint/adapter_config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "NousResearch/CodeLlama-13b-hf-flash",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": null,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layer_replication": null,
|
10 |
+
"layers_pattern": null,
|
11 |
+
"layers_to_transform": null,
|
12 |
+
"loftq_config": {},
|
13 |
+
"lora_alpha": 64,
|
14 |
+
"lora_dropout": 0.05,
|
15 |
+
"megatron_config": null,
|
16 |
+
"megatron_core": "megatron.core",
|
17 |
+
"modules_to_save": null,
|
18 |
+
"peft_type": "LORA",
|
19 |
+
"r": 32,
|
20 |
+
"rank_pattern": {},
|
21 |
+
"revision": null,
|
22 |
+
"target_modules": [
|
23 |
+
"gate_proj",
|
24 |
+
"up_proj",
|
25 |
+
"down_proj",
|
26 |
+
"k_proj",
|
27 |
+
"q_proj",
|
28 |
+
"o_proj",
|
29 |
+
"v_proj"
|
30 |
+
],
|
31 |
+
"task_type": "CAUSAL_LM",
|
32 |
+
"use_dora": false,
|
33 |
+
"use_rslora": false
|
34 |
+
}
|
last-checkpoint/adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8f53abadbe73d719bf92ceebb975e93f99bcaa19acae874c18a0b35430f1b81d
|
3 |
+
size 500770656
|
last-checkpoint/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:83e3262bd01abac8dbd96797ef5d5aac9731cb5120b4cb5395eccc49f4d4370a
|
3 |
+
size 1001863522
|
last-checkpoint/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:31fd9039fdc861dba888e5236e84d999e88f526fb2ab44628def9efc8888394f
|
3 |
+
size 14244
|
last-checkpoint/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:212837ccb433e5430b061dc107b19dc09e932e6cfb62a751187d0903b7b0d94e
|
3 |
+
size 1064
|
last-checkpoint/special_tokens_map.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": 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": "</s>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"unk_token": {
|
24 |
+
"content": "<unk>",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
}
|
30 |
+
}
|
last-checkpoint/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
last-checkpoint/tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:45ccb9c8b6b561889acea59191d66986d314e7cbd6a78abc6e49b139ca91c1e6
|
3 |
+
size 500058
|
last-checkpoint/tokenizer_config.json
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"add_prefix_space": null,
|
5 |
+
"added_tokens_decoder": {
|
6 |
+
"0": {
|
7 |
+
"content": "<unk>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": 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": false,
|
27 |
+
"single_word": false,
|
28 |
+
"special": true
|
29 |
+
}
|
30 |
+
},
|
31 |
+
"bos_token": "<s>",
|
32 |
+
"chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set loop_messages = messages %}{% for message in loop_messages %}{% set content = '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' %}{% if loop.index0 == 0 %}{% set content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>\n\n' }}{% endif %}",
|
33 |
+
"clean_up_tokenization_spaces": false,
|
34 |
+
"eos_token": "</s>",
|
35 |
+
"legacy": true,
|
36 |
+
"model_max_length": 1000000000000000019884624838656,
|
37 |
+
"pad_token": "</s>",
|
38 |
+
"sp_model_kwargs": {},
|
39 |
+
"tokenizer_class": "LlamaTokenizer",
|
40 |
+
"unk_token": "<unk>",
|
41 |
+
"use_default_system_prompt": false
|
42 |
+
}
|
last-checkpoint/trainer_state.json
ADDED
@@ -0,0 +1,590 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 0.02635393332454869,
|
5 |
+
"eval_steps": 25,
|
6 |
+
"global_step": 75,
|
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.0003513857776606492,
|
13 |
+
"grad_norm": 0.40566906332969666,
|
14 |
+
"learning_rate": 3.3333333333333335e-05,
|
15 |
+
"loss": 4.8289,
|
16 |
+
"step": 1
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.0003513857776606492,
|
20 |
+
"eval_loss": 1.173790454864502,
|
21 |
+
"eval_runtime": 610.791,
|
22 |
+
"eval_samples_per_second": 3.924,
|
23 |
+
"eval_steps_per_second": 1.963,
|
24 |
+
"step": 1
|
25 |
+
},
|
26 |
+
{
|
27 |
+
"epoch": 0.0007027715553212984,
|
28 |
+
"grad_norm": 0.5825751423835754,
|
29 |
+
"learning_rate": 6.666666666666667e-05,
|
30 |
+
"loss": 10.7893,
|
31 |
+
"step": 2
|
32 |
+
},
|
33 |
+
{
|
34 |
+
"epoch": 0.0010541573329819476,
|
35 |
+
"grad_norm": 0.4203815460205078,
|
36 |
+
"learning_rate": 0.0001,
|
37 |
+
"loss": 5.0236,
|
38 |
+
"step": 3
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 0.0014055431106425968,
|
42 |
+
"grad_norm": 0.5486876964569092,
|
43 |
+
"learning_rate": 9.99524110790929e-05,
|
44 |
+
"loss": 5.2274,
|
45 |
+
"step": 4
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 0.001756928888303246,
|
49 |
+
"grad_norm": 0.49067986011505127,
|
50 |
+
"learning_rate": 9.980973490458728e-05,
|
51 |
+
"loss": 8.6525,
|
52 |
+
"step": 5
|
53 |
+
},
|
54 |
+
{
|
55 |
+
"epoch": 0.002108314665963895,
|
56 |
+
"grad_norm": 0.5652139782905579,
|
57 |
+
"learning_rate": 9.957224306869053e-05,
|
58 |
+
"loss": 10.0269,
|
59 |
+
"step": 6
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"epoch": 0.002459700443624544,
|
63 |
+
"grad_norm": 0.6335968375205994,
|
64 |
+
"learning_rate": 9.924038765061042e-05,
|
65 |
+
"loss": 6.0283,
|
66 |
+
"step": 7
|
67 |
+
},
|
68 |
+
{
|
69 |
+
"epoch": 0.0028110862212851937,
|
70 |
+
"grad_norm": 0.6399157047271729,
|
71 |
+
"learning_rate": 9.881480035599667e-05,
|
72 |
+
"loss": 5.6921,
|
73 |
+
"step": 8
|
74 |
+
},
|
75 |
+
{
|
76 |
+
"epoch": 0.0031624719989458427,
|
77 |
+
"grad_norm": 0.7017378807067871,
|
78 |
+
"learning_rate": 9.829629131445342e-05,
|
79 |
+
"loss": 6.5049,
|
80 |
+
"step": 9
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 0.003513857776606492,
|
84 |
+
"grad_norm": 0.6648010015487671,
|
85 |
+
"learning_rate": 9.768584753741134e-05,
|
86 |
+
"loss": 6.5068,
|
87 |
+
"step": 10
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"epoch": 0.003865243554267141,
|
91 |
+
"grad_norm": 0.7622893452644348,
|
92 |
+
"learning_rate": 9.698463103929542e-05,
|
93 |
+
"loss": 6.1024,
|
94 |
+
"step": 11
|
95 |
+
},
|
96 |
+
{
|
97 |
+
"epoch": 0.00421662933192779,
|
98 |
+
"grad_norm": 0.8102121353149414,
|
99 |
+
"learning_rate": 9.619397662556435e-05,
|
100 |
+
"loss": 6.9054,
|
101 |
+
"step": 12
|
102 |
+
},
|
103 |
+
{
|
104 |
+
"epoch": 0.00456801510958844,
|
105 |
+
"grad_norm": 1.0450242757797241,
|
106 |
+
"learning_rate": 9.53153893518325e-05,
|
107 |
+
"loss": 8.0875,
|
108 |
+
"step": 13
|
109 |
+
},
|
110 |
+
{
|
111 |
+
"epoch": 0.004919400887249088,
|
112 |
+
"grad_norm": 1.1724853515625,
|
113 |
+
"learning_rate": 9.435054165891109e-05,
|
114 |
+
"loss": 6.9638,
|
115 |
+
"step": 14
|
116 |
+
},
|
117 |
+
{
|
118 |
+
"epoch": 0.005270786664909738,
|
119 |
+
"grad_norm": 1.17697012424469,
|
120 |
+
"learning_rate": 9.330127018922194e-05,
|
121 |
+
"loss": 6.5686,
|
122 |
+
"step": 15
|
123 |
+
},
|
124 |
+
{
|
125 |
+
"epoch": 0.005622172442570387,
|
126 |
+
"grad_norm": 0.9172914624214172,
|
127 |
+
"learning_rate": 9.21695722906443e-05,
|
128 |
+
"loss": 6.4815,
|
129 |
+
"step": 16
|
130 |
+
},
|
131 |
+
{
|
132 |
+
"epoch": 0.005973558220231036,
|
133 |
+
"grad_norm": 1.8105238676071167,
|
134 |
+
"learning_rate": 9.09576022144496e-05,
|
135 |
+
"loss": 7.5522,
|
136 |
+
"step": 17
|
137 |
+
},
|
138 |
+
{
|
139 |
+
"epoch": 0.0063249439978916855,
|
140 |
+
"grad_norm": 1.1030470132827759,
|
141 |
+
"learning_rate": 8.966766701456177e-05,
|
142 |
+
"loss": 7.9177,
|
143 |
+
"step": 18
|
144 |
+
},
|
145 |
+
{
|
146 |
+
"epoch": 0.006676329775552334,
|
147 |
+
"grad_norm": 1.0749439001083374,
|
148 |
+
"learning_rate": 8.83022221559489e-05,
|
149 |
+
"loss": 8.2476,
|
150 |
+
"step": 19
|
151 |
+
},
|
152 |
+
{
|
153 |
+
"epoch": 0.007027715553212984,
|
154 |
+
"grad_norm": 0.988822877407074,
|
155 |
+
"learning_rate": 8.68638668405062e-05,
|
156 |
+
"loss": 8.0408,
|
157 |
+
"step": 20
|
158 |
+
},
|
159 |
+
{
|
160 |
+
"epoch": 0.007379101330873633,
|
161 |
+
"grad_norm": 1.0468634366989136,
|
162 |
+
"learning_rate": 8.535533905932738e-05,
|
163 |
+
"loss": 7.7576,
|
164 |
+
"step": 21
|
165 |
+
},
|
166 |
+
{
|
167 |
+
"epoch": 0.007730487108534282,
|
168 |
+
"grad_norm": 1.0833945274353027,
|
169 |
+
"learning_rate": 8.377951038078302e-05,
|
170 |
+
"loss": 7.7106,
|
171 |
+
"step": 22
|
172 |
+
},
|
173 |
+
{
|
174 |
+
"epoch": 0.008081872886194932,
|
175 |
+
"grad_norm": 1.1043288707733154,
|
176 |
+
"learning_rate": 8.213938048432697e-05,
|
177 |
+
"loss": 7.796,
|
178 |
+
"step": 23
|
179 |
+
},
|
180 |
+
{
|
181 |
+
"epoch": 0.00843325866385558,
|
182 |
+
"grad_norm": 1.253221869468689,
|
183 |
+
"learning_rate": 8.043807145043604e-05,
|
184 |
+
"loss": 7.2421,
|
185 |
+
"step": 24
|
186 |
+
},
|
187 |
+
{
|
188 |
+
"epoch": 0.00878464444151623,
|
189 |
+
"grad_norm": 1.5644135475158691,
|
190 |
+
"learning_rate": 7.86788218175523e-05,
|
191 |
+
"loss": 6.957,
|
192 |
+
"step": 25
|
193 |
+
},
|
194 |
+
{
|
195 |
+
"epoch": 0.00878464444151623,
|
196 |
+
"eval_loss": 1.055617094039917,
|
197 |
+
"eval_runtime": 614.7811,
|
198 |
+
"eval_samples_per_second": 3.899,
|
199 |
+
"eval_steps_per_second": 1.95,
|
200 |
+
"step": 25
|
201 |
+
},
|
202 |
+
{
|
203 |
+
"epoch": 0.00913603021917688,
|
204 |
+
"grad_norm": 1.6291801929473877,
|
205 |
+
"learning_rate": 7.68649804173412e-05,
|
206 |
+
"loss": 7.8515,
|
207 |
+
"step": 26
|
208 |
+
},
|
209 |
+
{
|
210 |
+
"epoch": 0.009487415996837528,
|
211 |
+
"grad_norm": 1.4865143299102783,
|
212 |
+
"learning_rate": 7.500000000000001e-05,
|
213 |
+
"loss": 6.6876,
|
214 |
+
"step": 27
|
215 |
+
},
|
216 |
+
{
|
217 |
+
"epoch": 0.009838801774498177,
|
218 |
+
"grad_norm": 1.633550763130188,
|
219 |
+
"learning_rate": 7.308743066175172e-05,
|
220 |
+
"loss": 9.7649,
|
221 |
+
"step": 28
|
222 |
+
},
|
223 |
+
{
|
224 |
+
"epoch": 0.010190187552158827,
|
225 |
+
"grad_norm": 1.6559158563613892,
|
226 |
+
"learning_rate": 7.113091308703498e-05,
|
227 |
+
"loss": 7.7611,
|
228 |
+
"step": 29
|
229 |
+
},
|
230 |
+
{
|
231 |
+
"epoch": 0.010541573329819476,
|
232 |
+
"grad_norm": 1.56125807762146,
|
233 |
+
"learning_rate": 6.91341716182545e-05,
|
234 |
+
"loss": 8.1391,
|
235 |
+
"step": 30
|
236 |
+
},
|
237 |
+
{
|
238 |
+
"epoch": 0.010892959107480124,
|
239 |
+
"grad_norm": 1.4842593669891357,
|
240 |
+
"learning_rate": 6.710100716628344e-05,
|
241 |
+
"loss": 7.1128,
|
242 |
+
"step": 31
|
243 |
+
},
|
244 |
+
{
|
245 |
+
"epoch": 0.011244344885140775,
|
246 |
+
"grad_norm": 1.9677858352661133,
|
247 |
+
"learning_rate": 6.503528997521366e-05,
|
248 |
+
"loss": 8.2545,
|
249 |
+
"step": 32
|
250 |
+
},
|
251 |
+
{
|
252 |
+
"epoch": 0.011595730662801423,
|
253 |
+
"grad_norm": 2.1278786659240723,
|
254 |
+
"learning_rate": 6.294095225512603e-05,
|
255 |
+
"loss": 8.5091,
|
256 |
+
"step": 33
|
257 |
+
},
|
258 |
+
{
|
259 |
+
"epoch": 0.011947116440462072,
|
260 |
+
"grad_norm": 1.7648427486419678,
|
261 |
+
"learning_rate": 6.0821980696905146e-05,
|
262 |
+
"loss": 6.5063,
|
263 |
+
"step": 34
|
264 |
+
},
|
265 |
+
{
|
266 |
+
"epoch": 0.01229850221812272,
|
267 |
+
"grad_norm": 1.6439030170440674,
|
268 |
+
"learning_rate": 5.868240888334653e-05,
|
269 |
+
"loss": 8.567,
|
270 |
+
"step": 35
|
271 |
+
},
|
272 |
+
{
|
273 |
+
"epoch": 0.012649887995783371,
|
274 |
+
"grad_norm": 1.884887456893921,
|
275 |
+
"learning_rate": 5.6526309611002594e-05,
|
276 |
+
"loss": 8.3356,
|
277 |
+
"step": 36
|
278 |
+
},
|
279 |
+
{
|
280 |
+
"epoch": 0.01300127377344402,
|
281 |
+
"grad_norm": 1.6573904752731323,
|
282 |
+
"learning_rate": 5.435778713738292e-05,
|
283 |
+
"loss": 7.9903,
|
284 |
+
"step": 37
|
285 |
+
},
|
286 |
+
{
|
287 |
+
"epoch": 0.013352659551104668,
|
288 |
+
"grad_norm": 1.8767001628875732,
|
289 |
+
"learning_rate": 5.218096936826681e-05,
|
290 |
+
"loss": 7.5882,
|
291 |
+
"step": 38
|
292 |
+
},
|
293 |
+
{
|
294 |
+
"epoch": 0.013704045328765319,
|
295 |
+
"grad_norm": 2.158738374710083,
|
296 |
+
"learning_rate": 5e-05,
|
297 |
+
"loss": 9.144,
|
298 |
+
"step": 39
|
299 |
+
},
|
300 |
+
{
|
301 |
+
"epoch": 0.014055431106425967,
|
302 |
+
"grad_norm": 2.622767448425293,
|
303 |
+
"learning_rate": 4.781903063173321e-05,
|
304 |
+
"loss": 9.0718,
|
305 |
+
"step": 40
|
306 |
+
},
|
307 |
+
{
|
308 |
+
"epoch": 0.014406816884086616,
|
309 |
+
"grad_norm": 2.098249912261963,
|
310 |
+
"learning_rate": 4.564221286261709e-05,
|
311 |
+
"loss": 7.5903,
|
312 |
+
"step": 41
|
313 |
+
},
|
314 |
+
{
|
315 |
+
"epoch": 0.014758202661747266,
|
316 |
+
"grad_norm": 2.695885419845581,
|
317 |
+
"learning_rate": 4.347369038899744e-05,
|
318 |
+
"loss": 9.2641,
|
319 |
+
"step": 42
|
320 |
+
},
|
321 |
+
{
|
322 |
+
"epoch": 0.015109588439407915,
|
323 |
+
"grad_norm": 2.7287509441375732,
|
324 |
+
"learning_rate": 4.131759111665349e-05,
|
325 |
+
"loss": 9.99,
|
326 |
+
"step": 43
|
327 |
+
},
|
328 |
+
{
|
329 |
+
"epoch": 0.015460974217068563,
|
330 |
+
"grad_norm": 2.987199068069458,
|
331 |
+
"learning_rate": 3.917801930309486e-05,
|
332 |
+
"loss": 9.1632,
|
333 |
+
"step": 44
|
334 |
+
},
|
335 |
+
{
|
336 |
+
"epoch": 0.015812359994729214,
|
337 |
+
"grad_norm": 3.6520209312438965,
|
338 |
+
"learning_rate": 3.705904774487396e-05,
|
339 |
+
"loss": 10.3929,
|
340 |
+
"step": 45
|
341 |
+
},
|
342 |
+
{
|
343 |
+
"epoch": 0.016163745772389864,
|
344 |
+
"grad_norm": 3.4548537731170654,
|
345 |
+
"learning_rate": 3.4964710024786354e-05,
|
346 |
+
"loss": 10.003,
|
347 |
+
"step": 46
|
348 |
+
},
|
349 |
+
{
|
350 |
+
"epoch": 0.01651513155005051,
|
351 |
+
"grad_norm": 5.150744915008545,
|
352 |
+
"learning_rate": 3.289899283371657e-05,
|
353 |
+
"loss": 11.3511,
|
354 |
+
"step": 47
|
355 |
+
},
|
356 |
+
{
|
357 |
+
"epoch": 0.01686651732771116,
|
358 |
+
"grad_norm": 7.644892692565918,
|
359 |
+
"learning_rate": 3.086582838174551e-05,
|
360 |
+
"loss": 10.2625,
|
361 |
+
"step": 48
|
362 |
+
},
|
363 |
+
{
|
364 |
+
"epoch": 0.01721790310537181,
|
365 |
+
"grad_norm": 9.981356620788574,
|
366 |
+
"learning_rate": 2.886908691296504e-05,
|
367 |
+
"loss": 11.0407,
|
368 |
+
"step": 49
|
369 |
+
},
|
370 |
+
{
|
371 |
+
"epoch": 0.01756928888303246,
|
372 |
+
"grad_norm": 21.54275131225586,
|
373 |
+
"learning_rate": 2.6912569338248315e-05,
|
374 |
+
"loss": 13.8822,
|
375 |
+
"step": 50
|
376 |
+
},
|
377 |
+
{
|
378 |
+
"epoch": 0.01756928888303246,
|
379 |
+
"eval_loss": 1.019070029258728,
|
380 |
+
"eval_runtime": 614.5764,
|
381 |
+
"eval_samples_per_second": 3.9,
|
382 |
+
"eval_steps_per_second": 1.951,
|
383 |
+
"step": 50
|
384 |
+
},
|
385 |
+
{
|
386 |
+
"epoch": 0.01792067466069311,
|
387 |
+
"grad_norm": 1.2253239154815674,
|
388 |
+
"learning_rate": 2.500000000000001e-05,
|
389 |
+
"loss": 5.3973,
|
390 |
+
"step": 51
|
391 |
+
},
|
392 |
+
{
|
393 |
+
"epoch": 0.01827206043835376,
|
394 |
+
"grad_norm": 0.9925060868263245,
|
395 |
+
"learning_rate": 2.3135019582658802e-05,
|
396 |
+
"loss": 5.1567,
|
397 |
+
"step": 52
|
398 |
+
},
|
399 |
+
{
|
400 |
+
"epoch": 0.018623446216014406,
|
401 |
+
"grad_norm": 1.3718881607055664,
|
402 |
+
"learning_rate": 2.132117818244771e-05,
|
403 |
+
"loss": 7.931,
|
404 |
+
"step": 53
|
405 |
+
},
|
406 |
+
{
|
407 |
+
"epoch": 0.018974831993675056,
|
408 |
+
"grad_norm": 1.1585586071014404,
|
409 |
+
"learning_rate": 1.9561928549563968e-05,
|
410 |
+
"loss": 9.9163,
|
411 |
+
"step": 54
|
412 |
+
},
|
413 |
+
{
|
414 |
+
"epoch": 0.019326217771335707,
|
415 |
+
"grad_norm": 1.292351245880127,
|
416 |
+
"learning_rate": 1.7860619515673033e-05,
|
417 |
+
"loss": 14.2114,
|
418 |
+
"step": 55
|
419 |
+
},
|
420 |
+
{
|
421 |
+
"epoch": 0.019677603548996354,
|
422 |
+
"grad_norm": 0.7819482088088989,
|
423 |
+
"learning_rate": 1.622048961921699e-05,
|
424 |
+
"loss": 5.4162,
|
425 |
+
"step": 56
|
426 |
+
},
|
427 |
+
{
|
428 |
+
"epoch": 0.020028989326657004,
|
429 |
+
"grad_norm": 0.9459342956542969,
|
430 |
+
"learning_rate": 1.4644660940672627e-05,
|
431 |
+
"loss": 8.4571,
|
432 |
+
"step": 57
|
433 |
+
},
|
434 |
+
{
|
435 |
+
"epoch": 0.020380375104317654,
|
436 |
+
"grad_norm": 0.8447139859199524,
|
437 |
+
"learning_rate": 1.3136133159493802e-05,
|
438 |
+
"loss": 4.3193,
|
439 |
+
"step": 58
|
440 |
+
},
|
441 |
+
{
|
442 |
+
"epoch": 0.0207317608819783,
|
443 |
+
"grad_norm": 0.9083331823348999,
|
444 |
+
"learning_rate": 1.1697777844051105e-05,
|
445 |
+
"loss": 5.212,
|
446 |
+
"step": 59
|
447 |
+
},
|
448 |
+
{
|
449 |
+
"epoch": 0.02108314665963895,
|
450 |
+
"grad_norm": 0.9303866028785706,
|
451 |
+
"learning_rate": 1.0332332985438248e-05,
|
452 |
+
"loss": 5.864,
|
453 |
+
"step": 60
|
454 |
+
},
|
455 |
+
{
|
456 |
+
"epoch": 0.021434532437299602,
|
457 |
+
"grad_norm": 0.9800831079483032,
|
458 |
+
"learning_rate": 9.042397785550405e-06,
|
459 |
+
"loss": 5.7093,
|
460 |
+
"step": 61
|
461 |
+
},
|
462 |
+
{
|
463 |
+
"epoch": 0.02178591821496025,
|
464 |
+
"grad_norm": 1.0370510816574097,
|
465 |
+
"learning_rate": 7.830427709355725e-06,
|
466 |
+
"loss": 7.2464,
|
467 |
+
"step": 62
|
468 |
+
},
|
469 |
+
{
|
470 |
+
"epoch": 0.0221373039926209,
|
471 |
+
"grad_norm": 1.0886764526367188,
|
472 |
+
"learning_rate": 6.698729810778065e-06,
|
473 |
+
"loss": 6.793,
|
474 |
+
"step": 63
|
475 |
+
},
|
476 |
+
{
|
477 |
+
"epoch": 0.02248868977028155,
|
478 |
+
"grad_norm": 1.2717602252960205,
|
479 |
+
"learning_rate": 5.649458341088915e-06,
|
480 |
+
"loss": 7.8938,
|
481 |
+
"step": 64
|
482 |
+
},
|
483 |
+
{
|
484 |
+
"epoch": 0.022840075547942196,
|
485 |
+
"grad_norm": 1.13100004196167,
|
486 |
+
"learning_rate": 4.684610648167503e-06,
|
487 |
+
"loss": 6.6839,
|
488 |
+
"step": 65
|
489 |
+
},
|
490 |
+
{
|
491 |
+
"epoch": 0.023191461325602847,
|
492 |
+
"grad_norm": 1.103505253791809,
|
493 |
+
"learning_rate": 3.8060233744356633e-06,
|
494 |
+
"loss": 7.4892,
|
495 |
+
"step": 66
|
496 |
+
},
|
497 |
+
{
|
498 |
+
"epoch": 0.023542847103263497,
|
499 |
+
"grad_norm": 1.0577113628387451,
|
500 |
+
"learning_rate": 3.0153689607045845e-06,
|
501 |
+
"loss": 6.9858,
|
502 |
+
"step": 67
|
503 |
+
},
|
504 |
+
{
|
505 |
+
"epoch": 0.023894232880924144,
|
506 |
+
"grad_norm": 1.1837400197982788,
|
507 |
+
"learning_rate": 2.314152462588659e-06,
|
508 |
+
"loss": 7.707,
|
509 |
+
"step": 68
|
510 |
+
},
|
511 |
+
{
|
512 |
+
"epoch": 0.024245618658584794,
|
513 |
+
"grad_norm": 1.2462010383605957,
|
514 |
+
"learning_rate": 1.70370868554659e-06,
|
515 |
+
"loss": 8.0216,
|
516 |
+
"step": 69
|
517 |
+
},
|
518 |
+
{
|
519 |
+
"epoch": 0.02459700443624544,
|
520 |
+
"grad_norm": 1.1442655324935913,
|
521 |
+
"learning_rate": 1.1851996440033319e-06,
|
522 |
+
"loss": 7.1856,
|
523 |
+
"step": 70
|
524 |
+
},
|
525 |
+
{
|
526 |
+
"epoch": 0.02494839021390609,
|
527 |
+
"grad_norm": 1.1962558031082153,
|
528 |
+
"learning_rate": 7.596123493895991e-07,
|
529 |
+
"loss": 7.0156,
|
530 |
+
"step": 71
|
531 |
+
},
|
532 |
+
{
|
533 |
+
"epoch": 0.025299775991566742,
|
534 |
+
"grad_norm": 1.2656418085098267,
|
535 |
+
"learning_rate": 4.277569313094809e-07,
|
536 |
+
"loss": 7.6485,
|
537 |
+
"step": 72
|
538 |
+
},
|
539 |
+
{
|
540 |
+
"epoch": 0.02565116176922739,
|
541 |
+
"grad_norm": 1.0747231245040894,
|
542 |
+
"learning_rate": 1.9026509541272275e-07,
|
543 |
+
"loss": 6.3779,
|
544 |
+
"step": 73
|
545 |
+
},
|
546 |
+
{
|
547 |
+
"epoch": 0.02600254754688804,
|
548 |
+
"grad_norm": 1.213733196258545,
|
549 |
+
"learning_rate": 4.7588920907110094e-08,
|
550 |
+
"loss": 8.1561,
|
551 |
+
"step": 74
|
552 |
+
},
|
553 |
+
{
|
554 |
+
"epoch": 0.02635393332454869,
|
555 |
+
"grad_norm": 1.571469783782959,
|
556 |
+
"learning_rate": 0.0,
|
557 |
+
"loss": 8.2613,
|
558 |
+
"step": 75
|
559 |
+
},
|
560 |
+
{
|
561 |
+
"epoch": 0.02635393332454869,
|
562 |
+
"eval_loss": 1.00751793384552,
|
563 |
+
"eval_runtime": 614.6938,
|
564 |
+
"eval_samples_per_second": 3.9,
|
565 |
+
"eval_steps_per_second": 1.951,
|
566 |
+
"step": 75
|
567 |
+
}
|
568 |
+
],
|
569 |
+
"logging_steps": 1,
|
570 |
+
"max_steps": 75,
|
571 |
+
"num_input_tokens_seen": 0,
|
572 |
+
"num_train_epochs": 1,
|
573 |
+
"save_steps": 25,
|
574 |
+
"stateful_callbacks": {
|
575 |
+
"TrainerControl": {
|
576 |
+
"args": {
|
577 |
+
"should_epoch_stop": false,
|
578 |
+
"should_evaluate": false,
|
579 |
+
"should_log": false,
|
580 |
+
"should_save": true,
|
581 |
+
"should_training_stop": true
|
582 |
+
},
|
583 |
+
"attributes": {}
|
584 |
+
}
|
585 |
+
},
|
586 |
+
"total_flos": 2.2197502476288e+17,
|
587 |
+
"train_batch_size": 2,
|
588 |
+
"trial_name": null,
|
589 |
+
"trial_params": null
|
590 |
+
}
|
last-checkpoint/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:84caf77f4019f10dcb16b83dabd9c89fb5b415e94e82062954eca85730d0b951
|
3 |
+
size 6776
|
special_tokens_map.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "</s>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"unk_token": {
|
24 |
+
"content": "<unk>",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
}
|
30 |
+
}
|
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:45ccb9c8b6b561889acea59191d66986d314e7cbd6a78abc6e49b139ca91c1e6
|
3 |
+
size 500058
|
tokenizer_config.json
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"add_prefix_space": null,
|
5 |
+
"added_tokens_decoder": {
|
6 |
+
"0": {
|
7 |
+
"content": "<unk>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": 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": false,
|
27 |
+
"single_word": false,
|
28 |
+
"special": true
|
29 |
+
}
|
30 |
+
},
|
31 |
+
"bos_token": "<s>",
|
32 |
+
"chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set loop_messages = messages %}{% for message in loop_messages %}{% set content = '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' %}{% if loop.index0 == 0 %}{% set content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>\n\n' }}{% endif %}",
|
33 |
+
"clean_up_tokenization_spaces": false,
|
34 |
+
"eos_token": "</s>",
|
35 |
+
"legacy": true,
|
36 |
+
"model_max_length": 1000000000000000019884624838656,
|
37 |
+
"pad_token": "</s>",
|
38 |
+
"sp_model_kwargs": {},
|
39 |
+
"tokenizer_class": "LlamaTokenizer",
|
40 |
+
"unk_token": "<unk>",
|
41 |
+
"use_default_system_prompt": false
|
42 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:84caf77f4019f10dcb16b83dabd9c89fb5b415e94e82062954eca85730d0b951
|
3 |
+
size 6776
|