lesso13 commited on
Commit
4720a59
·
verified ·
1 Parent(s): ecba48a

End of training

Browse files
Files changed (3) hide show
  1. README.md +156 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: bigcode-openrail-m
4
+ base_model: bigcode/starcoder2-3b
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: 0640a8ab-9066-4e8d-9edb-85bc83bbf447
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ [<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)
17
+ <details><summary>See axolotl config</summary>
18
+
19
+ axolotl version: `0.4.1`
20
+ ```yaml
21
+ adapter: lora
22
+ base_model: bigcode/starcoder2-3b
23
+ bf16: true
24
+ chat_template: llama3
25
+ datasets:
26
+ - data_files:
27
+ - 60b8bbb767608822_train_data.json
28
+ ds_type: json
29
+ format: custom
30
+ path: /workspace/input_data/60b8bbb767608822_train_data.json
31
+ type:
32
+ field_input: input
33
+ field_instruction: instruction
34
+ field_output: output
35
+ format: '{instruction} {input}'
36
+ no_input_format: '{instruction}'
37
+ system_format: '{system}'
38
+ system_prompt: ''
39
+ debug: null
40
+ deepspeed: null
41
+ early_stopping_patience: 2
42
+ eval_max_new_tokens: 128
43
+ eval_steps: 5
44
+ eval_table_size: null
45
+ flash_attention: false
46
+ fp16: false
47
+ fsdp: null
48
+ fsdp_config: null
49
+ gradient_accumulation_steps: 4
50
+ gradient_checkpointing: false
51
+ group_by_length: false
52
+ hub_model_id: lesso13/0640a8ab-9066-4e8d-9edb-85bc83bbf447
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: true
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_memory:
69
+ 0: 45GiB
70
+ max_steps: 25
71
+ micro_batch_size: 2
72
+ mlflow_experiment_name: /tmp/60b8bbb767608822_train_data.json
73
+ model_type: AutoModelForCausalLM
74
+ num_epochs: 1
75
+ optimizer: adamw_bnb_8bit
76
+ output_dir: miner_id_24
77
+ pad_to_sequence_len: true
78
+ resume_from_checkpoint: null
79
+ s2_attention: null
80
+ sample_packing: false
81
+ save_steps: 10
82
+ sequence_len: 512
83
+ special_tokens:
84
+ pad_token: <|endoftext|>
85
+ strict: false
86
+ tf32: false
87
+ tokenizer_type: AutoTokenizer
88
+ train_on_inputs: false
89
+ trust_remote_code: true
90
+ val_set_size: 0.05
91
+ wandb_entity: null
92
+ wandb_mode: online
93
+ wandb_name: 55a5daee-2eae-4f24-a147-bbbbf055ce62
94
+ wandb_project: Gradients-On-Demand
95
+ wandb_run: your_name
96
+ wandb_runid: 55a5daee-2eae-4f24-a147-bbbbf055ce62
97
+ warmup_steps: 10
98
+ weight_decay: 0.0
99
+ xformers_attention: null
100
+
101
+ ```
102
+
103
+ </details><br>
104
+
105
+ # 0640a8ab-9066-4e8d-9edb-85bc83bbf447
106
+
107
+ This model is a fine-tuned version of [bigcode/starcoder2-3b](https://huggingface.co/bigcode/starcoder2-3b) on the None dataset.
108
+ It achieves the following results on the evaluation set:
109
+ - Loss: 1.8211
110
+
111
+ ## Model description
112
+
113
+ More information needed
114
+
115
+ ## Intended uses & limitations
116
+
117
+ More information needed
118
+
119
+ ## Training and evaluation data
120
+
121
+ More information needed
122
+
123
+ ## Training procedure
124
+
125
+ ### Training hyperparameters
126
+
127
+ The following hyperparameters were used during training:
128
+ - learning_rate: 0.0002
129
+ - train_batch_size: 2
130
+ - eval_batch_size: 2
131
+ - seed: 42
132
+ - gradient_accumulation_steps: 4
133
+ - total_train_batch_size: 8
134
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
135
+ - lr_scheduler_type: cosine
136
+ - lr_scheduler_warmup_steps: 10
137
+ - training_steps: 25
138
+
139
+ ### Training results
140
+
141
+ | Training Loss | Epoch | Step | Validation Loss |
142
+ |:-------------:|:------:|:----:|:---------------:|
143
+ | 17.2541 | 0.0002 | 1 | 1.7752 |
144
+ | 23.4074 | 0.0008 | 5 | 1.7739 |
145
+ | 12.5246 | 0.0016 | 10 | 1.8056 |
146
+ | 12.916 | 0.0024 | 15 | 1.8550 |
147
+ | 11.6998 | 0.0033 | 20 | 1.8211 |
148
+
149
+
150
+ ### Framework versions
151
+
152
+ - PEFT 0.13.2
153
+ - Transformers 4.46.0
154
+ - Pytorch 2.5.0+cu124
155
+ - Datasets 3.0.1
156
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:09f313544c9f2588b48cdfc69458c6a8a872549759c243c9be7aedfc32ee5563
3
+ size 47806698
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d126b2cc12f1984d3d84c1f722101ed21bd3a7802cd896fc5a4add73401547ba
3
  size 47724600
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8b7873364f3410f4af99da464d511f21aef75807900703dae421d1fb12077e9
3
  size 47724600