Training completed!
Browse files- README.md +79 -0
- adapter_config.json +23 -0
- adapter_model.bin +3 -0
- model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: llama3
|
3 |
+
base_model: meta-llama/Meta-Llama-3-8B-Instruct
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: Meta-Llama-3-8B-Instruct-lora-commonsense
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/yspkm/PrunePath-LoRA/runs/4qrk09ki)
|
15 |
+
# Meta-Llama-3-8B-Instruct-lora-commonsense
|
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 an unknown dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 0.8882
|
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: 0.0001
|
39 |
+
- train_batch_size: 16
|
40 |
+
- eval_batch_size: 8
|
41 |
+
- seed: 42
|
42 |
+
- gradient_accumulation_steps: 8
|
43 |
+
- total_train_batch_size: 128
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: cosine
|
46 |
+
- lr_scheduler_warmup_steps: 100
|
47 |
+
- num_epochs: 3
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
52 |
+
|:-------------:|:------:|:----:|:---------------:|
|
53 |
+
| 1.1039 | 0.1503 | 200 | 1.0393 |
|
54 |
+
| 1.0921 | 0.3006 | 400 | 1.0156 |
|
55 |
+
| 1.0651 | 0.4510 | 600 | 1.0024 |
|
56 |
+
| 1.0796 | 0.6013 | 800 | 0.9864 |
|
57 |
+
| 1.0529 | 0.7516 | 1000 | 0.9797 |
|
58 |
+
| 1.0396 | 0.9019 | 1200 | 0.9657 |
|
59 |
+
| 0.9997 | 1.0522 | 1400 | 0.9600 |
|
60 |
+
| 0.9962 | 1.2026 | 1600 | 0.9483 |
|
61 |
+
| 0.9833 | 1.3529 | 1800 | 0.9364 |
|
62 |
+
| 0.9805 | 1.5032 | 2000 | 0.9252 |
|
63 |
+
| 0.9747 | 1.6535 | 2200 | 0.9198 |
|
64 |
+
| 0.9509 | 1.8038 | 2400 | 0.9072 |
|
65 |
+
| 0.9481 | 1.9542 | 2600 | 0.9021 |
|
66 |
+
| 0.9091 | 2.1045 | 2800 | 0.9018 |
|
67 |
+
| 0.8928 | 2.2548 | 3000 | 0.8929 |
|
68 |
+
| 0.8949 | 2.4051 | 3200 | 0.8905 |
|
69 |
+
| 0.9086 | 2.5554 | 3400 | 0.8908 |
|
70 |
+
| 0.9014 | 2.7057 | 3600 | 0.8885 |
|
71 |
+
| 0.8789 | 2.8561 | 3800 | 0.8882 |
|
72 |
+
|
73 |
+
|
74 |
+
### Framework versions
|
75 |
+
|
76 |
+
- Transformers 4.42.3
|
77 |
+
- Pytorch 2.3.1+cu121
|
78 |
+
- Datasets 2.20.0
|
79 |
+
- Tokenizers 0.19.1
|
adapter_config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"base_model_name_or_path": "meta-llama/Meta-Llama-3-8B-Instruct",
|
3 |
+
"bias": "none",
|
4 |
+
"enable_lora": null,
|
5 |
+
"fan_in_fan_out": false,
|
6 |
+
"inference_mode": true,
|
7 |
+
"lora_alpha": 64,
|
8 |
+
"lora_dropout": 0.5,
|
9 |
+
"merge_weights": false,
|
10 |
+
"modules_to_save": null,
|
11 |
+
"peft_type": "LORA",
|
12 |
+
"r": 32,
|
13 |
+
"target_modules": [
|
14 |
+
"q_proj",
|
15 |
+
"k_proj",
|
16 |
+
"v_proj",
|
17 |
+
"o_proj",
|
18 |
+
"gate_proj",
|
19 |
+
"up_proj",
|
20 |
+
"down_proj"
|
21 |
+
],
|
22 |
+
"task_type": "CAUSAL_LM"
|
23 |
+
}
|
adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:12951ed3753aa2a4c7684704b5cb7599a90eba2e815dbc86fc6bf19402618df3
|
3 |
+
size 335706186
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ccd18f84c3b06e13d8de8f51f2e6188e5e828e3ab322932162f34b92c690fad4
|
3 |
+
size 335604696
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:143f2568137e3c8ab580e848039dbecdcf7360ddaca1d8d06f0af8dfbb775bf9
|
3 |
+
size 5240
|