diaenra commited on
Commit
067c0d1
·
verified ·
1 Parent(s): 893b89b

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
+ license: llama3
4
+ base_model: Henrychur/MMed-Llama-3-8B-EnIns
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: 824e1eec-ab13-4d5d-9ba6-5459ed8c9779
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: Henrychur/MMed-Llama-3-8B-EnIns
23
+ bf16: auto
24
+ chat_template: llama3
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - e7ca5d84f965afde_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/e7ca5d84f965afde_train_data.json
32
+ type:
33
+ field_input: context
34
+ field_instruction: question
35
+ field_output: final_decision
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: null
43
+ eval_max_new_tokens: 128
44
+ eval_steps: null
45
+ eval_table_size: null
46
+ flash_attention: true
47
+ fp16: false
48
+ fsdp: null
49
+ fsdp_config: null
50
+ gradient_accumulation_steps: 4
51
+ gradient_checkpointing: true
52
+ group_by_length: true
53
+ hub_model_id: diaenra/824e1eec-ab13-4d5d-9ba6-5459ed8c9779
54
+ hub_repo: null
55
+ hub_strategy: checkpoint
56
+ hub_token: null
57
+ learning_rate: 0.0001
58
+ load_in_4bit: false
59
+ load_in_8bit: false
60
+ local_rank: null
61
+ logging_steps: 1
62
+ lora_alpha: 64
63
+ lora_dropout: 0.05
64
+ lora_fan_in_fan_out: null
65
+ lora_model_dir: null
66
+ lora_modules_to_save:
67
+ - embed_tokens
68
+ - lm_head
69
+ lora_r: 32
70
+ lora_target_linear: true
71
+ lora_target_modules:
72
+ - gate_proj
73
+ - down_proj
74
+ - up_proj
75
+ - q_proj
76
+ - v_proj
77
+ - k_proj
78
+ - o_proj
79
+ lr_scheduler: cosine
80
+ max_memory:
81
+ 0: 70GB
82
+ max_steps: 200
83
+ micro_batch_size: 4
84
+ mlflow_experiment_name: /tmp/e7ca5d84f965afde_train_data.json
85
+ model_type: AutoModelForCausalLM
86
+ num_epochs: 1
87
+ optim_args:
88
+ adam_beta1: 0.9
89
+ adam_beta2: 0.95
90
+ adam_epsilon: 1e-5
91
+ optimizer: adamw_torch
92
+ output_dir: miner_id_24
93
+ pad_to_sequence_len: true
94
+ resume_from_checkpoint: null
95
+ s2_attention: null
96
+ sample_packing: false
97
+ save_steps: 239
98
+ sequence_len: 512
99
+ special_tokens:
100
+ pad_token: <|end_of_text|>
101
+ strict: false
102
+ tf32: false
103
+ tokenizer_type: AutoTokenizer
104
+ train_on_inputs: false
105
+ trust_remote_code: true
106
+ val_set_size: 0.05
107
+ wandb_entity: diaenra-tao-miner
108
+ wandb_mode: online
109
+ wandb_name: 824e1eec-ab13-4d5d-9ba6-5459ed8c9779
110
+ wandb_project: tao
111
+ wandb_run: diaenra
112
+ wandb_runid: 824e1eec-ab13-4d5d-9ba6-5459ed8c9779
113
+ warmup_steps: 100
114
+ weight_decay: 0.1
115
+ xformers_attention: true
116
+
117
+ ```
118
+
119
+ </details><br>
120
+
121
+ # 824e1eec-ab13-4d5d-9ba6-5459ed8c9779
122
+
123
+ This model is a fine-tuned version of [Henrychur/MMed-Llama-3-8B-EnIns](https://huggingface.co/Henrychur/MMed-Llama-3-8B-EnIns) on the None dataset.
124
+ It achieves the following results on the evaluation set:
125
+ - Loss: 0.0462
126
+
127
+ ## Model description
128
+
129
+ More information needed
130
+
131
+ ## Intended uses & limitations
132
+
133
+ More information needed
134
+
135
+ ## Training and evaluation data
136
+
137
+ More information needed
138
+
139
+ ## Training procedure
140
+
141
+ ### Training hyperparameters
142
+
143
+ The following hyperparameters were used during training:
144
+ - learning_rate: 0.0001
145
+ - train_batch_size: 4
146
+ - eval_batch_size: 4
147
+ - seed: 42
148
+ - gradient_accumulation_steps: 4
149
+ - total_train_batch_size: 16
150
+ - 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-5
151
+ - lr_scheduler_type: cosine
152
+ - lr_scheduler_warmup_steps: 100
153
+ - training_steps: 200
154
+
155
+ ### Training results
156
+
157
+ | Training Loss | Epoch | Step | Validation Loss |
158
+ |:-------------:|:------:|:----:|:---------------:|
159
+ | 0.3594 | 0.0160 | 200 | 0.0462 |
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:6525efb17d2dc937d5b03af189f9fd63fc7d6f7511ada69990475e059a66caeb
3
+ size 2437053202