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: gemma
|
3 |
+
base_model: google/gemma-2-9b-it
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: gemma-2-9b-it-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/8piyty9j)
|
15 |
+
# gemma-2-9b-it-lora-commonsense
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [google/gemma-2-9b-it](https://huggingface.co/google/gemma-2-9b-it) on an unknown dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 0.8229
|
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: 8
|
40 |
+
- eval_batch_size: 8
|
41 |
+
- seed: 42
|
42 |
+
- gradient_accumulation_steps: 16
|
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.0188 | 0.1503 | 200 | 0.9641 |
|
54 |
+
| 0.9971 | 0.3007 | 400 | 0.9404 |
|
55 |
+
| 0.9827 | 0.4510 | 600 | 0.9288 |
|
56 |
+
| 0.9748 | 0.6013 | 800 | 0.9194 |
|
57 |
+
| 0.971 | 0.7516 | 1000 | 0.9055 |
|
58 |
+
| 0.957 | 0.9020 | 1200 | 0.8970 |
|
59 |
+
| 0.9005 | 1.0523 | 1400 | 0.8874 |
|
60 |
+
| 0.8876 | 1.2026 | 1600 | 0.8748 |
|
61 |
+
| 0.8782 | 1.3529 | 1800 | 0.8640 |
|
62 |
+
| 0.8896 | 1.5033 | 2000 | 0.8489 |
|
63 |
+
| 0.8814 | 1.6536 | 2200 | 0.8417 |
|
64 |
+
| 0.8666 | 1.8039 | 2400 | 0.8325 |
|
65 |
+
| 0.8674 | 1.9542 | 2600 | 0.8307 |
|
66 |
+
| 0.8116 | 2.1046 | 2800 | 0.8366 |
|
67 |
+
| 0.8032 | 2.2549 | 3000 | 0.8291 |
|
68 |
+
| 0.8103 | 2.4052 | 3200 | 0.8265 |
|
69 |
+
| 0.8165 | 2.5556 | 3400 | 0.8245 |
|
70 |
+
| 0.8085 | 2.7059 | 3600 | 0.8242 |
|
71 |
+
| 0.8121 | 2.8562 | 3800 | 0.8229 |
|
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": "google/gemma-2-9b-it",
|
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:8b4dda2f4a37f04c441f63ceb553a7496e57df315d1543c835a2045b3c73c3c0
|
3 |
+
size 432357050
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:76a03a66e112cc44812f63de1d82da69d7b17e8854419954325c7187e49bbf6f
|
3 |
+
size 432223744
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:54af17a5532ed8ef6c6c319f91346ca16429e06790b9daee3738da8ed3f46cf8
|
3 |
+
size 5240
|