nttx commited on
Commit
b866814
·
verified ·
1 Parent(s): efedcef

End of training

Browse files
Files changed (3) hide show
  1. README.md +163 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: katuni4ka/tiny-random-dbrx
4
+ tags:
5
+ - axolotl
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: b7d1970d-8f9a-4cae-8180-b2e8c45a7da2
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: katuni4ka/tiny-random-dbrx
22
+ bf16: true
23
+ chat_template: llama3
24
+ dataloader_num_workers: 24
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - 4b26cf6f45d829b8_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/4b26cf6f45d829b8_train_data.json
32
+ type:
33
+ field_input: rejected
34
+ field_instruction: prompt
35
+ field_output: chosen
36
+ format: '{instruction} {input}'
37
+ no_input_format: '{instruction}'
38
+ system_format: '{system}'
39
+ system_prompt: ''
40
+ debug: null
41
+ deepspeed: null
42
+ device_map: auto
43
+ do_eval: true
44
+ early_stopping_patience: 3
45
+ eval_batch_size: 2
46
+ eval_max_new_tokens: 128
47
+ eval_steps: 300
48
+ eval_table_size: null
49
+ evals_per_epoch: null
50
+ flash_attention: true
51
+ fp16: false
52
+ fsdp: null
53
+ fsdp_config: null
54
+ gradient_accumulation_steps: 4
55
+ gradient_checkpointing: false
56
+ group_by_length: true
57
+ hub_model_id: nttx/b7d1970d-8f9a-4cae-8180-b2e8c45a7da2
58
+ hub_repo: null
59
+ hub_strategy: checkpoint
60
+ hub_token: null
61
+ learning_rate: 0.0002
62
+ load_in_4bit: false
63
+ load_in_8bit: false
64
+ local_rank: null
65
+ logging_steps: 1
66
+ lora_alpha: 16
67
+ lora_dropout: 0.05
68
+ lora_fan_in_fan_out: null
69
+ lora_model_dir: null
70
+ lora_r: 8
71
+ lora_target_linear: true
72
+ lr_scheduler: cosine
73
+ max_grad_norm: 1.0
74
+ max_steps: 3000
75
+ micro_batch_size: 2
76
+ mlflow_experiment_name: /tmp/4b26cf6f45d829b8_train_data.json
77
+ model_type: AutoModelForCausalLM
78
+ num_epochs: 1000
79
+ optim_args:
80
+ adam_beta1: 0.9
81
+ adam_beta2: 0.999
82
+ adam_epsilon: 1e-8
83
+ optimizer: adamw_bnb_8bit
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
+ save_steps: 300
90
+ saves_per_epoch: null
91
+ sequence_len: 512
92
+ strict: false
93
+ tf32: true
94
+ tokenizer_type: AutoTokenizer
95
+ train_on_inputs: false
96
+ trust_remote_code: true
97
+ val_set_size: 0.05
98
+ wandb_entity: null
99
+ wandb_mode: online
100
+ wandb_name: 9d22b733-69b4-4f3f-9c47-cb579b82d390
101
+ wandb_project: Gradients-On-Demand
102
+ wandb_run: your_name
103
+ wandb_runid: 9d22b733-69b4-4f3f-9c47-cb579b82d390
104
+ warmup_steps: 10
105
+ weight_decay: 0.0
106
+ xformers_attention: null
107
+
108
+ ```
109
+
110
+ </details><br>
111
+
112
+ # b7d1970d-8f9a-4cae-8180-b2e8c45a7da2
113
+
114
+ This model is a fine-tuned version of [katuni4ka/tiny-random-dbrx](https://huggingface.co/katuni4ka/tiny-random-dbrx) on the None dataset.
115
+ It achieves the following results on the evaluation set:
116
+ - Loss: 11.5
117
+
118
+ ## Model description
119
+
120
+ More information needed
121
+
122
+ ## Intended uses & limitations
123
+
124
+ More information needed
125
+
126
+ ## Training and evaluation data
127
+
128
+ More information needed
129
+
130
+ ## Training procedure
131
+
132
+ ### Training hyperparameters
133
+
134
+ The following hyperparameters were used during training:
135
+ - learning_rate: 0.0002
136
+ - train_batch_size: 2
137
+ - eval_batch_size: 2
138
+ - seed: 42
139
+ - gradient_accumulation_steps: 4
140
+ - total_train_batch_size: 8
141
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=adam_beta1=0.9,adam_beta2=0.999,adam_epsilon=1e-8
142
+ - lr_scheduler_type: cosine
143
+ - lr_scheduler_warmup_steps: 10
144
+ - training_steps: 3000
145
+
146
+ ### Training results
147
+
148
+ | Training Loss | Epoch | Step | Validation Loss |
149
+ |:-------------:|:------:|:----:|:---------------:|
150
+ | 46.0 | 0.0001 | 1 | 11.5 |
151
+ | 46.0 | 0.0410 | 300 | 11.5 |
152
+ | 46.0 | 0.0819 | 600 | 11.5 |
153
+ | 46.0 | 0.1229 | 900 | 11.5 |
154
+ | 46.0 | 0.1639 | 1200 | 11.5 |
155
+
156
+
157
+ ### Framework versions
158
+
159
+ - PEFT 0.13.2
160
+ - Transformers 4.46.0
161
+ - Pytorch 2.5.0+cu124
162
+ - Datasets 3.0.1
163
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7bbbc1524f8e7e39297123849543c845f465d8237bcb965b354d42d74ee5da34
3
+ size 9170
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:46d727ef0af70eeabeb4773ef88c608d767a507ccc740f851c6336c45687168f
3
  size 5752
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:779dd38fbf8267ffbf864ff50a15985c9535422c66e23390cd550d6739b8476b
3
  size 5752