Aivesa commited on
Commit
4060d6d
·
verified ·
1 Parent(s): cde7b8a

Training in progress, step 3

Browse files
README.md ADDED
@@ -0,0 +1,152 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: unsloth/Qwen2-0.5B
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ datasets:
9
+ - Aivesa/dataset_259fd7bc-d639-4f39-96d1-9a76d24779cd
10
+ model-index:
11
+ - name: 9a71f3f5-40c0-42a5-94fb-c1072e30ea0b
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/Qwen2-0.5B
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_259fd7bc-d639-4f39-96d1-9a76d24779cd
32
+ type:
33
+ field_input: my_solu
34
+ field_instruction: prompt
35
+ field_output: solution
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/9a71f3f5-40c0-42a5-94fb-c1072e30ea0b
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: 259fd7bc-d639-4f39-96d1-9a76d24779cd
92
+ wandb_project: Gradients-On-Demand
93
+ wandb_run: your_name
94
+ wandb_runid: 259fd7bc-d639-4f39-96d1-9a76d24779cd
95
+ warmup_steps: 10
96
+ weight_decay: 0.0
97
+ xformers_attention: null
98
+
99
+ ```
100
+
101
+ </details><br>
102
+
103
+ # 9a71f3f5-40c0-42a5-94fb-c1072e30ea0b
104
+
105
+ This model is a fine-tuned version of [unsloth/Qwen2-0.5B](https://huggingface.co/unsloth/Qwen2-0.5B) on the Aivesa/dataset_259fd7bc-d639-4f39-96d1-9a76d24779cd dataset.
106
+ It achieves the following results on the evaluation set:
107
+ - Loss: 0.9482
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
+ | 1.2589 | 0.0001 | 3 | 1.0529 |
142
+ | 1.0467 | 0.0001 | 6 | 1.0084 |
143
+ | 0.933 | 0.0002 | 9 | 0.9482 |
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": "samoline/b2c7a36d-04a9-4742-a28e-1e610e99182d",
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
+ "k_proj",
27
+ "gate_proj",
28
+ "q_proj",
29
+ "down_proj",
30
+ "v_proj",
31
+ "o_proj",
32
+ "up_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:2d4c65093501e0c570484b5fbf514b96b020d4ac1ee72933f8bd8233f617753b
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,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "samoline/b2c7a36d-04a9-4742-a28e-1e610e99182d",
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
+ "rms_norm_eps": 1e-05,
24
+ "rope_scaling": {
25
+ "factor": 32.0,
26
+ "high_freq_factor": 4.0,
27
+ "low_freq_factor": 1.0,
28
+ "original_max_position_embeddings": 8192,
29
+ "rope_type": "llama3"
30
+ },
31
+ "rope_theta": 500000.0,
32
+ "tie_word_embeddings": true,
33
+ "torch_dtype": "float16",
34
+ "transformers_version": "4.47.1",
35
+ "use_cache": false,
36
+ "vocab_size": 100263
37
+ }
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.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,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:4d96e8658b01ddbab5abeb8938efb021acb01570d0de286496c17ac7a55d55ef
3
+ size 6904
vocab.json ADDED
The diff for this file is too large to render. See raw diff