DeepDream2045 commited on
Commit
05490d1
1 Parent(s): 779d277

End of training

Browse files
README.md ADDED
@@ -0,0 +1,155 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: echarlaix/tiny-random-PhiForCausalLM
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: 039e90ac-e3d6-47b5-94d8-985b4c208d8e
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.5.2`
20
+ ```yaml
21
+ adapter: lora
22
+ base_model: echarlaix/tiny-random-PhiForCausalLM
23
+ bf16: auto
24
+ chat_template: llama3
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - 10232ff87e731ce2_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/10232ff87e731ce2_train_data.json
32
+ type:
33
+ field_instruction: question_body
34
+ field_output: title
35
+ format: '{instruction}'
36
+ no_input_format: '{instruction}'
37
+ system_format: '{system}'
38
+ system_prompt: ''
39
+ debug: null
40
+ deepspeed: null
41
+ early_stopping_patience: 1
42
+ eval_max_new_tokens: 128
43
+ eval_steps: 25
44
+ eval_table_size: null
45
+ flash_attention: false
46
+ fp16: false
47
+ fsdp: null
48
+ fsdp_config: null
49
+ gradient_accumulation_steps: 16
50
+ gradient_checkpointing: true
51
+ group_by_length: true
52
+ hub_model_id: DeepDream2045/039e90ac-e3d6-47b5-94d8-985b4c208d8e
53
+ hub_repo: null
54
+ hub_strategy: checkpoint
55
+ hub_token: null
56
+ learning_rate: 0.0001
57
+ load_in_4bit: false
58
+ load_in_8bit: false
59
+ local_rank: null
60
+ logging_steps: 1
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
+ lr_scheduler: cosine
68
+ max_steps: 50
69
+ micro_batch_size: 2
70
+ mlflow_experiment_name: /tmp/10232ff87e731ce2_train_data.json
71
+ model_type: AutoModelForCausalLM
72
+ num_epochs: 3
73
+ optimizer: adamw_torch
74
+ output_dir: miner_id_24
75
+ pad_to_sequence_len: true
76
+ resume_from_checkpoint: null
77
+ s2_attention: null
78
+ sample_packing: false
79
+ save_steps: 25
80
+ sequence_len: 2048
81
+ special_tokens:
82
+ pad_token: <|endoftext|>
83
+ strict: false
84
+ tf32: false
85
+ tokenizer_type: AutoTokenizer
86
+ train_on_inputs: false
87
+ trust_remote_code: true
88
+ val_set_size: 0.05
89
+ wandb_entity: null
90
+ wandb_mode: online
91
+ wandb_name: 039e90ac-e3d6-47b5-94d8-985b4c208d8e
92
+ wandb_project: Gradients-On-Demand
93
+ wandb_run: your_name
94
+ wandb_runid: 039e90ac-e3d6-47b5-94d8-985b4c208d8e
95
+ warmup_ratio: 0.05
96
+ weight_decay: 0.01
97
+ xformers_attention: true
98
+
99
+ ```
100
+
101
+ </details><br>
102
+
103
+ # 039e90ac-e3d6-47b5-94d8-985b4c208d8e
104
+
105
+ This model is a fine-tuned version of [echarlaix/tiny-random-PhiForCausalLM](https://huggingface.co/echarlaix/tiny-random-PhiForCausalLM) on the None dataset.
106
+ It achieves the following results on the evaluation set:
107
+ - Loss: 6.9019
108
+
109
+ ## Model description
110
+
111
+ More information needed
112
+
113
+ ## Intended uses & limitations
114
+
115
+ More information needed
116
+
117
+ ## Training and evaluation data
118
+
119
+ More information needed
120
+
121
+ ## Training procedure
122
+
123
+ ### Training hyperparameters
124
+
125
+ The following hyperparameters were used during training:
126
+ - learning_rate: 0.0001
127
+ - train_batch_size: 2
128
+ - eval_batch_size: 2
129
+ - seed: 42
130
+ - distributed_type: multi-GPU
131
+ - num_devices: 4
132
+ - gradient_accumulation_steps: 16
133
+ - total_train_batch_size: 128
134
+ - total_eval_batch_size: 8
135
+ - optimizer: Use OptimizerNames.ADAMW_TORCH 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: 2
138
+ - training_steps: 50
139
+
140
+ ### Training results
141
+
142
+ | Training Loss | Epoch | Step | Validation Loss |
143
+ |:-------------:|:------:|:----:|:---------------:|
144
+ | 6.9356 | 0.0471 | 1 | 6.9337 |
145
+ | 6.7366 | 1.1765 | 25 | 6.9093 |
146
+ | 6.9713 | 2.3529 | 50 | 6.9019 |
147
+
148
+
149
+ ### Framework versions
150
+
151
+ - PEFT 0.13.2
152
+ - Transformers 4.46.3
153
+ - Pytorch 2.3.1+cu121
154
+ - Datasets 3.1.0
155
+ - Tokenizers 0.20.3
adapter_config.json CHANGED
@@ -20,11 +20,11 @@
20
  "rank_pattern": {},
21
  "revision": null,
22
  "target_modules": [
23
- "q_proj",
24
  "dense",
 
 
25
  "v_proj",
26
  "k_proj",
27
- "fc2",
28
  "fc1"
29
  ],
30
  "task_type": "CAUSAL_LM",
 
20
  "rank_pattern": {},
21
  "revision": null,
22
  "target_modules": [
 
23
  "dense",
24
+ "fc2",
25
+ "q_proj",
26
  "v_proj",
27
  "k_proj",
 
28
  "fc1"
29
  ],
30
  "task_type": "CAUSAL_LM",
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:faa77e0b8cea75f74a8074c62486126eae377e71ad1f99538c3588d95016ad7a
3
+ size 243839
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c7b5bcf2203e97f03c82650161ac06d9a4babefadb305abb360708258f5361cc
3
  size 237402
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37fcd80437072c4a9d5d645a7515b0a3920a8019ed1ad18088bbb863fedeb6ea
3
  size 237402
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2f84aa723924298c428cfc079f9bc73e01baed2fb1275230b50fa001c00d4943
3
  size 6776
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ac40a2a8dba01c5dfec735379b0d6aaafc1124d9f51e774c8273efc8e6fc7714
3
  size 6776