danruban commited on
Commit
ac74a8f
·
verified ·
1 Parent(s): 1d6ff25

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +131 -0
README.md ADDED
@@ -0,0 +1,131 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: gemma
4
+ base_model: google/gemma-3-1b-it
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: mnt/d/druban/axolotl/try2
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.8.0`
19
+ ```yaml
20
+ base_model: google/gemma-3-1b-it
21
+ model_type: gemma
22
+ tokenizer_type: AutoTokenizer
23
+ trust_remote_code: true
24
+
25
+ load_in_4bit: true
26
+ adapter: qlora
27
+
28
+ lora_r: 8 # 💡 уменьшено для маленького датасета
29
+ lora_alpha: 16 # 💡 пропорционально уменьшено
30
+ lora_dropout: 0.05
31
+ lora_target_modules:
32
+ - q_proj
33
+ - k_proj
34
+ - v_proj
35
+ - o_proj
36
+ - gate_proj
37
+ - up_proj
38
+ - down_proj
39
+
40
+
41
+ deepspeed: /mnt/d/druban/axolotl/try1/zero1.json
42
+
43
+ datasets:
44
+ - path: /mnt/d/druban/axolotl/try1/data/finetuning-dataset-chatml.jsonl
45
+ type: chat_template
46
+ field_messages: conversations
47
+
48
+ val_set_size: 0.1 # 💡 10% для более надёжной валидации
49
+
50
+ output_dir: /mnt/d/druban/axolotl/try2
51
+
52
+ sequence_len: 2048
53
+ sample_packing: true
54
+ eval_sample_packing: false
55
+
56
+ gradient_checkpointing: true
57
+
58
+ batch_size: 2
59
+ micro_batch_size: 1
60
+
61
+ num_epochs: 10 # 💡 увеличено с 3 до 10 для глубокого дообучения
62
+
63
+ optimizer: adamw_bnb_8bit
64
+ learning_rate: 5e-5 # 💡 чуть выше для малых данных
65
+ lr_scheduler: cosine
66
+ warmup_steps: 10
67
+
68
+ wandb_project: gemma-finetune
69
+ ```
70
+
71
+ </details><br>
72
+
73
+ # mnt/d/druban/axolotl/try2
74
+
75
+ This model is a fine-tuned version of [google/gemma-3-1b-it](https://huggingface.co/google/gemma-3-1b-it) on the /mnt/d/druban/axolotl/try1/data/finetuning-dataset-chatml.jsonl dataset.
76
+ It achieves the following results on the evaluation set:
77
+ - Loss: 4.5024
78
+
79
+ ## Model description
80
+
81
+ More information needed
82
+
83
+ ## Intended uses & limitations
84
+
85
+ More information needed
86
+
87
+ ## Training and evaluation data
88
+
89
+ More information needed
90
+
91
+ ## Training procedure
92
+
93
+ ### Training hyperparameters
94
+
95
+ The following hyperparameters were used during training:
96
+ - learning_rate: 5e-05
97
+ - train_batch_size: 1
98
+ - eval_batch_size: 1
99
+ - seed: 42
100
+ - distributed_type: multi-GPU
101
+ - num_devices: 2
102
+ - total_train_batch_size: 2
103
+ - total_eval_batch_size: 2
104
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
105
+ - lr_scheduler_type: cosine
106
+ - lr_scheduler_warmup_steps: 10
107
+ - num_epochs: 10.0
108
+
109
+ ### Training results
110
+
111
+ | Training Loss | Epoch | Step | Validation Loss |
112
+ |:-------------:|:-----:|:----:|:---------------:|
113
+ | 6.4781 | 1.0 | 7 | 13.0395 |
114
+ | 5.5099 | 2.0 | 14 | 9.8655 |
115
+ | 4.5869 | 3.0 | 21 | 7.0045 |
116
+ | 4.1804 | 4.0 | 28 | 5.8688 |
117
+ | 4.0683 | 5.0 | 35 | 5.1847 |
118
+ | 4.0524 | 6.0 | 42 | 4.7762 |
119
+ | 3.9197 | 7.0 | 49 | 4.6118 |
120
+ | 3.6931 | 8.0 | 56 | 4.5488 |
121
+ | 3.995 | 9.0 | 63 | 4.5053 |
122
+ | 3.7989 | 10.0 | 70 | 4.5024 |
123
+
124
+
125
+ ### Framework versions
126
+
127
+ - PEFT 0.15.1
128
+ - Transformers 4.51.0
129
+ - Pytorch 2.5.1+cu121
130
+ - Datasets 3.5.0
131
+ - Tokenizers 0.21.1