mamung commited on
Commit
0807190
·
verified ·
1 Parent(s): ef3531f

End of training

Browse files
Files changed (2) hide show
  1. README.md +168 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,168 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: trl-internal-testing/tiny-random-LlamaForCausalLM
4
+ tags:
5
+ - axolotl
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: 345fef6a-8237-4ee7-82b7-ba614660cdd1
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.4.1`
19
+ ```yaml
20
+ adapter: lora
21
+ base_model: trl-internal-testing/tiny-random-LlamaForCausalLM
22
+ bf16: true
23
+ chat_template: llama3
24
+ dataset_prepared_path: null
25
+ datasets:
26
+ - data_files:
27
+ - 570f06fa330a02a8_train_data.json
28
+ ds_type: json
29
+ format: custom
30
+ path: /workspace/input_data/570f06fa330a02a8_train_data.json
31
+ type:
32
+ field_input: starter_code
33
+ field_instruction: question_content
34
+ field_output: test
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: null
42
+ eval_max_new_tokens: 256
43
+ eval_table_size: null
44
+ evals_per_epoch: 4
45
+ flash_attention: false
46
+ fp16: null
47
+ fsdp: null
48
+ fsdp_config: null
49
+ gradient_accumulation_steps: 32
50
+ gradient_checkpointing: true
51
+ group_by_length: false
52
+ hub_model_id: mamung/345fef6a-8237-4ee7-82b7-ba614660cdd1
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: 3
61
+ lora_alpha: 64
62
+ lora_dropout: 0.05
63
+ lora_fan_in_fan_out: null
64
+ lora_model_dir: null
65
+ lora_r: 32
66
+ lora_target_linear: true
67
+ lora_target_modules:
68
+ - q_proj
69
+ - k_proj
70
+ - v_proj
71
+ - o_proj
72
+ lr_scheduler: cosine
73
+ max_grad_norm: 2
74
+ max_steps: 100
75
+ micro_batch_size: 2
76
+ mlflow_experiment_name: /tmp/570f06fa330a02a8_train_data.json
77
+ model_type: AutoModelForCausalLM
78
+ num_epochs: 3
79
+ optim_args:
80
+ adam_beta1: 0.9
81
+ adam_beta2: 0.95
82
+ adam_epsilon: 1.0e-05
83
+ optimizer: adamw_torch
84
+ output_dir: miner_id_24
85
+ pad_to_sequence_len: true
86
+ resume_from_checkpoint: null
87
+ s2_attention: null
88
+ sample_packing: false
89
+ saves_per_epoch: 4
90
+ sequence_len: 2048
91
+ strict: false
92
+ tf32: false
93
+ tokenizer_type: AutoTokenizer
94
+ train_on_inputs: false
95
+ trust_remote_code: true
96
+ val_set_size: 0.05
97
+ wandb_entity: eddysang
98
+ wandb_mode: online
99
+ wandb_name: 835a7d05-70b3-4946-9a54-04ee779c4f19
100
+ wandb_project: Gradients-On-Demand
101
+ wandb_run: your_name
102
+ wandb_runid: 835a7d05-70b3-4946-9a54-04ee779c4f19
103
+ warmup_steps: 20
104
+ weight_decay: 0.02
105
+ xformers_attention: false
106
+
107
+ ```
108
+
109
+ </details><br>
110
+
111
+ # 345fef6a-8237-4ee7-82b7-ba614660cdd1
112
+
113
+ This model is a fine-tuned version of [trl-internal-testing/tiny-random-LlamaForCausalLM](https://huggingface.co/trl-internal-testing/tiny-random-LlamaForCausalLM) on the None dataset.
114
+ It achieves the following results on the evaluation set:
115
+ - Loss: 10.2883
116
+
117
+ ## Model description
118
+
119
+ More information needed
120
+
121
+ ## Intended uses & limitations
122
+
123
+ More information needed
124
+
125
+ ## Training and evaluation data
126
+
127
+ More information needed
128
+
129
+ ## Training procedure
130
+
131
+ ### Training hyperparameters
132
+
133
+ The following hyperparameters were used during training:
134
+ - learning_rate: 0.0002
135
+ - train_batch_size: 2
136
+ - eval_batch_size: 2
137
+ - seed: 42
138
+ - gradient_accumulation_steps: 32
139
+ - total_train_batch_size: 64
140
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=adam_beta1=0.9,adam_beta2=0.95,adam_epsilon=1e-05
141
+ - lr_scheduler_type: cosine
142
+ - lr_scheduler_warmup_steps: 20
143
+ - training_steps: 86
144
+
145
+ ### Training results
146
+
147
+ | Training Loss | Epoch | Step | Validation Loss |
148
+ |:-------------:|:------:|:----:|:---------------:|
149
+ | No log | 0.0350 | 1 | 10.3792 |
150
+ | 10.3758 | 0.2801 | 8 | 10.3774 |
151
+ | 10.3712 | 0.5602 | 16 | 10.3714 |
152
+ | 10.3635 | 0.8403 | 24 | 10.3584 |
153
+ | 13.5544 | 1.1368 | 32 | 10.3373 |
154
+ | 10.2418 | 1.4168 | 40 | 10.3136 |
155
+ | 10.2948 | 1.6969 | 48 | 10.2994 |
156
+ | 10.258 | 1.9770 | 56 | 10.2935 |
157
+ | 10.1202 | 2.2735 | 64 | 10.2904 |
158
+ | 10.3454 | 2.5536 | 72 | 10.2889 |
159
+ | 10.0236 | 2.8337 | 80 | 10.2883 |
160
+
161
+
162
+ ### Framework versions
163
+
164
+ - PEFT 0.13.2
165
+ - Transformers 4.46.0
166
+ - Pytorch 2.5.0+cu124
167
+ - Datasets 3.0.1
168
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d7616e4a36f63a689c44890386ba096e86f42049dd13e50d67985e4880b28a3
3
+ size 104322