Aivesa commited on
Commit
694d386
·
verified ·
1 Parent(s): b932234

Training in progress, step 3

Browse files
README.md ADDED
@@ -0,0 +1,153 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: llamafactory/tiny-random-Llama-3
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ datasets:
9
+ - Aivesa/dataset_3196ce3b-6aa4-47f9-a5b7-bfd4b34e4b38
10
+ model-index:
11
+ - name: 239d5457-8520-43fb-97c4-b96a2ac31210
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: llamafactory/tiny-random-Llama-3
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_3196ce3b-6aa4-47f9-a5b7-bfd4b34e4b38
32
+ type:
33
+ field_instruction: inputs
34
+ field_output: targets
35
+ system_format: '{system}'
36
+ system_prompt: ''
37
+ debug: null
38
+ deepspeed: null
39
+ early_stopping_patience: null
40
+ eval_max_new_tokens: 128
41
+ eval_table_size: null
42
+ evals_per_epoch: 4
43
+ flash_attention: false
44
+ fp16: null
45
+ fsdp: null
46
+ fsdp_config: null
47
+ gradient_accumulation_steps: 4
48
+ gradient_checkpointing: false
49
+ group_by_length: false
50
+ hub_model_id: Aivesa/239d5457-8520-43fb-97c4-b96a2ac31210
51
+ hub_private_repo: true
52
+ hub_repo: null
53
+ hub_strategy: checkpoint
54
+ hub_token: null
55
+ learning_rate: 0.0002
56
+ load_in_4bit: false
57
+ load_in_8bit: false
58
+ local_rank: null
59
+ logging_steps: 1
60
+ lora_alpha: 16
61
+ lora_dropout: 0.05
62
+ lora_fan_in_fan_out: null
63
+ lora_model_dir: null
64
+ lora_r: 8
65
+ lora_target_linear: true
66
+ lr_scheduler: cosine
67
+ max_steps: 10
68
+ micro_batch_size: 2
69
+ model_type: AutoModelForCausalLM
70
+ num_epochs: 1
71
+ optimizer: adamw_bnb_8bit
72
+ output_dir: /workspace/axolotl/outputs
73
+ pad_to_sequence_len: true
74
+ push_to_hub: true
75
+ resume_from_checkpoint: null
76
+ s2_attention: null
77
+ sample_packing: false
78
+ save_safetensors: true
79
+ saves_per_epoch: 4
80
+ sequence_len: 512
81
+ special_tokens:
82
+ pad_token: <|eot_id|>
83
+ strict: false
84
+ tf32: false
85
+ tokenizer_type: AutoTokenizer
86
+ train_on_inputs: false
87
+ trust_remote_code: true
88
+ use_accelerate: true
89
+ val_set_size: 0.05
90
+ wandb_entity: null
91
+ wandb_mode: online
92
+ wandb_name: 3196ce3b-6aa4-47f9-a5b7-bfd4b34e4b38
93
+ wandb_project: Gradients-On-Demand
94
+ wandb_run: your_name
95
+ wandb_runid: 3196ce3b-6aa4-47f9-a5b7-bfd4b34e4b38
96
+ warmup_steps: 10
97
+ weight_decay: 0.0
98
+ xformers_attention: null
99
+
100
+ ```
101
+
102
+ </details><br>
103
+
104
+ # 239d5457-8520-43fb-97c4-b96a2ac31210
105
+
106
+ This model is a fine-tuned version of [llamafactory/tiny-random-Llama-3](https://huggingface.co/llamafactory/tiny-random-Llama-3) on the Aivesa/dataset_3196ce3b-6aa4-47f9-a5b7-bfd4b34e4b38 dataset.
107
+ It achieves the following results on the evaluation set:
108
+ - Loss: 11.7598
109
+
110
+ ## Model description
111
+
112
+ More information needed
113
+
114
+ ## Intended uses & limitations
115
+
116
+ More information needed
117
+
118
+ ## Training and evaluation data
119
+
120
+ More information needed
121
+
122
+ ## Training procedure
123
+
124
+ ### Training hyperparameters
125
+
126
+ The following hyperparameters were used during training:
127
+ - learning_rate: 0.0002
128
+ - train_batch_size: 2
129
+ - eval_batch_size: 2
130
+ - seed: 42
131
+ - gradient_accumulation_steps: 4
132
+ - total_train_batch_size: 8
133
+ - optimizer: Use adamw_bnb_8bit with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
134
+ - lr_scheduler_type: cosine
135
+ - lr_scheduler_warmup_steps: 10
136
+ - training_steps: 10
137
+
138
+ ### Training results
139
+
140
+ | Training Loss | Epoch | Step | Validation Loss |
141
+ |:-------------:|:------:|:----:|:---------------:|
142
+ | 11.7633 | 0.0054 | 3 | 11.7599 |
143
+ | 11.7713 | 0.0107 | 6 | 11.7599 |
144
+ | 11.76 | 0.0161 | 9 | 11.7598 |
145
+
146
+
147
+ ### Framework versions
148
+
149
+ - PEFT 0.14.0
150
+ - Transformers 4.47.1
151
+ - Pytorch 2.5.0a0+e000cf0ad9.nv24.10
152
+ - Datasets 3.1.0
153
+ - 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": "Korabbit/llama-2-ko-7b",
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
+ "q_proj",
27
+ "o_proj",
28
+ "down_proj",
29
+ "v_proj",
30
+ "gate_proj",
31
+ "k_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:23cde452e312748315ff7ab84d7bb0fe9bc026445498d1658ab5e3901e6c4a06
3
+ size 80013120
added_tokens.json ADDED
The diff for this file is too large to render. See raw diff
 
config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "Korabbit/llama-2-ko-7b",
4
+ "architectures": [
5
+ "LlamaForCausalLM"
6
+ ],
7
+ "attention_bias": false,
8
+ "attention_dropout": 0.0,
9
+ "bos_token_id": 1,
10
+ "eos_token_id": 2,
11
+ "head_dim": 128,
12
+ "hidden_act": "silu",
13
+ "hidden_size": 4096,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 11008,
16
+ "max_position_embeddings": 4096,
17
+ "mlp_bias": false,
18
+ "model_type": "llama",
19
+ "num_attention_heads": 32,
20
+ "num_hidden_layers": 32,
21
+ "num_key_value_heads": 32,
22
+ "pad_token_id": 0,
23
+ "pretraining_tp": 1,
24
+ "rms_norm_eps": 1e-05,
25
+ "rope_scaling": null,
26
+ "rope_theta": 10000.0,
27
+ "tie_word_embeddings": false,
28
+ "torch_dtype": "float32",
29
+ "transformers_version": "4.47.1",
30
+ "use_cache": false,
31
+ "vocab_size": 50964
32
+ }
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": "</s>",
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:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9984c84318489ec617f7a227307e711c01104c68d85c659f217fd7aa56eeb9c7
3
+ size 6904