earnxus commited on
Commit
500f277
·
verified ·
1 Parent(s): aa87366

End of training

Browse files
README.md ADDED
@@ -0,0 +1,158 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: samoline/37c6e62a-99dc-44fb-adae-444b1ada36c8
4
+ tags:
5
+ - axolotl
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: 704f9950-3043-49b9-a7c2-9bcdd4fc0793
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: samoline/37c6e62a-99dc-44fb-adae-444b1ada36c8
22
+ bf16: auto
23
+ chat_template: llama3
24
+ dataset_prepared_path: null
25
+ datasets:
26
+ - data_files:
27
+ - train_a3d434dc-7bce-43c1-8998-2fa226e7682e.json
28
+ ds_type: json
29
+ format: custom
30
+ path: /workspace/input_data/train_a3d434dc-7bce-43c1-8998-2fa226e7682e.json
31
+ type:
32
+ field_instruction: instruction
33
+ field_output: response
34
+ format: '{instruction}'
35
+ no_input_format: '{instruction}'
36
+ system_format: '{system}'
37
+ system_prompt: ''
38
+ debug: null
39
+ deepspeed: null
40
+ device_map: auto
41
+ do_eval: true
42
+ early_stopping_patience: null
43
+ eval_batch_size: 2
44
+ eval_max_new_tokens: 128
45
+ eval_steps: null
46
+ eval_table_size: null
47
+ evals_per_epoch: null
48
+ flash_attention: true
49
+ fp16: null
50
+ fsdp: null
51
+ fsdp_config: null
52
+ gradient_accumulation_steps: 4
53
+ gradient_checkpointing: true
54
+ gradient_clipping: 1.0
55
+ group_by_length: true
56
+ hub_model_id: earnxus/704f9950-3043-49b9-a7c2-9bcdd4fc0793
57
+ hub_repo: null
58
+ hub_strategy: end
59
+ hub_token: null
60
+ learning_rate: 0.0002
61
+ load_in_4bit: true
62
+ load_in_8bit: true
63
+ local_rank: null
64
+ logging_steps: 10
65
+ lora_alpha: 16
66
+ lora_dropout: 0.2
67
+ lora_fan_in_fan_out: null
68
+ lora_model_dir: null
69
+ lora_r: 8
70
+ lora_target_linear: true
71
+ lr_scheduler: cosine
72
+ max_grad_norm: 1.0
73
+ max_memory:
74
+ 0: 75GB
75
+ max_steps: 600
76
+ micro_batch_size: 2
77
+ mlflow_experiment_name: /tmp/train_a3d434dc-7bce-43c1-8998-2fa226e7682e.json
78
+ model_type: AutoModelForCausalLM
79
+ num_epochs: 1
80
+ optimizer: adamw_bnb_8bit
81
+ output_dir: miner_id_24
82
+ pad_to_sequence_len: true
83
+ resume_from_checkpoint: null
84
+ s2_attention: null
85
+ sample_packing: false
86
+ save_steps: 150
87
+ saves_per_epoch: null
88
+ sequence_len: 1024
89
+ special_tokens:
90
+ pad_token: <|endoftext|>
91
+ strict: false
92
+ tf32: false
93
+ tokenizer_type: AutoTokenizer
94
+ train_on_inputs: false
95
+ trust_remote_code: true
96
+ val_set_size: 0.05
97
+ wandb_entity: techspear-hub
98
+ wandb_mode: online
99
+ wandb_name: 2ca0865a-e56f-4489-a720-f5b9a5c274dd
100
+ wandb_project: Gradients-On-Nine
101
+ wandb_run: your_name
102
+ wandb_runid: 2ca0865a-e56f-4489-a720-f5b9a5c274dd
103
+ warmup_steps: 5
104
+ weight_decay: 0.01
105
+ xformers_attention: null
106
+
107
+ ```
108
+
109
+ </details><br>
110
+
111
+ # 704f9950-3043-49b9-a7c2-9bcdd4fc0793
112
+
113
+ This model is a fine-tuned version of [samoline/37c6e62a-99dc-44fb-adae-444b1ada36c8](https://huggingface.co/samoline/37c6e62a-99dc-44fb-adae-444b1ada36c8) on the None dataset.
114
+ It achieves the following results on the evaluation set:
115
+ - Loss: 0.7687
116
+
117
+ ## Model description
118
+
119
+ More information needed
120
+
121
+ ## Intended uses & limitations
122
+
123
+ More information needed
124
+
125
+ ## Training and evaluation data
126
+
127
+ More information needed
128
+
129
+ ## Training procedure
130
+
131
+ ### Training hyperparameters
132
+
133
+ The following hyperparameters were used during training:
134
+ - learning_rate: 0.0002
135
+ - train_batch_size: 2
136
+ - eval_batch_size: 2
137
+ - seed: 42
138
+ - gradient_accumulation_steps: 4
139
+ - total_train_batch_size: 8
140
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
141
+ - lr_scheduler_type: cosine
142
+ - lr_scheduler_warmup_steps: 5
143
+ - training_steps: 600
144
+
145
+ ### Training results
146
+
147
+ | Training Loss | Epoch | Step | Validation Loss |
148
+ |:-------------:|:------:|:----:|:---------------:|
149
+ | 0.7965 | 0.0020 | 600 | 0.7687 |
150
+
151
+
152
+ ### Framework versions
153
+
154
+ - PEFT 0.13.2
155
+ - Transformers 4.46.0
156
+ - Pytorch 2.5.0+cu124
157
+ - Datasets 3.0.1
158
+ - 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": "samoline/37c6e62a-99dc-44fb-adae-444b1ada36c8",
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.2,
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
+ "q_proj",
24
+ "k_proj",
25
+ "up_proj",
26
+ "v_proj",
27
+ "down_proj",
28
+ "o_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:7d1e4d666bef795c707b7367eabab41813b69ad4a1c9973d5fa74dac611f3f2f
3
+ size 51521322
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34a6a44e701f827291572dcdff7804202508469479437a9542dbb615acff786b
3
+ size 51431872
added_tokens.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "<|endofprompt|>": 100276,
3
+ "<|im_end|>": 100265,
4
+ "<|im_start|>": 100264
5
+ }
config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "samoline/37c6e62a-99dc-44fb-adae-444b1ada36c8",
4
+ "architectures": [
5
+ "LlamaForCausalLM"
6
+ ],
7
+ "attention_bias": false,
8
+ "attention_dropout": 0.0,
9
+ "bos_token_id": 100257,
10
+ "eos_token_id": 100257,
11
+ "head_dim": 128,
12
+ "hidden_act": "silu",
13
+ "hidden_size": 3072,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 9216,
16
+ "max_position_embeddings": 131072,
17
+ "mlp_bias": false,
18
+ "model_type": "llama",
19
+ "num_attention_heads": 24,
20
+ "num_hidden_layers": 28,
21
+ "num_key_value_heads": 8,
22
+ "pretraining_tp": 1,
23
+ "quantization_config": {
24
+ "_load_in_4bit": false,
25
+ "_load_in_8bit": true,
26
+ "bnb_4bit_compute_dtype": "float32",
27
+ "bnb_4bit_quant_storage": "uint8",
28
+ "bnb_4bit_quant_type": "fp4",
29
+ "bnb_4bit_use_double_quant": false,
30
+ "llm_int8_enable_fp32_cpu_offload": false,
31
+ "llm_int8_has_fp16_weight": false,
32
+ "llm_int8_skip_modules": null,
33
+ "llm_int8_threshold": 6.0,
34
+ "load_in_4bit": false,
35
+ "load_in_8bit": true,
36
+ "quant_method": "bitsandbytes"
37
+ },
38
+ "rms_norm_eps": 1e-05,
39
+ "rope_scaling": {
40
+ "factor": 32.0,
41
+ "high_freq_factor": 4.0,
42
+ "low_freq_factor": 1.0,
43
+ "original_max_position_embeddings": 8192,
44
+ "rope_type": "llama3"
45
+ },
46
+ "rope_theta": 500000.0,
47
+ "tie_word_embeddings": true,
48
+ "torch_dtype": "float16",
49
+ "transformers_version": "4.46.0",
50
+ "use_cache": false,
51
+ "vocab_size": 100263
52
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|endoftext|>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<|endoftext|>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<|endoftext|>",
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_config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "100257": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "100258": {
13
+ "content": "<|fim_prefix|>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "100259": {
21
+ "content": "<|fim_middle|>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "100260": {
29
+ "content": "<|fim_suffix|>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "100264": {
37
+ "content": "<|im_start|>",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ },
44
+ "100265": {
45
+ "content": "<|im_end|>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false,
50
+ "special": true
51
+ },
52
+ "100276": {
53
+ "content": "<|endofprompt|>",
54
+ "lstrip": false,
55
+ "normalized": false,
56
+ "rstrip": false,
57
+ "single_word": false,
58
+ "special": true
59
+ }
60
+ },
61
+ "bos_token": "<|endoftext|>",
62
+ "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 %}",
63
+ "clean_up_tokenization_spaces": false,
64
+ "eos_token": "<|endoftext|>",
65
+ "extra_special_tokens": {},
66
+ "model_max_length": 8192,
67
+ "pad_token": "<|endoftext|>",
68
+ "tokenizer_class": "GPT2Tokenizer",
69
+ "unk_token": "<|endoftext|>"
70
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0883028123aae245a7f21d88f47b3f2b22f9ac931f89891854ab8e0bd86bed7c
3
+ size 6776
vocab.json ADDED
The diff for this file is too large to render. See raw diff