Training in progress, step 3
Browse files- .gitattributes +1 -0
- README.md +152 -0
- adapter_config.json +37 -0
- adapter_model.safetensors +3 -0
- added_tokens.json +5 -0
- config.json +34 -0
- merges.txt +0 -0
- special_tokens_map.json +20 -0
- tokenizer.json +3 -0
- tokenizer.model +3 -0
- tokenizer_config.json +50 -0
- training_args.bin +3 -0
- vocab.json +0 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,152 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: unsloth/mistral-7b-instruct-v0.2
|
5 |
+
tags:
|
6 |
+
- axolotl
|
7 |
+
- generated_from_trainer
|
8 |
+
datasets:
|
9 |
+
- Aivesa/dataset_cb3acbb3-babd-4857-af0b-0acdfd981c3f
|
10 |
+
model-index:
|
11 |
+
- name: 7bdbb3ac-dc6f-480f-88ef-a529585172da
|
12 |
+
results: []
|
13 |
+
---
|
14 |
+
|
15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
16 |
+
should probably proofread and complete it, then remove this comment. -->
|
17 |
+
|
18 |
+
[<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)
|
19 |
+
<details><summary>See axolotl config</summary>
|
20 |
+
|
21 |
+
axolotl version: `0.6.0`
|
22 |
+
```yaml
|
23 |
+
adapter: lora
|
24 |
+
base_model: unsloth/mistral-7b-instruct-v0.2
|
25 |
+
bf16: auto
|
26 |
+
chat_template: llama3
|
27 |
+
dataset_prepared_path: /workspace/axolotl/data/prepared
|
28 |
+
datasets:
|
29 |
+
- ds_type: json
|
30 |
+
format: custom
|
31 |
+
path: Aivesa/dataset_cb3acbb3-babd-4857-af0b-0acdfd981c3f
|
32 |
+
type:
|
33 |
+
field_input: yl
|
34 |
+
field_instruction: x
|
35 |
+
field_output: yw
|
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_table_size: null
|
43 |
+
evals_per_epoch: 4
|
44 |
+
flash_attention: false
|
45 |
+
fp16: null
|
46 |
+
fsdp: null
|
47 |
+
fsdp_config: null
|
48 |
+
gradient_accumulation_steps: 4
|
49 |
+
gradient_checkpointing: false
|
50 |
+
group_by_length: false
|
51 |
+
hub_model_id: Aivesa/7bdbb3ac-dc6f-480f-88ef-a529585172da
|
52 |
+
hub_private_repo: true
|
53 |
+
hub_repo: null
|
54 |
+
hub_strategy: checkpoint
|
55 |
+
hub_token: null
|
56 |
+
learning_rate: 0.0002
|
57 |
+
load_in_4bit: false
|
58 |
+
load_in_8bit: false
|
59 |
+
local_rank: null
|
60 |
+
logging_steps: 1
|
61 |
+
lora_alpha: 16
|
62 |
+
lora_dropout: 0.05
|
63 |
+
lora_fan_in_fan_out: null
|
64 |
+
lora_model_dir: null
|
65 |
+
lora_r: 8
|
66 |
+
lora_target_linear: true
|
67 |
+
lr_scheduler: cosine
|
68 |
+
max_steps: 10
|
69 |
+
micro_batch_size: 2
|
70 |
+
model_type: AutoModelForCausalLM
|
71 |
+
num_epochs: 1
|
72 |
+
optimizer: adamw_bnb_8bit
|
73 |
+
output_dir: /workspace/axolotl/outputs
|
74 |
+
pad_to_sequence_len: true
|
75 |
+
push_to_hub: true
|
76 |
+
resume_from_checkpoint: null
|
77 |
+
s2_attention: null
|
78 |
+
sample_packing: false
|
79 |
+
save_safetensors: true
|
80 |
+
saves_per_epoch: 4
|
81 |
+
sequence_len: 512
|
82 |
+
strict: false
|
83 |
+
tf32: false
|
84 |
+
tokenizer_type: AutoTokenizer
|
85 |
+
train_on_inputs: false
|
86 |
+
trust_remote_code: true
|
87 |
+
use_accelerate: true
|
88 |
+
val_set_size: 0.05
|
89 |
+
wandb_entity: null
|
90 |
+
wandb_mode: online
|
91 |
+
wandb_name: cb3acbb3-babd-4857-af0b-0acdfd981c3f
|
92 |
+
wandb_project: Gradients-On-Demand
|
93 |
+
wandb_run: your_name
|
94 |
+
wandb_runid: cb3acbb3-babd-4857-af0b-0acdfd981c3f
|
95 |
+
warmup_steps: 10
|
96 |
+
weight_decay: 0.0
|
97 |
+
xformers_attention: null
|
98 |
+
|
99 |
+
```
|
100 |
+
|
101 |
+
</details><br>
|
102 |
+
|
103 |
+
# 7bdbb3ac-dc6f-480f-88ef-a529585172da
|
104 |
+
|
105 |
+
This model is a fine-tuned version of [unsloth/mistral-7b-instruct-v0.2](https://huggingface.co/unsloth/mistral-7b-instruct-v0.2) on the Aivesa/dataset_cb3acbb3-babd-4857-af0b-0acdfd981c3f dataset.
|
106 |
+
It achieves the following results on the evaluation set:
|
107 |
+
- Loss: 1.0666
|
108 |
+
|
109 |
+
## Model description
|
110 |
+
|
111 |
+
More information needed
|
112 |
+
|
113 |
+
## Intended uses & limitations
|
114 |
+
|
115 |
+
More information needed
|
116 |
+
|
117 |
+
## Training and evaluation data
|
118 |
+
|
119 |
+
More information needed
|
120 |
+
|
121 |
+
## Training procedure
|
122 |
+
|
123 |
+
### Training hyperparameters
|
124 |
+
|
125 |
+
The following hyperparameters were used during training:
|
126 |
+
- learning_rate: 0.0002
|
127 |
+
- train_batch_size: 2
|
128 |
+
- eval_batch_size: 2
|
129 |
+
- seed: 42
|
130 |
+
- gradient_accumulation_steps: 4
|
131 |
+
- total_train_batch_size: 8
|
132 |
+
- optimizer: Use adamw_bnb_8bit with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
133 |
+
- lr_scheduler_type: cosine
|
134 |
+
- lr_scheduler_warmup_steps: 10
|
135 |
+
- training_steps: 10
|
136 |
+
|
137 |
+
### Training results
|
138 |
+
|
139 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
140 |
+
|:-------------:|:------:|:----:|:---------------:|
|
141 |
+
| 5.3209 | 0.0001 | 3 | 1.3254 |
|
142 |
+
| 5.0926 | 0.0002 | 6 | 1.1666 |
|
143 |
+
| 3.9323 | 0.0003 | 9 | 1.0666 |
|
144 |
+
|
145 |
+
|
146 |
+
### Framework versions
|
147 |
+
|
148 |
+
- PEFT 0.14.0
|
149 |
+
- Transformers 4.47.1
|
150 |
+
- Pytorch 2.5.0a0+e000cf0ad9.nv24.10
|
151 |
+
- Datasets 3.1.0
|
152 |
+
- Tokenizers 0.21.0
|
adapter_config.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "dunzhang/stella_en_1.5B_v5",
|
5 |
+
"bias": "none",
|
6 |
+
"eva_config": null,
|
7 |
+
"exclude_modules": null,
|
8 |
+
"fan_in_fan_out": null,
|
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": 16,
|
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": 8,
|
23 |
+
"rank_pattern": {},
|
24 |
+
"revision": null,
|
25 |
+
"target_modules": [
|
26 |
+
"o_proj",
|
27 |
+
"q_proj",
|
28 |
+
"up_proj",
|
29 |
+
"k_proj",
|
30 |
+
"v_proj",
|
31 |
+
"down_proj",
|
32 |
+
"gate_proj"
|
33 |
+
],
|
34 |
+
"task_type": "CAUSAL_LM",
|
35 |
+
"use_dora": false,
|
36 |
+
"use_rslora": false
|
37 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:40607d4ad121ea15c5dcc01739ae6a1f9871cedebaa69fd319b7e6e29df8099c
|
3 |
+
size 36981072
|
added_tokens.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<|endoftext|>": 151643,
|
3 |
+
"<|im_end|>": 151645,
|
4 |
+
"<|im_start|>": 151644
|
5 |
+
}
|
config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_attn_implementation_autoset": true,
|
3 |
+
"_name_or_path": "dunzhang/stella_en_1.5B_v5",
|
4 |
+
"architectures": [
|
5 |
+
"Qwen2ForCausalLM"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"auto_map": {
|
9 |
+
"AutoModel": "dunzhang/stella_en_1.5B_v5--modeling_qwen.Qwen2Model",
|
10 |
+
"AutoModelForCausalLM": "dunzhang/stella_en_1.5B_v5--modeling_qwen.Qwen2ForCausalLM",
|
11 |
+
"AutoModelForSequenceClassification": "dunzhang/stella_en_1.5B_v5--modeling_qwen.Qwen2ForSequenceClassification"
|
12 |
+
},
|
13 |
+
"eos_token_id": 151643,
|
14 |
+
"hidden_act": "silu",
|
15 |
+
"hidden_size": 1536,
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"intermediate_size": 8960,
|
18 |
+
"max_position_embeddings": 131072,
|
19 |
+
"max_window_layers": 21,
|
20 |
+
"model_type": "qwen2",
|
21 |
+
"num_attention_heads": 12,
|
22 |
+
"num_hidden_layers": 28,
|
23 |
+
"num_key_value_heads": 2,
|
24 |
+
"rms_norm_eps": 1e-06,
|
25 |
+
"rope_scaling": null,
|
26 |
+
"rope_theta": 1000000.0,
|
27 |
+
"sliding_window": null,
|
28 |
+
"tie_word_embeddings": false,
|
29 |
+
"torch_dtype": "float32",
|
30 |
+
"transformers_version": "4.47.1",
|
31 |
+
"use_cache": false,
|
32 |
+
"use_sliding_window": false,
|
33 |
+
"vocab_size": 151646
|
34 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
special_tokens_map.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<|im_start|>",
|
4 |
+
"<|im_end|>"
|
5 |
+
],
|
6 |
+
"eos_token": {
|
7 |
+
"content": "<|endoftext|>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": false,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false
|
12 |
+
},
|
13 |
+
"pad_token": {
|
14 |
+
"content": "<|endoftext|>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false
|
19 |
+
}
|
20 |
+
}
|
tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d8372feaa064372d176aff57e8f1e64f194814bb074519104f64c66a2825f091
|
3 |
+
size 11419037
|
tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
|
3 |
+
size 493443
|
tokenizer_config.json
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"151643": {
|
5 |
+
"content": "<|endoftext|>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"151644": {
|
13 |
+
"content": "<|im_start|>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": false,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"151645": {
|
21 |
+
"content": "<|im_end|>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": false,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": true
|
27 |
+
}
|
28 |
+
},
|
29 |
+
"additional_special_tokens": [
|
30 |
+
"<|im_start|>",
|
31 |
+
"<|im_end|>"
|
32 |
+
],
|
33 |
+
"auto_map": {
|
34 |
+
"AutoTokenizer": [
|
35 |
+
"dunzhang/stella_en_1.5B_v5--tokenization_qwen.Qwen2Tokenizer",
|
36 |
+
"dunzhang/stella_en_1.5B_v5--tokenization_qwen.Qwen2TokenizerFast"
|
37 |
+
]
|
38 |
+
},
|
39 |
+
"bos_token": null,
|
40 |
+
"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 %}",
|
41 |
+
"clean_up_tokenization_spaces": false,
|
42 |
+
"eos_token": "<|endoftext|>",
|
43 |
+
"errors": "replace",
|
44 |
+
"extra_special_tokens": {},
|
45 |
+
"model_max_length": 32768,
|
46 |
+
"pad_token": "<|endoftext|>",
|
47 |
+
"split_special_tokens": false,
|
48 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
49 |
+
"unk_token": null
|
50 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b106ce49bc02c161b790e734d29c694baf7473eb9b1302a6e508d494e68e766b
|
3 |
+
size 6904
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|