dvdmrs09 commited on
Commit
8241a8a
1 Parent(s): 5880d28

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +146 -0
README.md ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ library_name: transformers
4
+ tags:
5
+ - generated_from_trainer
6
+ base_model: google/gemma-2b
7
+ model-index:
8
+ - name: out1v
9
+ results: []
10
+ pipeline_tag: text-generation
11
+ ---
12
+
13
+ [<img src="https://raw.githubusercontent.com/OpenAccess-AI-Collective/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/OpenAccess-AI-Collective/axolotl)
14
+ <details><summary>See axolotl config</summary>
15
+
16
+ axolotl version: `0.4.0`
17
+ ```yaml
18
+ # use google/gemma-7b if you have access
19
+ base_model: google/gemma-2b
20
+ model_type: AutoModelForCausalLM
21
+ tokenizer_type: AutoTokenizer
22
+ #lora_model_dir:
23
+ load_in_8bit: false
24
+ load_in_4bit: true
25
+ strict: false
26
+
27
+ # huggingface repo
28
+ datasets:
29
+ - path: ./python-oasst/cleaned-dataset.jsonl
30
+ type: oasst
31
+ val_set_size: 0.20
32
+ output_dir: ./out1v
33
+
34
+ adapter: lora
35
+ lora_r: 8
36
+ lora_alpha: 16
37
+ lora_dropout: 0.05
38
+ lora_target_linear: true
39
+ gptq: false
40
+ sequence_len: 4096
41
+ sample_packing: false
42
+ pad_to_sequence_len: true
43
+
44
+ wandb_project: gemma-2b-it
45
+ wandb_entity:
46
+ wandb_watch:
47
+ wandb_name:
48
+ wandb_log_model:
49
+
50
+
51
+ gradient_accumulation_steps: 4
52
+ micro_batch_size: 4
53
+ num_epochs: 2
54
+ optimizer: adamw_bnb_8bit
55
+ lr_scheduler: cosine
56
+ learning_rate: 0.0002
57
+
58
+ train_on_inputs: true
59
+ group_by_length: false
60
+ bf16: auto
61
+ fp16:
62
+ tf32: false
63
+
64
+ gradient_checkpointing: true
65
+ early_stopping_patience:
66
+ resume_from_checkpoint:
67
+ local_rank:
68
+ logging_steps: 1
69
+ xformers_attention:
70
+ flash_attention: true
71
+
72
+ warmup_ratio: 0.1
73
+ evals_per_epoch: 4
74
+ eval_table_size:
75
+ eval_max_new_tokens: 128
76
+ saves_per_epoch: 1
77
+ debug:
78
+ deepspeed: deepspeed_configs/zero3_bf16.json
79
+ weight_decay: 0.0
80
+ fsdp:
81
+ fsdp_config:
82
+ special_tokens:
83
+
84
+ ```
85
+
86
+ </details><br>
87
+
88
+ # out1v
89
+
90
+ This model is a fine-tuned version of [google/gemma-2b](https://huggingface.co/google/gemma-2b) on the None dataset.
91
+ It achieves the following results on the evaluation set:
92
+ - Loss: 1.1243
93
+
94
+ ## Model description
95
+
96
+ More information needed
97
+
98
+ ## Intended uses & limitations
99
+
100
+ More information needed
101
+
102
+ ## Training and evaluation data
103
+
104
+ More information needed
105
+
106
+ ## Training procedure
107
+
108
+ ### Training hyperparameters
109
+
110
+ The following hyperparameters were used during training:
111
+ - learning_rate: 0.0002
112
+ - train_batch_size: 4
113
+ - eval_batch_size: 4
114
+ - seed: 42
115
+ - distributed_type: multi-GPU
116
+ - num_devices: 2
117
+ - gradient_accumulation_steps: 4
118
+ - total_train_batch_size: 32
119
+ - total_eval_batch_size: 8
120
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
121
+ - lr_scheduler_type: cosine
122
+ - lr_scheduler_warmup_steps: 1045
123
+ - num_epochs: 2
124
+
125
+ ### Training results
126
+
127
+ | Training Loss | Epoch | Step | Validation Loss |
128
+ |:-------------:|:-----:|:-----:|:---------------:|
129
+ | 1.9865 | 0.0 | 1 | 2.2808 |
130
+ | 1.1033 | 0.25 | 2613 | 1.1338 |
131
+ | 1.0035 | 0.5 | 5226 | 1.1308 |
132
+ | 1.0089 | 0.75 | 7839 | 1.1272 |
133
+ | 0.9816 | 1.0 | 10452 | 1.1238 |
134
+ | 0.8727 | 1.25 | 13065 | 1.1270 |
135
+ | 0.9951 | 1.5 | 15678 | 1.1254 |
136
+ | 1.01 | 1.75 | 18291 | 1.1242 |
137
+ | 1.0677 | 2.0 | 20904 | 1.1243 |
138
+
139
+
140
+ ### Framework versions
141
+
142
+ - PEFT 0.10.0
143
+ - Transformers 4.40.0.dev0
144
+ - Pytorch 2.2.2+cu121
145
+ - Datasets 2.18.0
146
+ - Tokenizers 0.15.0