RoyJoy commited on
Commit
36104e6
1 Parent(s): c2faa44

End of training

Browse files
Files changed (2) hide show
  1. README.md +162 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,162 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 5e7cb959-b615-4072-aed0-0f15e5570d38
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: auto
23
+ chat_template: llama3
24
+ dataset_prepared_path: null
25
+ datasets:
26
+ - data_files:
27
+ - 1a8583ea3a7a4bbf_train_data.json
28
+ ds_type: json
29
+ format: custom
30
+ path: /workspace/input_data/1a8583ea3a7a4bbf_train_data.json
31
+ type:
32
+ field_input: sentence_tokens
33
+ field_instruction: sentence
34
+ field_output: mention_text
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: 128
43
+ eval_steps: 25
44
+ eval_table_size: null
45
+ flash_attention: true
46
+ fp16: null
47
+ fsdp: null
48
+ fsdp_config: null
49
+ gradient_accumulation_steps: 8
50
+ gradient_checkpointing: true
51
+ gradient_clipping: 1.0
52
+ group_by_length: true
53
+ hub_model_id: sn56a1/5e7cb959-b615-4072-aed0-0f15e5570d38
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_r: 32
67
+ lora_target_linear: true
68
+ lr_scheduler: cosine
69
+ max_memory:
70
+ 0: 74GiB
71
+ max_steps: 75
72
+ micro_batch_size: 2
73
+ mlflow_experiment_name: /tmp/1a8583ea3a7a4bbf_train_data.json
74
+ model_type: AutoModelForCausalLM
75
+ num_epochs: 3
76
+ optim_args:
77
+ adam_beta1: 0.9
78
+ adam_beta2: 0.95
79
+ adam_epsilon: 1e-5
80
+ optimizer: adamw_torch
81
+ output_dir: miner_id_24
82
+ pad_to_sequence_len: true
83
+ resume_from_checkpoint: null
84
+ s2_attention: null
85
+ sample_packing: false
86
+ save_steps: 25
87
+ save_strategy: steps
88
+ sequence_len: 2048
89
+ strict: false
90
+ tf32: false
91
+ tokenizer_type: AutoTokenizer
92
+ train_on_inputs: false
93
+ trust_remote_code: true
94
+ val_set_size: 0.05
95
+ wandb_entity: sn56-miner
96
+ wandb_mode: disabled
97
+ wandb_name: 5e7cb959-b615-4072-aed0-0f15e5570d38
98
+ wandb_project: god
99
+ wandb_run: f22s
100
+ wandb_runid: 5e7cb959-b615-4072-aed0-0f15e5570d38
101
+ warmup_ratio: 0.05
102
+ weight_decay: 0.01
103
+ xformers_attention: true
104
+
105
+ ```
106
+
107
+ </details><br>
108
+
109
+ # 5e7cb959-b615-4072-aed0-0f15e5570d38
110
+
111
+ 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.
112
+ It achieves the following results on the evaluation set:
113
+ - Loss: 10.3156
114
+
115
+ ## Model description
116
+
117
+ More information needed
118
+
119
+ ## Intended uses & limitations
120
+
121
+ More information needed
122
+
123
+ ## Training and evaluation data
124
+
125
+ More information needed
126
+
127
+ ## Training procedure
128
+
129
+ ### Training hyperparameters
130
+
131
+ The following hyperparameters were used during training:
132
+ - learning_rate: 0.0001
133
+ - train_batch_size: 2
134
+ - eval_batch_size: 2
135
+ - seed: 42
136
+ - distributed_type: multi-GPU
137
+ - num_devices: 4
138
+ - gradient_accumulation_steps: 8
139
+ - total_train_batch_size: 64
140
+ - total_eval_batch_size: 8
141
+ - 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
142
+ - lr_scheduler_type: cosine
143
+ - lr_scheduler_warmup_steps: 3
144
+ - training_steps: 75
145
+
146
+ ### Training results
147
+
148
+ | Training Loss | Epoch | Step | Validation Loss |
149
+ |:-------------:|:------:|:----:|:---------------:|
150
+ | 10.373 | 0.0045 | 1 | 10.3757 |
151
+ | 10.3594 | 0.1129 | 25 | 10.3480 |
152
+ | 10.3322 | 0.2257 | 50 | 10.3208 |
153
+ | 10.3228 | 0.3386 | 75 | 10.3156 |
154
+
155
+
156
+ ### Framework versions
157
+
158
+ - PEFT 0.13.2
159
+ - Transformers 4.46.0
160
+ - Pytorch 2.5.0+cu124
161
+ - Datasets 3.0.1
162
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e3c213c3fc0ed69f111a3485ef0c831d19f601d5a0d894fcaf11ad42c25f7cc
3
+ size 104322