lesso commited on
Commit
b4f9bc5
1 Parent(s): 134df30

End of training

Browse files
README.md ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: unsloth/llama-2-7b-chat
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: cbc5a6e4-876a-4da9-987f-a58f31af4128
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-chat
23
+ bf16: false
24
+ chat_template: llama3
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - 9393ff4442488b00_train_data.json
29
+ ds_type: json
30
+ field: Original text
31
+ path: /workspace/input_data/9393ff4442488b00_train_data.json
32
+ type: completion
33
+ debug: null
34
+ deepspeed: null
35
+ early_stopping_patience: null
36
+ eval_max_new_tokens: 128
37
+ eval_table_size: null
38
+ evals_per_epoch: 4
39
+ flash_attention: true
40
+ fp16: true
41
+ fsdp: null
42
+ fsdp_config: null
43
+ gradient_accumulation_steps: 4
44
+ gradient_checkpointing: true
45
+ group_by_length: false
46
+ hub_model_id: lesso/cbc5a6e4-876a-4da9-987f-a58f31af4128
47
+ hub_repo: null
48
+ hub_strategy: checkpoint
49
+ hub_token: null
50
+ learning_rate: 0.0002
51
+ load_in_4bit: false
52
+ load_in_8bit: false
53
+ local_rank: null
54
+ logging_steps: 1
55
+ lora_alpha: 16
56
+ lora_dropout: 0.05
57
+ lora_fan_in_fan_out: null
58
+ lora_model_dir: null
59
+ lora_r: 8
60
+ lora_target_linear: true
61
+ lr_scheduler: cosine
62
+ max_steps: 10
63
+ micro_batch_size: 1
64
+ mlflow_experiment_name: /tmp/9393ff4442488b00_train_data.json
65
+ model_type: AutoModelForCausalLM
66
+ num_epochs: 1
67
+ optimizer: adamw_hf
68
+ output_dir: miner_id_24
69
+ pad_to_sequence_len: true
70
+ resume_from_checkpoint: null
71
+ s2_attention: null
72
+ sample_packing: false
73
+ saves_per_epoch: 4
74
+ sequence_len: 1024
75
+ strict: false
76
+ tf32: false
77
+ tokenizer_type: AutoTokenizer
78
+ train_on_inputs: false
79
+ trust_remote_code: true
80
+ val_set_size: 0.05
81
+ wandb_entity: null
82
+ wandb_mode: online
83
+ wandb_name: cbc5a6e4-876a-4da9-987f-a58f31af4128
84
+ wandb_project: Gradients-On-Demand
85
+ wandb_run: your_name
86
+ wandb_runid: cbc5a6e4-876a-4da9-987f-a58f31af4128
87
+ warmup_steps: 10
88
+ weight_decay: 0.0
89
+ xformers_attention: null
90
+
91
+ ```
92
+
93
+ </details><br>
94
+
95
+ # cbc5a6e4-876a-4da9-987f-a58f31af4128
96
+
97
+ This model is a fine-tuned version of [unsloth/llama-2-7b-chat](https://huggingface.co/unsloth/llama-2-7b-chat) on the None dataset.
98
+ It achieves the following results on the evaluation set:
99
+ - Loss: 1.8629
100
+
101
+ ## Model description
102
+
103
+ More information needed
104
+
105
+ ## Intended uses & limitations
106
+
107
+ More information needed
108
+
109
+ ## Training and evaluation data
110
+
111
+ More information needed
112
+
113
+ ## Training procedure
114
+
115
+ ### Training hyperparameters
116
+
117
+ The following hyperparameters were used during training:
118
+ - learning_rate: 0.0002
119
+ - train_batch_size: 1
120
+ - eval_batch_size: 1
121
+ - seed: 42
122
+ - gradient_accumulation_steps: 4
123
+ - total_train_batch_size: 4
124
+ - optimizer: Use OptimizerNames.ADAMW_HF with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
125
+ - lr_scheduler_type: cosine
126
+ - lr_scheduler_warmup_steps: 10
127
+ - training_steps: 10
128
+ - mixed_precision_training: Native AMP
129
+
130
+ ### Training results
131
+
132
+ | Training Loss | Epoch | Step | Validation Loss |
133
+ |:-------------:|:------:|:----:|:---------------:|
134
+ | 1.6888 | 0.0000 | 1 | 1.8704 |
135
+ | 1.8269 | 0.0000 | 3 | 1.8704 |
136
+ | 1.5735 | 0.0001 | 6 | 1.8687 |
137
+ | 1.6314 | 0.0001 | 9 | 1.8629 |
138
+
139
+
140
+ ### Framework versions
141
+
142
+ - PEFT 0.13.2
143
+ - Transformers 4.46.0
144
+ - Pytorch 2.5.0+cu124
145
+ - Datasets 3.0.1
146
+ - Tokenizers 0.20.1
adapter_config.json CHANGED
@@ -21,11 +21,11 @@
21
  "revision": null,
22
  "target_modules": [
23
  "k_proj",
24
- "gate_proj",
25
- "v_proj",
26
- "q_proj",
27
  "down_proj",
 
 
28
  "up_proj",
 
29
  "o_proj"
30
  ],
31
  "task_type": "CAUSAL_LM",
 
21
  "revision": null,
22
  "target_modules": [
23
  "k_proj",
 
 
 
24
  "down_proj",
25
+ "q_proj",
26
+ "v_proj",
27
  "up_proj",
28
+ "gate_proj",
29
  "o_proj"
30
  ],
31
  "task_type": "CAUSAL_LM",
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18687c8e1d5358a138d0489d7dfe3052b2e32a8661eb842acac16245a350ccc5
3
+ size 80115210
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a307dad7d768f33c4604b8bd59c497269547885e3b177d58a73347b940d1849d
3
  size 80013120
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d25b9714157c1a8a59d03e7811037a73130985bf9428ab5d558677e5415250f0
3
  size 80013120
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8592505319a0e1bd652dbec69d0ae190ac2673d977246a6c07d54713cd9bce43
3
  size 6776
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41e2120fce261a3f11caf9498f0f2c7c47b2d4840984af1e8cfb44d3982cfeb2
3
  size 6776