pavan01729
commited on
Commit
•
9413a01
1
Parent(s):
31de86f
End of training
Browse files- README.md +144 -3
- adapter_model.bin +3 -0
README.md
CHANGED
@@ -1,3 +1,144 @@
|
|
1 |
-
---
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: meta-llama/Meta-Llama-3.1-8B-Instruct
|
3 |
+
library_name: peft
|
4 |
+
license: llama3.1
|
5 |
+
tags:
|
6 |
+
- axolotl
|
7 |
+
- generated_from_trainer
|
8 |
+
model-index:
|
9 |
+
- name: axolotl_llama3.1_trial
|
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 |
+
base_model: meta-llama/Meta-Llama-3.1-8B-Instruct
|
22 |
+
model_type: AutoModelForCausalLM
|
23 |
+
tokenizer_type: AutoTokenizer
|
24 |
+
|
25 |
+
load_in_8bit: false
|
26 |
+
load_in_4bit: true
|
27 |
+
strict: false
|
28 |
+
|
29 |
+
datasets:
|
30 |
+
- path: pavan01729/GPT_AI_5.0_alpaca
|
31 |
+
type: alpaca
|
32 |
+
dataset_prepared_path:
|
33 |
+
val_set_size: 0
|
34 |
+
output_dir: ./outputs/llama3_qlora_out
|
35 |
+
|
36 |
+
adapter: qlora
|
37 |
+
lora_model_dir:
|
38 |
+
|
39 |
+
sequence_len: 4096
|
40 |
+
sample_packing: true
|
41 |
+
pad_to_sequence_len: true
|
42 |
+
|
43 |
+
lora_r: 32
|
44 |
+
lora_alpha: 16
|
45 |
+
lora_dropout: 0.05
|
46 |
+
lora_target_modules:
|
47 |
+
lora_target_linear: true
|
48 |
+
lora_fan_in_fan_out:
|
49 |
+
|
50 |
+
wandb_project:
|
51 |
+
wandb_entity:
|
52 |
+
wandb_watch:
|
53 |
+
wandb_name:
|
54 |
+
wandb_log_model:
|
55 |
+
|
56 |
+
gradient_accumulation_steps: 1
|
57 |
+
micro_batch_size: 1
|
58 |
+
# num_epochs: 100
|
59 |
+
max_steps: 1
|
60 |
+
optimizer: paged_adamw_32bit
|
61 |
+
lr_scheduler: cosine
|
62 |
+
learning_rate: 0.0002
|
63 |
+
|
64 |
+
train_on_inputs: false
|
65 |
+
group_by_length: false
|
66 |
+
bf16: auto
|
67 |
+
fp16:
|
68 |
+
tf32: false
|
69 |
+
|
70 |
+
gradient_checkpointing: true
|
71 |
+
early_stopping_patience:
|
72 |
+
resume_from_checkpoint:
|
73 |
+
local_rank:
|
74 |
+
logging_steps: 1
|
75 |
+
xformers_attention:
|
76 |
+
flash_attention: true
|
77 |
+
|
78 |
+
warmup_steps: 10
|
79 |
+
evals_per_epoch: 4
|
80 |
+
eval_table_size:
|
81 |
+
saves_per_epoch: 1
|
82 |
+
debug:
|
83 |
+
deepspeed:
|
84 |
+
weight_decay: 0.0
|
85 |
+
fsdp:
|
86 |
+
fsdp_config:
|
87 |
+
special_tokens:
|
88 |
+
pad_token: "<|end_of_text|>"
|
89 |
+
|
90 |
+
|
91 |
+
# mlflow configuration
|
92 |
+
mlflow_tracking_uri: "http://127.0.0.1:5000" # Replace with your MLflow server URI
|
93 |
+
mlflow_experiment_name: "llama3.1_8b"
|
94 |
+
hf_mlflow_log_artifacts: true # Set to true to log checkpoints as MLflow artifacts
|
95 |
+
|
96 |
+
|
97 |
+
hub_model_id: "pavan01729/axolotl_llama3.1_trial" # Set your Hugging Face repository ID here
|
98 |
+
push_to_hub: true # Set to true to enable pushing the model to the HF Hub
|
99 |
+
|
100 |
+
```
|
101 |
+
|
102 |
+
</details><br>
|
103 |
+
|
104 |
+
# axolotl_llama3.1_trial
|
105 |
+
|
106 |
+
This model is a fine-tuned version of [meta-llama/Meta-Llama-3.1-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3.1-8B-Instruct) on the None dataset.
|
107 |
+
|
108 |
+
## Model description
|
109 |
+
|
110 |
+
More information needed
|
111 |
+
|
112 |
+
## Intended uses & limitations
|
113 |
+
|
114 |
+
More information needed
|
115 |
+
|
116 |
+
## Training and evaluation data
|
117 |
+
|
118 |
+
More information needed
|
119 |
+
|
120 |
+
## Training procedure
|
121 |
+
|
122 |
+
### Training hyperparameters
|
123 |
+
|
124 |
+
The following hyperparameters were used during training:
|
125 |
+
- learning_rate: 0.0002
|
126 |
+
- train_batch_size: 1
|
127 |
+
- eval_batch_size: 1
|
128 |
+
- seed: 42
|
129 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
130 |
+
- lr_scheduler_type: cosine
|
131 |
+
- lr_scheduler_warmup_steps: 10
|
132 |
+
- training_steps: 1
|
133 |
+
|
134 |
+
### Training results
|
135 |
+
|
136 |
+
|
137 |
+
|
138 |
+
### Framework versions
|
139 |
+
|
140 |
+
- PEFT 0.12.0
|
141 |
+
- Transformers 4.44.0
|
142 |
+
- Pytorch 2.3.1+cu121
|
143 |
+
- Datasets 2.20.0
|
144 |
+
- Tokenizers 0.19.1
|
adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:57488b1c60cb326a7b9a4869cae0ea4a50d1319437d2897452dc4fef8cce6009
|
3 |
+
size 335706186
|