Romain-XV commited on
Commit
a8b008d
·
verified ·
1 Parent(s): 5e8fa54

End of training

Browse files
Files changed (3) hide show
  1. README.md +155 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,155 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: unsloth/llama-2-7b
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: 75559022-fdb4-406d-aec5-37e1ddf20702
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: unsloth/llama-2-7b
23
+ bf16: true
24
+ chat_template: llama3
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - 61fc77ff8634d0a6_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/61fc77ff8634d0a6_train_data.json
32
+ type:
33
+ field_input: question
34
+ field_instruction: system
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
+ early_stopping_patience: 2
43
+ eval_max_new_tokens: 128
44
+ eval_steps: 50
45
+ eval_table_size: null
46
+ flash_attention: true
47
+ fp16: null
48
+ fsdp: null
49
+ fsdp_config: null
50
+ gradient_accumulation_steps: 16
51
+ gradient_checkpointing: true
52
+ group_by_length: false
53
+ hub_model_id: Romain-XV/75559022-fdb4-406d-aec5-37e1ddf20702
54
+ hub_repo: null
55
+ hub_strategy: checkpoint
56
+ hub_token: null
57
+ learning_rate: 0.0002
58
+ load_best_model_at_end: true
59
+ load_in_4bit: false
60
+ load_in_8bit: false
61
+ local_rank: null
62
+ logging_steps: 1
63
+ lora_alpha: 32
64
+ lora_dropout: 0.05
65
+ lora_fan_in_fan_out: null
66
+ lora_model_dir: null
67
+ lora_r: 16
68
+ lora_target_linear: true
69
+ lora_target_modules:
70
+ - q_proj
71
+ - k_proj
72
+ - v_proj
73
+ lr_scheduler: cosine
74
+ max_steps: 330
75
+ micro_batch_size: 4
76
+ mlflow_experiment_name: /tmp/61fc77ff8634d0a6_train_data.json
77
+ model_type: AutoModelForCausalLM
78
+ optimizer: adamw_bnb_8bit
79
+ output_dir: miner_id_24
80
+ pad_to_sequence_len: true
81
+ resume_from_checkpoint: null
82
+ s2_attention: null
83
+ sample_packing: false
84
+ save_steps: 100
85
+ sequence_len: 2048
86
+ strict: false
87
+ tf32: true
88
+ tokenizer_type: AutoTokenizer
89
+ train_on_inputs: false
90
+ trust_remote_code: true
91
+ val_set_size: 0.05
92
+ wandb_entity: null
93
+ wandb_mode: online
94
+ wandb_name: c44024df-5696-475a-a5b1-e825fef176f3
95
+ wandb_project: Gradients-On-Demand
96
+ wandb_run: your_name
97
+ wandb_runid: c44024df-5696-475a-a5b1-e825fef176f3
98
+ warmup_steps: 10
99
+ weight_decay: 0.0
100
+ xformers_attention: null
101
+
102
+ ```
103
+
104
+ </details><br>
105
+
106
+ # 75559022-fdb4-406d-aec5-37e1ddf20702
107
+
108
+ This model is a fine-tuned version of [unsloth/llama-2-7b](https://huggingface.co/unsloth/llama-2-7b) on the None dataset.
109
+ It achieves the following results on the evaluation set:
110
+ - Loss: 0.7435
111
+
112
+ ## Model description
113
+
114
+ More information needed
115
+
116
+ ## Intended uses & limitations
117
+
118
+ More information needed
119
+
120
+ ## Training and evaluation data
121
+
122
+ More information needed
123
+
124
+ ## Training procedure
125
+
126
+ ### Training hyperparameters
127
+
128
+ The following hyperparameters were used during training:
129
+ - learning_rate: 0.0002
130
+ - train_batch_size: 4
131
+ - eval_batch_size: 4
132
+ - seed: 42
133
+ - gradient_accumulation_steps: 16
134
+ - total_train_batch_size: 64
135
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
136
+ - lr_scheduler_type: cosine
137
+ - lr_scheduler_warmup_steps: 10
138
+ - training_steps: 101
139
+
140
+ ### Training results
141
+
142
+ | Training Loss | Epoch | Step | Validation Loss |
143
+ |:-------------:|:------:|:----:|:---------------:|
144
+ | 1.1772 | 0.0099 | 1 | 1.1727 |
145
+ | 0.7881 | 0.4957 | 50 | 0.7790 |
146
+ | 0.7531 | 0.9913 | 100 | 0.7435 |
147
+
148
+
149
+ ### Framework versions
150
+
151
+ - PEFT 0.13.2
152
+ - Transformers 4.46.0
153
+ - Pytorch 2.5.0+cu124
154
+ - Datasets 3.0.1
155
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a0a9d564b6c8ea7b246b4f8f124a88b058bcc05b6175a95f894a527f9cefbce
3
+ size 160069834
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e05dbbe1cd55233095609181643b53910722d671f362333115e6073d640bc010
3
  size 159967880
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25dd5d49a61aa98fdcb201bfe418903a4d9a916c2a751171624f6bbebf750327
3
  size 159967880