vmpsergio commited on
Commit
a92c8f0
·
verified ·
1 Parent(s): 3d43930

End of training

Browse files
README.md ADDED
@@ -0,0 +1,162 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ model-index:
9
+ - name: 77f4f29f-2f42-4c5e-8141-017337274c11
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: unsloth/mistral-7b-instruct-v0.2
23
+ bf16: true
24
+ chat_template: llama3
25
+ data_processes: 8
26
+ dataset_prepared_path: null
27
+ datasets:
28
+ - data_files:
29
+ - 9a31f4253b25a770_train_data.json
30
+ ds_type: json
31
+ format: custom
32
+ path: /workspace/input_data/9a31f4253b25a770_train_data.json
33
+ type:
34
+ field_input: input
35
+ field_instruction: instruction
36
+ field_output: output
37
+ format: '{instruction} {input}'
38
+ no_input_format: '{instruction}'
39
+ system_format: '{system}'
40
+ system_prompt: ''
41
+ debug: null
42
+ deepspeed: null
43
+ device_map: auto
44
+ do_eval: true
45
+ early_stopping_patience: 1
46
+ eval_batch_size: 4
47
+ eval_max_new_tokens: 128
48
+ eval_steps: 5
49
+ eval_table_size: null
50
+ evals_per_epoch: null
51
+ flash_attention: false
52
+ fp16: false
53
+ gradient_accumulation_steps: 4
54
+ gradient_checkpointing: true
55
+ group_by_length: true
56
+ hub_model_id: vmpsergio/77f4f29f-2f42-4c5e-8141-017337274c11
57
+ hub_repo: null
58
+ hub_strategy: end
59
+ hub_token: null
60
+ learning_rate: 0.0001
61
+ load_in_4bit: false
62
+ load_in_8bit: false
63
+ local_rank: null
64
+ logging_steps: 3
65
+ lora_alpha: 128
66
+ lora_dropout: 0.05
67
+ lora_fan_in_fan_out: null
68
+ lora_model_dir: null
69
+ lora_r: 64
70
+ lora_target_linear: true
71
+ lr_scheduler: cosine
72
+ max_memory:
73
+ 0: 78GiB
74
+ cpu: 30GiB
75
+ max_steps: 30
76
+ micro_batch_size: 8
77
+ mlflow_experiment_name: /tmp/9a31f4253b25a770_train_data.json
78
+ model_type: AutoModelForCausalLM
79
+ num_epochs: 1
80
+ optim_args:
81
+ adam_beta1: 0.9
82
+ adam_beta2: 0.95
83
+ adam_epsilon: 1e-5
84
+ optimizer: adamw_bnb_8bit
85
+ output_dir: miner_id_24
86
+ pad_to_sequence_len: true
87
+ resume_from_checkpoint: null
88
+ s2_attention: null
89
+ sample_packing: false
90
+ save_steps: 10
91
+ sequence_len: 1024
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: a878db5a-531c-48d7-998b-490edd14bbe4
101
+ wandb_project: cold1
102
+ wandb_run: your_name
103
+ wandb_runid: a878db5a-531c-48d7-998b-490edd14bbe4
104
+ warmup_steps: 5
105
+ weight_decay: 0.0
106
+ xformers_attention: null
107
+
108
+ ```
109
+
110
+ </details><br>
111
+
112
+ # 77f4f29f-2f42-4c5e-8141-017337274c11
113
+
114
+ 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 None dataset.
115
+ It achieves the following results on the evaluation set:
116
+ - Loss: nan
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.0001
136
+ - train_batch_size: 8
137
+ - eval_batch_size: 4
138
+ - seed: 42
139
+ - gradient_accumulation_steps: 4
140
+ - total_train_batch_size: 32
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: cosine
143
+ - lr_scheduler_warmup_steps: 5
144
+ - training_steps: 30
145
+
146
+ ### Training results
147
+
148
+ | Training Loss | Epoch | Step | Validation Loss |
149
+ |:-------------:|:------:|:----:|:---------------:|
150
+ | No log | 0.0118 | 1 | nan |
151
+ | 0.0 | 0.0588 | 5 | nan |
152
+ | 0.0 | 0.1176 | 10 | nan |
153
+ | 0.0 | 0.1765 | 15 | nan |
154
+
155
+
156
+ ### Framework versions
157
+
158
+ - PEFT 0.13.2
159
+ - Transformers 4.46.0
160
+ - Pytorch 2.5.0+cu124
161
+ - Datasets 3.0.1
162
+ - 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": "unsloth/mistral-7b-instruct-v0.2",
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": 128,
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": 64,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "q_proj",
24
+ "k_proj",
25
+ "v_proj",
26
+ "down_proj",
27
+ "gate_proj",
28
+ "up_proj",
29
+ "o_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:c81cdd3755d881a20e2dfedbcb8b59a47ea64731cee45a92992d97190eb7d386
3
+ size 671250634
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1fae3dccf08f503eaede7872cf1c2413710ae72c158271d2f436053fb69ba74
3
+ size 671149168
config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "unsloth/mistral-7b-instruct-v0.2",
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
+ "pad_token_id": 0,
21
+ "rms_norm_eps": 1e-05,
22
+ "rope_theta": 1000000.0,
23
+ "sliding_window": null,
24
+ "tie_word_embeddings": false,
25
+ "torch_dtype": "bfloat16",
26
+ "transformers_version": "4.46.0",
27
+ "unsloth_version": "2024.9",
28
+ "use_cache": false,
29
+ "vocab_size": 32000
30
+ }
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": "<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": 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:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
3
+ size 493443
tokenizer_config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "bos_token": "<s>",
33
+ "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 %}",
34
+ "clean_up_tokenization_spaces": false,
35
+ "eos_token": "</s>",
36
+ "legacy": false,
37
+ "model_max_length": 1000000000000000019884624838656,
38
+ "pad_token": "<unk>",
39
+ "padding_side": "left",
40
+ "sp_model_kwargs": {},
41
+ "spaces_between_special_tokens": false,
42
+ "tokenizer_class": "LlamaTokenizer",
43
+ "unk_token": "<unk>",
44
+ "use_default_system_prompt": false
45
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:daf81e13b651b67e0d2de5631e81b4fe7890d1a57b3f4a0a7a968f52c8da006f
3
+ size 6840