pmrster/test-llama3-8b-instruct-qlora-fine-tune-1
Browse files- README.md +79 -0
- adapter_config.json +35 -0
- adapter_model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: llama3
|
3 |
+
library_name: peft
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
base_model: meta-llama/Meta-Llama-3-8B-Instruct
|
7 |
+
model-index:
|
8 |
+
- name: llama3-8b-instruct-journal-finetune
|
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 |
+
# llama3-8b-instruct-journal-finetune
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [meta-llama/Meta-Llama-3-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct) on the None dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 2.0299
|
20 |
+
|
21 |
+
## Model description
|
22 |
+
|
23 |
+
More information needed
|
24 |
+
|
25 |
+
## Intended uses & limitations
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Training and evaluation data
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training procedure
|
34 |
+
|
35 |
+
### Training hyperparameters
|
36 |
+
|
37 |
+
The following hyperparameters were used during training:
|
38 |
+
- learning_rate: 2.5e-05
|
39 |
+
- train_batch_size: 2
|
40 |
+
- eval_batch_size: 8
|
41 |
+
- seed: 42
|
42 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
43 |
+
- lr_scheduler_type: linear
|
44 |
+
- lr_scheduler_warmup_steps: 1
|
45 |
+
- training_steps: 500
|
46 |
+
|
47 |
+
### Training results
|
48 |
+
|
49 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
50 |
+
|:-------------:|:-------:|:----:|:---------------:|
|
51 |
+
| 2.9002 | 2.0833 | 25 | 1.8777 |
|
52 |
+
| 1.1645 | 4.1667 | 50 | 1.6214 |
|
53 |
+
| 0.4078 | 6.25 | 75 | 1.7856 |
|
54 |
+
| 0.2373 | 8.3333 | 100 | 1.8434 |
|
55 |
+
| 0.2209 | 10.4167 | 125 | 1.7767 |
|
56 |
+
| 0.1953 | 12.5 | 150 | 1.8293 |
|
57 |
+
| 0.1755 | 14.5833 | 175 | 1.7663 |
|
58 |
+
| 0.1893 | 16.6667 | 200 | 1.8726 |
|
59 |
+
| 0.1621 | 18.75 | 225 | 1.9366 |
|
60 |
+
| 0.1657 | 20.8333 | 250 | 1.9146 |
|
61 |
+
| 0.1593 | 22.9167 | 275 | 1.9225 |
|
62 |
+
| 0.156 | 25.0 | 300 | 1.9411 |
|
63 |
+
| 0.1549 | 27.0833 | 325 | 1.9504 |
|
64 |
+
| 0.1525 | 29.1667 | 350 | 1.9608 |
|
65 |
+
| 0.1511 | 31.25 | 375 | 1.9924 |
|
66 |
+
| 0.1494 | 33.3333 | 400 | 1.9878 |
|
67 |
+
| 0.1488 | 35.4167 | 425 | 2.0089 |
|
68 |
+
| 0.1479 | 37.5 | 450 | 2.0089 |
|
69 |
+
| 0.1448 | 39.5833 | 475 | 2.0233 |
|
70 |
+
| 0.1447 | 41.6667 | 500 | 2.0299 |
|
71 |
+
|
72 |
+
|
73 |
+
### Framework versions
|
74 |
+
|
75 |
+
- PEFT 0.11.1
|
76 |
+
- Transformers 4.41.1
|
77 |
+
- Pytorch 2.3.0+cu121
|
78 |
+
- Datasets 2.19.1
|
79 |
+
- Tokenizers 0.19.1
|
adapter_config.json
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "meta-llama/Meta-Llama-3-8B-Instruct",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layer_replication": null,
|
10 |
+
"layers_pattern": null,
|
11 |
+
"layers_to_transform": null,
|
12 |
+
"loftq_config": {},
|
13 |
+
"lora_alpha": 64,
|
14 |
+
"lora_dropout": 0.05,
|
15 |
+
"megatron_config": null,
|
16 |
+
"megatron_core": "megatron.core",
|
17 |
+
"modules_to_save": null,
|
18 |
+
"peft_type": "LORA",
|
19 |
+
"r": 32,
|
20 |
+
"rank_pattern": {},
|
21 |
+
"revision": null,
|
22 |
+
"target_modules": [
|
23 |
+
"o_proj",
|
24 |
+
"down_proj",
|
25 |
+
"up_proj",
|
26 |
+
"q_proj",
|
27 |
+
"gate_proj",
|
28 |
+
"lm_head",
|
29 |
+
"k_proj",
|
30 |
+
"v_proj"
|
31 |
+
],
|
32 |
+
"task_type": "CAUSAL_LM",
|
33 |
+
"use_dora": false,
|
34 |
+
"use_rslora": false
|
35 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d4b45c8440c55566094fc98c2b3f650c98d9de9d101540006ef842032a9ace5b
|
3 |
+
size 2453893592
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f6d3334cc95af51b2006bf11de475278997260b3b08a1b6662aaf067f44c15ea
|
3 |
+
size 5112
|