Upload folder using huggingface_hub
Browse files- README.md +156 -0
- adapter_config.json +34 -0
- adapter_model.bin +3 -0
- adapter_model.safetensors +3 -0
- config.json +37 -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 +43 -0
- last-checkpoint/trainer_state.json +135 -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 +43 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,156 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
base_model: NousResearch/Yarn-Llama-2-7b-64k
|
4 |
+
tags:
|
5 |
+
- axolotl
|
6 |
+
- generated_from_trainer
|
7 |
+
model-index:
|
8 |
+
- name: 2e8b85e6-bb40-401e-ac81-8389a95a2a8c
|
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/Yarn-Llama-2-7b-64k
|
22 |
+
bf16: auto
|
23 |
+
chat_template: llama3
|
24 |
+
dataset_prepared_path: null
|
25 |
+
datasets:
|
26 |
+
- data_files:
|
27 |
+
- 021f9f7742ecff4b_train_data.json
|
28 |
+
ds_type: json
|
29 |
+
format: custom
|
30 |
+
path: /workspace/input_data/021f9f7742ecff4b_train_data.json
|
31 |
+
type:
|
32 |
+
field_input: solution
|
33 |
+
field_instruction: problem
|
34 |
+
field_output: answer
|
35 |
+
format: '{instruction} {input}'
|
36 |
+
no_input_format: '{instruction}'
|
37 |
+
system_format: '{system}'
|
38 |
+
system_prompt: ''
|
39 |
+
debug: null
|
40 |
+
deepspeed: null
|
41 |
+
device: cuda
|
42 |
+
early_stopping_patience: null
|
43 |
+
eval_max_new_tokens: 128
|
44 |
+
eval_table_size: null
|
45 |
+
evals_per_epoch: 4
|
46 |
+
flash_attention: false
|
47 |
+
fp16: null
|
48 |
+
fsdp: null
|
49 |
+
fsdp_config:
|
50 |
+
max_steps: 50
|
51 |
+
weight_decay: 0.01
|
52 |
+
gradient_accumulation_steps: 4
|
53 |
+
gradient_checkpointing: false
|
54 |
+
group_by_length: false
|
55 |
+
hub_model_id: sn5601/2e8b85e6-bb40-401e-ac81-8389a95a2a8c
|
56 |
+
hub_repo: null
|
57 |
+
hub_strategy: checkpoint
|
58 |
+
hub_token: null
|
59 |
+
learning_rate: 0.0002
|
60 |
+
load_in_4bit: false
|
61 |
+
load_in_8bit: false
|
62 |
+
local_rank: null
|
63 |
+
logging_steps: 3
|
64 |
+
lora_alpha: 16
|
65 |
+
lora_dropout: 0.05
|
66 |
+
lora_fan_in_fan_out: null
|
67 |
+
lora_model_dir: null
|
68 |
+
lora_r: 8
|
69 |
+
lora_target_linear: true
|
70 |
+
lr_scheduler: cosine
|
71 |
+
max_memory:
|
72 |
+
0: 70GiB
|
73 |
+
max_steps: 30
|
74 |
+
micro_batch_size: 2
|
75 |
+
mlflow_experiment_name: /tmp/021f9f7742ecff4b_train_data.json
|
76 |
+
model_type: AutoModelForCausalLM
|
77 |
+
num_epochs: 1
|
78 |
+
optimizer: adamw_torch
|
79 |
+
output_dir: miner_id_24
|
80 |
+
pad_to_sequence_len: true
|
81 |
+
resume_from_checkpoint: null
|
82 |
+
s2_attention: null
|
83 |
+
sample_packing: false
|
84 |
+
save_steps: 70
|
85 |
+
sequence_len: 1024
|
86 |
+
strict: false
|
87 |
+
tf32: false
|
88 |
+
tokenizer_type: AutoTokenizer
|
89 |
+
train_on_inputs: false
|
90 |
+
trust_remote_code: true
|
91 |
+
val_set_size: 0.05
|
92 |
+
wandb_entity: sn56-miner
|
93 |
+
wandb_mode: disabled
|
94 |
+
wandb_name: 2e8b85e6-bb40-401e-ac81-8389a95a2a8c
|
95 |
+
wandb_project: god
|
96 |
+
wandb_run: osme
|
97 |
+
wandb_runid: 2e8b85e6-bb40-401e-ac81-8389a95a2a8c
|
98 |
+
warmup_steps: 10
|
99 |
+
weight_decay: 0.0
|
100 |
+
xformers_attention: null
|
101 |
+
|
102 |
+
```
|
103 |
+
|
104 |
+
</details><br>
|
105 |
+
|
106 |
+
# 2e8b85e6-bb40-401e-ac81-8389a95a2a8c
|
107 |
+
|
108 |
+
This model is a fine-tuned version of [NousResearch/Yarn-Llama-2-7b-64k](https://huggingface.co/NousResearch/Yarn-Llama-2-7b-64k) on the None dataset.
|
109 |
+
It achieves the following results on the evaluation set:
|
110 |
+
- Loss: 0.0044
|
111 |
+
|
112 |
+
## Model description
|
113 |
+
|
114 |
+
More information needed
|
115 |
+
|
116 |
+
## Intended uses & limitations
|
117 |
+
|
118 |
+
More information needed
|
119 |
+
|
120 |
+
## Training and evaluation data
|
121 |
+
|
122 |
+
More information needed
|
123 |
+
|
124 |
+
## Training procedure
|
125 |
+
|
126 |
+
### Training hyperparameters
|
127 |
+
|
128 |
+
The following hyperparameters were used during training:
|
129 |
+
- learning_rate: 0.0002
|
130 |
+
- train_batch_size: 2
|
131 |
+
- eval_batch_size: 2
|
132 |
+
- seed: 42
|
133 |
+
- gradient_accumulation_steps: 4
|
134 |
+
- total_train_batch_size: 8
|
135 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
136 |
+
- lr_scheduler_type: cosine
|
137 |
+
- lr_scheduler_warmup_steps: 10
|
138 |
+
- training_steps: 30
|
139 |
+
|
140 |
+
### Training results
|
141 |
+
|
142 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
143 |
+
|:-------------:|:------:|:----:|:---------------:|
|
144 |
+
| No log | 0.0010 | 1 | 2.4859 |
|
145 |
+
| 8.8259 | 0.0078 | 8 | 0.7044 |
|
146 |
+
| 0.2985 | 0.0155 | 16 | 0.0033 |
|
147 |
+
| 0.0 | 0.0233 | 24 | 0.0044 |
|
148 |
+
|
149 |
+
|
150 |
+
### Framework versions
|
151 |
+
|
152 |
+
- PEFT 0.13.2
|
153 |
+
- Transformers 4.46.0
|
154 |
+
- Pytorch 2.5.0+cu124
|
155 |
+
- Datasets 3.0.1
|
156 |
+
- 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/Yarn-Llama-2-7b-64k",
|
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": 16,
|
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": 8,
|
20 |
+
"rank_pattern": {},
|
21 |
+
"revision": null,
|
22 |
+
"target_modules": [
|
23 |
+
"v_proj",
|
24 |
+
"gate_proj",
|
25 |
+
"q_proj",
|
26 |
+
"k_proj",
|
27 |
+
"o_proj",
|
28 |
+
"up_proj",
|
29 |
+
"down_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:b455b61d4e251a331f695727a08d5a90671affc7e374454653dfcd97daa30fa8
|
3 |
+
size 80115210
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1eb0c0d235a41d625e1d7928d740d7de2541badf073603540f063382b15f7718
|
3 |
+
size 80013120
|
config.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_attn_implementation_autoset": true,
|
3 |
+
"_name_or_path": "NousResearch/Yarn-Llama-2-7b-64k",
|
4 |
+
"architectures": [
|
5 |
+
"LlamaForCausalLM"
|
6 |
+
],
|
7 |
+
"auto_map": {
|
8 |
+
"AutoConfig": "NousResearch/Yarn-Llama-2-7b-64k--configuration_llama.LlamaConfig",
|
9 |
+
"AutoModelForCausalLM": "NousResearch/Yarn-Llama-2-7b-64k--modeling_llama_together_yarn.LlamaForCausalLM"
|
10 |
+
},
|
11 |
+
"bos_token_id": 1,
|
12 |
+
"eos_token_id": 2,
|
13 |
+
"hidden_act": "silu",
|
14 |
+
"hidden_size": 4096,
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"intermediate_size": 11008,
|
17 |
+
"max_position_embeddings": 65536,
|
18 |
+
"model_type": "llama",
|
19 |
+
"num_attention_heads": 32,
|
20 |
+
"num_hidden_layers": 32,
|
21 |
+
"num_key_value_heads": 32,
|
22 |
+
"pad_token_id": 0,
|
23 |
+
"pretraining_tp": 1,
|
24 |
+
"rms_norm_eps": 1e-05,
|
25 |
+
"rope_scaling": {
|
26 |
+
"factor": 16.0,
|
27 |
+
"finetuned": true,
|
28 |
+
"original_max_position_embeddings": 4096,
|
29 |
+
"type": "yarn"
|
30 |
+
},
|
31 |
+
"tie_word_embeddings": false,
|
32 |
+
"torch_dtype": "bfloat16",
|
33 |
+
"transformers_version": "4.46.0",
|
34 |
+
"use_cache": false,
|
35 |
+
"use_flash_attention": false,
|
36 |
+
"vocab_size": 32000
|
37 |
+
}
|
last-checkpoint/README.md
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: NousResearch/Yarn-Llama-2-7b-64k
|
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/Yarn-Llama-2-7b-64k",
|
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": 16,
|
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": 8,
|
20 |
+
"rank_pattern": {},
|
21 |
+
"revision": null,
|
22 |
+
"target_modules": [
|
23 |
+
"v_proj",
|
24 |
+
"gate_proj",
|
25 |
+
"q_proj",
|
26 |
+
"k_proj",
|
27 |
+
"o_proj",
|
28 |
+
"up_proj",
|
29 |
+
"down_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:1eb0c0d235a41d625e1d7928d740d7de2541badf073603540f063382b15f7718
|
3 |
+
size 80013120
|
last-checkpoint/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:adc2cea2674592635e6ec5f3fd8a85d12af744b52571eeab0ea5b08e113c16f3
|
3 |
+
size 160284754
|
last-checkpoint/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ac74a516e27937bba2984006840b562b37397862f98eb3e48e06fc76f189dc23
|
3 |
+
size 14244
|
last-checkpoint/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2def2cd24154d8cecbaa07c36ae27e5ebb9b7273a78abfea27aa67c480e4ae2b
|
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": true,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "</s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": true,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "<unk>",
|
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": true,
|
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:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
3 |
+
size 499723
|
last-checkpoint/tokenizer_config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"add_prefix_space": true,
|
5 |
+
"added_tokens_decoder": {
|
6 |
+
"0": {
|
7 |
+
"content": "<unk>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": true,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false,
|
12 |
+
"special": true
|
13 |
+
},
|
14 |
+
"1": {
|
15 |
+
"content": "<s>",
|
16 |
+
"lstrip": false,
|
17 |
+
"normalized": true,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false,
|
20 |
+
"special": true
|
21 |
+
},
|
22 |
+
"2": {
|
23 |
+
"content": "</s>",
|
24 |
+
"lstrip": false,
|
25 |
+
"normalized": true,
|
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": false,
|
36 |
+
"model_max_length": 1000000000000000019884624838656,
|
37 |
+
"pad_token": "<unk>",
|
38 |
+
"sp_model_kwargs": {},
|
39 |
+
"spaces_between_special_tokens": false,
|
40 |
+
"tokenizer_class": "LlamaTokenizer",
|
41 |
+
"unk_token": "<unk>",
|
42 |
+
"use_default_system_prompt": false
|
43 |
+
}
|
last-checkpoint/trainer_state.json
ADDED
@@ -0,0 +1,135 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 0.0290627270525551,
|
5 |
+
"eval_steps": 8,
|
6 |
+
"global_step": 30,
|
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.0009687575684185032,
|
13 |
+
"eval_loss": 2.4858999252319336,
|
14 |
+
"eval_runtime": 48.8752,
|
15 |
+
"eval_samples_per_second": 8.9,
|
16 |
+
"eval_steps_per_second": 4.46,
|
17 |
+
"step": 1
|
18 |
+
},
|
19 |
+
{
|
20 |
+
"epoch": 0.00290627270525551,
|
21 |
+
"grad_norm": 19.631099700927734,
|
22 |
+
"learning_rate": 6e-05,
|
23 |
+
"loss": 11.0461,
|
24 |
+
"step": 3
|
25 |
+
},
|
26 |
+
{
|
27 |
+
"epoch": 0.00581254541051102,
|
28 |
+
"grad_norm": 24.277101516723633,
|
29 |
+
"learning_rate": 0.00012,
|
30 |
+
"loss": 8.8259,
|
31 |
+
"step": 6
|
32 |
+
},
|
33 |
+
{
|
34 |
+
"epoch": 0.007750060547348026,
|
35 |
+
"eval_loss": 0.7043958902359009,
|
36 |
+
"eval_runtime": 49.6294,
|
37 |
+
"eval_samples_per_second": 8.765,
|
38 |
+
"eval_steps_per_second": 4.393,
|
39 |
+
"step": 8
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 0.00871881811576653,
|
43 |
+
"grad_norm": 10.01905345916748,
|
44 |
+
"learning_rate": 0.00018,
|
45 |
+
"loss": 4.344,
|
46 |
+
"step": 9
|
47 |
+
},
|
48 |
+
{
|
49 |
+
"epoch": 0.01162509082102204,
|
50 |
+
"grad_norm": 6.4644012451171875,
|
51 |
+
"learning_rate": 0.00019510565162951537,
|
52 |
+
"loss": 1.5773,
|
53 |
+
"step": 12
|
54 |
+
},
|
55 |
+
{
|
56 |
+
"epoch": 0.01453136352627755,
|
57 |
+
"grad_norm": 1.0154591798782349,
|
58 |
+
"learning_rate": 0.00017071067811865476,
|
59 |
+
"loss": 0.2985,
|
60 |
+
"step": 15
|
61 |
+
},
|
62 |
+
{
|
63 |
+
"epoch": 0.015500121094696052,
|
64 |
+
"eval_loss": 0.0032677568960934877,
|
65 |
+
"eval_runtime": 49.715,
|
66 |
+
"eval_samples_per_second": 8.75,
|
67 |
+
"eval_steps_per_second": 4.385,
|
68 |
+
"step": 16
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"epoch": 0.01743763623153306,
|
72 |
+
"grad_norm": 0.02888139896094799,
|
73 |
+
"learning_rate": 0.00013090169943749476,
|
74 |
+
"loss": 0.0024,
|
75 |
+
"step": 18
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"epoch": 0.020343908936788568,
|
79 |
+
"grad_norm": 0.05942815542221069,
|
80 |
+
"learning_rate": 8.435655349597689e-05,
|
81 |
+
"loss": 0.0003,
|
82 |
+
"step": 21
|
83 |
+
},
|
84 |
+
{
|
85 |
+
"epoch": 0.02325018164204408,
|
86 |
+
"grad_norm": 0.0023815699387341738,
|
87 |
+
"learning_rate": 4.12214747707527e-05,
|
88 |
+
"loss": 0.0,
|
89 |
+
"step": 24
|
90 |
+
},
|
91 |
+
{
|
92 |
+
"epoch": 0.02325018164204408,
|
93 |
+
"eval_loss": 0.004411344416439533,
|
94 |
+
"eval_runtime": 49.7487,
|
95 |
+
"eval_samples_per_second": 8.744,
|
96 |
+
"eval_steps_per_second": 4.382,
|
97 |
+
"step": 24
|
98 |
+
},
|
99 |
+
{
|
100 |
+
"epoch": 0.026156454347299588,
|
101 |
+
"grad_norm": 0.001381962327286601,
|
102 |
+
"learning_rate": 1.0899347581163221e-05,
|
103 |
+
"loss": 0.0,
|
104 |
+
"step": 27
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"epoch": 0.0290627270525551,
|
108 |
+
"grad_norm": 0.0018880991265177727,
|
109 |
+
"learning_rate": 0.0,
|
110 |
+
"loss": 0.2761,
|
111 |
+
"step": 30
|
112 |
+
}
|
113 |
+
],
|
114 |
+
"logging_steps": 3,
|
115 |
+
"max_steps": 30,
|
116 |
+
"num_input_tokens_seen": 0,
|
117 |
+
"num_train_epochs": 1,
|
118 |
+
"save_steps": 70,
|
119 |
+
"stateful_callbacks": {
|
120 |
+
"TrainerControl": {
|
121 |
+
"args": {
|
122 |
+
"should_epoch_stop": false,
|
123 |
+
"should_evaluate": false,
|
124 |
+
"should_log": false,
|
125 |
+
"should_save": true,
|
126 |
+
"should_training_stop": true
|
127 |
+
},
|
128 |
+
"attributes": {}
|
129 |
+
}
|
130 |
+
},
|
131 |
+
"total_flos": 9772398815477760.0,
|
132 |
+
"train_batch_size": 2,
|
133 |
+
"trial_name": null,
|
134 |
+
"trial_params": null
|
135 |
+
}
|
last-checkpoint/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9659f83c0c164d13e69eae2a3541e31a662837cc209bc38b61d7b760ffac16f3
|
3 |
+
size 6712
|
special_tokens_map.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": true,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "</s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": true,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "<unk>",
|
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": true,
|
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:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
3 |
+
size 499723
|
tokenizer_config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"add_prefix_space": true,
|
5 |
+
"added_tokens_decoder": {
|
6 |
+
"0": {
|
7 |
+
"content": "<unk>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": true,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false,
|
12 |
+
"special": true
|
13 |
+
},
|
14 |
+
"1": {
|
15 |
+
"content": "<s>",
|
16 |
+
"lstrip": false,
|
17 |
+
"normalized": true,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false,
|
20 |
+
"special": true
|
21 |
+
},
|
22 |
+
"2": {
|
23 |
+
"content": "</s>",
|
24 |
+
"lstrip": false,
|
25 |
+
"normalized": true,
|
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": false,
|
36 |
+
"model_max_length": 1000000000000000019884624838656,
|
37 |
+
"pad_token": "<unk>",
|
38 |
+
"sp_model_kwargs": {},
|
39 |
+
"spaces_between_special_tokens": false,
|
40 |
+
"tokenizer_class": "LlamaTokenizer",
|
41 |
+
"unk_token": "<unk>",
|
42 |
+
"use_default_system_prompt": false
|
43 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9659f83c0c164d13e69eae2a3541e31a662837cc209bc38b61d7b760ffac16f3
|
3 |
+
size 6712
|