kk-aivio commited on
Commit
4dd7938
·
verified ·
1 Parent(s): 1219151

End of training

Browse files
README.md ADDED
@@ -0,0 +1,159 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: Intel/neural-chat-7b-v3-3
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: 1526db39-e8bb-421f-b086-1bab48696ea8
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: Intel/neural-chat-7b-v3-3
23
+ bf16: auto
24
+ chat_template: llama3
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - 454ceb3972ef71b6_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/454ceb3972ef71b6_train_data.json
32
+ type:
33
+ field_instruction: ru
34
+ field_output: myv
35
+ format: '{instruction}'
36
+ no_input_format: '{instruction}'
37
+ system_format: '{system}'
38
+ system_prompt: ''
39
+ debug: null
40
+ deepspeed: null
41
+ device_map: auto
42
+ do_eval: true
43
+ eval_batch_size: 4
44
+ eval_max_new_tokens: 128
45
+ eval_table_size: null
46
+ evals_per_epoch: null
47
+ flash_attention: true
48
+ fp16: false
49
+ fsdp: null
50
+ fsdp_config: null
51
+ gradient_accumulation_steps: 4
52
+ gradient_checkpointing: false
53
+ group_by_length: true
54
+ hub_model_id: kk-aivio/1526db39-e8bb-421f-b086-1bab48696ea8
55
+ hub_repo: null
56
+ hub_strategy: end
57
+ hub_token: null
58
+ learning_rate: 0.0002
59
+ load_in_4bit: false
60
+ load_in_8bit: false
61
+ local_rank: null
62
+ logging_steps: 10
63
+ lora_alpha: 64
64
+ lora_dropout: 0.05
65
+ lora_fan_in_fan_out: null
66
+ lora_model_dir: null
67
+ lora_r: 32
68
+ lora_target_linear: true
69
+ lr_scheduler: constant
70
+ max_grad_norm: 1.0
71
+ max_memory:
72
+ 0: 75GB
73
+ max_steps: 400
74
+ micro_batch_size: 2
75
+ mlflow_experiment_name: /tmp/454ceb3972ef71b6_train_data.json
76
+ model_type: AutoModelForCausalLM
77
+ num_epochs: 3
78
+ optim_args:
79
+ adam_beta1: 0.9
80
+ adam_beta2: 0.95
81
+ adam_epsilon: 1e-5
82
+ optimizer: adamw_bnb_8bit
83
+ output_dir: miner_id_24
84
+ pad_to_sequence_len: true
85
+ resume_from_checkpoint: null
86
+ s2_attention: null
87
+ sample_packing: false
88
+ saves_per_epoch: null
89
+ sequence_len: 512
90
+ special_tokens:
91
+ pad_token: </s>
92
+ strict: false
93
+ tf32: true
94
+ tokenizer_type: AutoTokenizer
95
+ train_on_inputs: false
96
+ trust_remote_code: true
97
+ val_set_size: 0.05
98
+ wandb_entity: null
99
+ wandb_mode: online
100
+ wandb_name: 5fbd5d3b-31d4-4252-87e8-2f2a21b339c7
101
+ wandb_project: SN56-11
102
+ wandb_run: your_name
103
+ wandb_runid: 5fbd5d3b-31d4-4252-87e8-2f2a21b339c7
104
+ warmup_steps: 10
105
+ weight_decay: 0.0
106
+ xformers_attention: null
107
+
108
+ ```
109
+
110
+ </details><br>
111
+
112
+ # 1526db39-e8bb-421f-b086-1bab48696ea8
113
+
114
+ This model is a fine-tuned version of [Intel/neural-chat-7b-v3-3](https://huggingface.co/Intel/neural-chat-7b-v3-3) on the None dataset.
115
+ It achieves the following results on the evaluation set:
116
+ - Loss: 3.3787
117
+
118
+ ## Model description
119
+
120
+ More information needed
121
+
122
+ ## Intended uses & limitations
123
+
124
+ More information needed
125
+
126
+ ## Training and evaluation data
127
+
128
+ More information needed
129
+
130
+ ## Training procedure
131
+
132
+ ### Training hyperparameters
133
+
134
+ The following hyperparameters were used during training:
135
+ - learning_rate: 0.0002
136
+ - train_batch_size: 2
137
+ - eval_batch_size: 4
138
+ - seed: 42
139
+ - gradient_accumulation_steps: 4
140
+ - total_train_batch_size: 8
141
+ - optimizer: Use OptimizerNames.ADAMW_BNB 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
142
+ - lr_scheduler_type: constant
143
+ - lr_scheduler_warmup_steps: 10
144
+ - training_steps: 400
145
+
146
+ ### Training results
147
+
148
+ | Training Loss | Epoch | Step | Validation Loss |
149
+ |:-------------:|:------:|:----:|:---------------:|
150
+ | 10.9235 | 0.0436 | 400 | 3.3787 |
151
+
152
+
153
+ ### Framework versions
154
+
155
+ - PEFT 0.13.2
156
+ - Transformers 4.46.0
157
+ - Pytorch 2.5.0+cu124
158
+ - Datasets 3.0.1
159
+ - 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": "Intel/neural-chat-7b-v3-3",
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
+ "up_proj",
24
+ "k_proj",
25
+ "o_proj",
26
+ "gate_proj",
27
+ "v_proj",
28
+ "down_proj",
29
+ "q_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:c4f2cd5af2fde93cdd860e9e48206bdcd21af580250eca5afedf5e5e8467014c
3
+ size 335706186
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:01ef7cda69a13684d27ae602faf46f1a375fde02bbf4a9e76aef5882b90ffd03
3
+ size 335604696
config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "Intel/neural-chat-7b-v3-3",
4
+ "architectures": [
5
+ "MistralForCausalLM"
6
+ ],
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 1,
9
+ "eos_token_id": 2,
10
+ "head_dim": 128,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 4096,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 14336,
15
+ "max_position_embeddings": 32768,
16
+ "model_type": "mistral",
17
+ "num_attention_heads": 32,
18
+ "num_hidden_layers": 32,
19
+ "num_key_value_heads": 8,
20
+ "rms_norm_eps": 1e-05,
21
+ "rope_theta": 10000.0,
22
+ "sliding_window": 4096,
23
+ "tie_word_embeddings": false,
24
+ "torch_dtype": "float16",
25
+ "transformers_version": "4.46.0",
26
+ "use_cache": false,
27
+ "vocab_size": 32000
28
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<unk>",
4
+ "<s>",
5
+ "</s>"
6
+ ],
7
+ "bos_token": {
8
+ "content": "<s>",
9
+ "lstrip": false,
10
+ "normalized": false,
11
+ "rstrip": false,
12
+ "single_word": false
13
+ },
14
+ "eos_token": {
15
+ "content": "</s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false
20
+ },
21
+ "pad_token": {
22
+ "content": "</s>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false
27
+ },
28
+ "unk_token": {
29
+ "content": "<unk>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false
34
+ }
35
+ }
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:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
3
+ size 493443
tokenizer_config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "additional_special_tokens": [
32
+ "<unk>",
33
+ "<s>",
34
+ "</s>"
35
+ ],
36
+ "bos_token": "<s>",
37
+ "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 %}",
38
+ "clean_up_tokenization_spaces": false,
39
+ "eos_token": "</s>",
40
+ "legacy": true,
41
+ "model_max_length": 1000000000000000019884624838656,
42
+ "pad_token": "</s>",
43
+ "sp_model_kwargs": {},
44
+ "spaces_between_special_tokens": false,
45
+ "tokenizer_class": "LlamaTokenizer",
46
+ "unk_token": "<unk>",
47
+ "use_default_system_prompt": true
48
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:09ce2293a02725483dd5ad77c8ed7e6924008eda2d17c8b393a904cd5d68c673
3
+ size 6776