laquythang
commited on
Commit
•
730837e
1
Parent(s):
51c8731
End of training
Browse files- .gitattributes +1 -0
- README.md +147 -0
- adapter_config.json +34 -0
- adapter_model.bin +3 -0
- adapter_model.safetensors +3 -0
- added_tokens.json +5 -0
- config.json +44 -0
- merges.txt +0 -0
- special_tokens_map.json +20 -0
- tokenizer.json +3 -0
- tokenizer_config.json +43 -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,147 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
license: other
|
4 |
+
base_model: Qwen/Qwen1.5-14B-Chat
|
5 |
+
tags:
|
6 |
+
- axolotl
|
7 |
+
- generated_from_trainer
|
8 |
+
model-index:
|
9 |
+
- name: 9f7439e2-56ef-48b6-b4d7-4b2f1d24d44e
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
[<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)
|
17 |
+
<details><summary>See axolotl config</summary>
|
18 |
+
|
19 |
+
axolotl version: `0.4.1`
|
20 |
+
```yaml
|
21 |
+
adapter: lora
|
22 |
+
base_model: Qwen/Qwen1.5-14B-Chat
|
23 |
+
bf16: auto
|
24 |
+
chat_template: llama3
|
25 |
+
dataset_prepared_path: null
|
26 |
+
datasets:
|
27 |
+
- data_files:
|
28 |
+
- 3cea5421f0ed3b10_train_data.json
|
29 |
+
ds_type: json
|
30 |
+
format: custom
|
31 |
+
path: /workspace/input_data/3cea5421f0ed3b10_train_data.json
|
32 |
+
type:
|
33 |
+
field_input: sentence2
|
34 |
+
field_instruction: sentence1
|
35 |
+
field_output: label
|
36 |
+
format: '{instruction} {input}'
|
37 |
+
no_input_format: '{instruction}'
|
38 |
+
system_format: '{system}'
|
39 |
+
system_prompt: ''
|
40 |
+
debug: null
|
41 |
+
deepspeed: null
|
42 |
+
early_stopping_patience: null
|
43 |
+
eval_max_new_tokens: 128
|
44 |
+
eval_table_size: null
|
45 |
+
evals_per_epoch: 1
|
46 |
+
flash_attention: false
|
47 |
+
fp16: null
|
48 |
+
fsdp: null
|
49 |
+
fsdp_config: null
|
50 |
+
gradient_accumulation_steps: 1
|
51 |
+
gradient_checkpointing: true
|
52 |
+
group_by_length: false
|
53 |
+
hub_model_id: laquythang/9f7439e2-56ef-48b6-b4d7-4b2f1d24d44e
|
54 |
+
hub_repo: null
|
55 |
+
hub_strategy: end
|
56 |
+
hub_token: null
|
57 |
+
learning_rate: 0.0001
|
58 |
+
load_in_4bit: true
|
59 |
+
load_in_8bit: true
|
60 |
+
local_rank: null
|
61 |
+
logging_steps: 1
|
62 |
+
lora_alpha: 32
|
63 |
+
lora_dropout: 0.05
|
64 |
+
lora_fan_in_fan_out: null
|
65 |
+
lora_model_dir: null
|
66 |
+
lora_r: 16
|
67 |
+
lora_target_linear: true
|
68 |
+
lr_scheduler: cosine
|
69 |
+
max_steps: 50
|
70 |
+
micro_batch_size: 1
|
71 |
+
mlflow_experiment_name: /tmp/3cea5421f0ed3b10_train_data.json
|
72 |
+
model_type: AutoModelForCausalLM
|
73 |
+
num_epochs: 1
|
74 |
+
optimizer: adamw_bnb_8bit
|
75 |
+
output_dir: miner_id_24
|
76 |
+
pad_to_sequence_len: true
|
77 |
+
resume_from_checkpoint: null
|
78 |
+
s2_attention: null
|
79 |
+
sample_packing: false
|
80 |
+
saves_per_epoch: 1
|
81 |
+
sequence_len: 2048
|
82 |
+
strict: false
|
83 |
+
tf32: false
|
84 |
+
tokenizer_type: AutoTokenizer
|
85 |
+
train_on_inputs: false
|
86 |
+
trust_remote_code: true
|
87 |
+
val_set_size: 0.05
|
88 |
+
wandb_entity: null
|
89 |
+
wandb_mode: online
|
90 |
+
wandb_name: 9f7439e2-56ef-48b6-b4d7-4b2f1d24d44e
|
91 |
+
wandb_project: Gradients-On-Demand
|
92 |
+
wandb_run: your_name
|
93 |
+
wandb_runid: 9f7439e2-56ef-48b6-b4d7-4b2f1d24d44e
|
94 |
+
warmup_steps: 10
|
95 |
+
weight_decay: 0.0
|
96 |
+
xformers_attention: true
|
97 |
+
|
98 |
+
```
|
99 |
+
|
100 |
+
</details><br>
|
101 |
+
|
102 |
+
# 9f7439e2-56ef-48b6-b4d7-4b2f1d24d44e
|
103 |
+
|
104 |
+
This model is a fine-tuned version of [Qwen/Qwen1.5-14B-Chat](https://huggingface.co/Qwen/Qwen1.5-14B-Chat) on the None dataset.
|
105 |
+
It achieves the following results on the evaluation set:
|
106 |
+
- Loss: 4.3471
|
107 |
+
|
108 |
+
## Model description
|
109 |
+
|
110 |
+
More information needed
|
111 |
+
|
112 |
+
## Intended uses & limitations
|
113 |
+
|
114 |
+
More information needed
|
115 |
+
|
116 |
+
## Training and evaluation data
|
117 |
+
|
118 |
+
More information needed
|
119 |
+
|
120 |
+
## Training procedure
|
121 |
+
|
122 |
+
### Training hyperparameters
|
123 |
+
|
124 |
+
The following hyperparameters were used during training:
|
125 |
+
- learning_rate: 0.0001
|
126 |
+
- train_batch_size: 1
|
127 |
+
- eval_batch_size: 1
|
128 |
+
- seed: 42
|
129 |
+
- optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
130 |
+
- lr_scheduler_type: cosine
|
131 |
+
- lr_scheduler_warmup_steps: 10
|
132 |
+
- training_steps: 50
|
133 |
+
|
134 |
+
### Training results
|
135 |
+
|
136 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
137 |
+
|:-------------:|:------:|:----:|:---------------:|
|
138 |
+
| 10.3393 | 0.0168 | 50 | 4.3471 |
|
139 |
+
|
140 |
+
|
141 |
+
### Framework versions
|
142 |
+
|
143 |
+
- PEFT 0.13.2
|
144 |
+
- Transformers 4.46.0
|
145 |
+
- Pytorch 2.5.0+cu124
|
146 |
+
- Datasets 3.0.1
|
147 |
+
- 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": "Qwen/Qwen1.5-14B-Chat",
|
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": 32,
|
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": 16,
|
20 |
+
"rank_pattern": {},
|
21 |
+
"revision": null,
|
22 |
+
"target_modules": [
|
23 |
+
"q_proj",
|
24 |
+
"k_proj",
|
25 |
+
"o_proj",
|
26 |
+
"down_proj",
|
27 |
+
"v_proj",
|
28 |
+
"up_proj",
|
29 |
+
"gate_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:1190540a2fbad252a04374478e3dbd3a46bf9d799b83db0da4ce075fbd9ccc55
|
3 |
+
size 249566986
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2edd644279453d3fd8736d439e66ccad8c60fef32abaea68b0da35f187162d31
|
3 |
+
size 249439848
|
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,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_attn_implementation_autoset": true,
|
3 |
+
"_name_or_path": "Qwen/Qwen1.5-14B-Chat",
|
4 |
+
"architectures": [
|
5 |
+
"Qwen2ForCausalLM"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"eos_token_id": 151645,
|
9 |
+
"hidden_act": "silu",
|
10 |
+
"hidden_size": 5120,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 13696,
|
13 |
+
"max_position_embeddings": 32768,
|
14 |
+
"max_window_layers": 35,
|
15 |
+
"model_type": "qwen2",
|
16 |
+
"num_attention_heads": 40,
|
17 |
+
"num_hidden_layers": 40,
|
18 |
+
"num_key_value_heads": 40,
|
19 |
+
"quantization_config": {
|
20 |
+
"_load_in_4bit": false,
|
21 |
+
"_load_in_8bit": true,
|
22 |
+
"bnb_4bit_compute_dtype": "float32",
|
23 |
+
"bnb_4bit_quant_storage": "uint8",
|
24 |
+
"bnb_4bit_quant_type": "fp4",
|
25 |
+
"bnb_4bit_use_double_quant": false,
|
26 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
27 |
+
"llm_int8_has_fp16_weight": false,
|
28 |
+
"llm_int8_skip_modules": null,
|
29 |
+
"llm_int8_threshold": 6.0,
|
30 |
+
"load_in_4bit": false,
|
31 |
+
"load_in_8bit": true,
|
32 |
+
"quant_method": "bitsandbytes"
|
33 |
+
},
|
34 |
+
"rms_norm_eps": 1e-06,
|
35 |
+
"rope_scaling": null,
|
36 |
+
"rope_theta": 1000000.0,
|
37 |
+
"sliding_window": null,
|
38 |
+
"tie_word_embeddings": false,
|
39 |
+
"torch_dtype": "bfloat16",
|
40 |
+
"transformers_version": "4.46.0",
|
41 |
+
"use_cache": false,
|
42 |
+
"use_sliding_window": false,
|
43 |
+
"vocab_size": 152064
|
44 |
+
}
|
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": "<|im_end|>",
|
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:bcfe42da0a4497e8b2b172c1f9f4ec423a46dc12907f4349c55025f670422ba9
|
3 |
+
size 11418266
|
tokenizer_config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"bos_token": null,
|
34 |
+
"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 %}",
|
35 |
+
"clean_up_tokenization_spaces": false,
|
36 |
+
"eos_token": "<|im_end|>",
|
37 |
+
"errors": "replace",
|
38 |
+
"model_max_length": 32768,
|
39 |
+
"pad_token": "<|endoftext|>",
|
40 |
+
"split_special_tokens": false,
|
41 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
42 |
+
"unk_token": null
|
43 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cacd1d85964607e720b2faffed399cae48c37993eb8425d5cf4e70c93c5f053e
|
3 |
+
size 6776
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|