rreit/gemma-2b-prompt-dict_fix
Browse files- README.md +82 -0
- adapter_config.json +30 -0
- adapter_model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: other
|
3 |
+
library_name: peft
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
base_model: google/gemma-2b
|
7 |
+
model-index:
|
8 |
+
- name: gemma-2b-prompt-dict_fix
|
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 |
+
# gemma-2b-prompt-dict_fix
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [google/gemma-2b](https://huggingface.co/google/gemma-2b) on an unknown dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 0.4486
|
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.0004
|
39 |
+
- train_batch_size: 4
|
40 |
+
- eval_batch_size: 8
|
41 |
+
- seed: 42
|
42 |
+
- gradient_accumulation_steps: 2
|
43 |
+
- total_train_batch_size: 8
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: linear
|
46 |
+
- lr_scheduler_warmup_steps: 100
|
47 |
+
- training_steps: 2000
|
48 |
+
- mixed_precision_training: Native AMP
|
49 |
+
|
50 |
+
### Training results
|
51 |
+
|
52 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
53 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
54 |
+
| 0.9304 | 0.38 | 100 | 1.1381 |
|
55 |
+
| 0.8056 | 0.75 | 200 | 1.0223 |
|
56 |
+
| 0.8532 | 1.13 | 300 | 0.9144 |
|
57 |
+
| 0.9387 | 1.5 | 400 | 0.8460 |
|
58 |
+
| 0.8744 | 1.88 | 500 | 0.7882 |
|
59 |
+
| 0.8939 | 2.26 | 600 | 0.7415 |
|
60 |
+
| 0.9265 | 2.63 | 700 | 0.7008 |
|
61 |
+
| 0.4869 | 3.01 | 800 | 0.6631 |
|
62 |
+
| 0.4609 | 3.38 | 900 | 0.6485 |
|
63 |
+
| 0.4909 | 3.76 | 1000 | 0.6063 |
|
64 |
+
| 0.5568 | 4.14 | 1100 | 0.5645 |
|
65 |
+
| 0.4727 | 4.51 | 1200 | 0.5412 |
|
66 |
+
| 0.5277 | 4.89 | 1300 | 0.5235 |
|
67 |
+
| 0.7115 | 5.26 | 1400 | 0.5122 |
|
68 |
+
| 0.5917 | 5.64 | 1500 | 0.4972 |
|
69 |
+
| 0.4643 | 6.02 | 1600 | 0.4777 |
|
70 |
+
| 0.275 | 6.39 | 1700 | 0.4750 |
|
71 |
+
| 0.4726 | 6.77 | 1800 | 0.4611 |
|
72 |
+
| 0.3297 | 7.14 | 1900 | 0.4496 |
|
73 |
+
| 0.3426 | 7.52 | 2000 | 0.4486 |
|
74 |
+
|
75 |
+
|
76 |
+
### Framework versions
|
77 |
+
|
78 |
+
- PEFT 0.9.0
|
79 |
+
- Transformers 4.39.0.dev0
|
80 |
+
- Pytorch 2.2.1+cu121
|
81 |
+
- Datasets 2.17.1
|
82 |
+
- Tokenizers 0.15.2
|
adapter_config.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "google/gemma-2b",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layers_pattern": null,
|
10 |
+
"layers_to_transform": null,
|
11 |
+
"loftq_config": {},
|
12 |
+
"lora_alpha": 16,
|
13 |
+
"lora_dropout": 0.05,
|
14 |
+
"megatron_config": null,
|
15 |
+
"megatron_core": "megatron.core",
|
16 |
+
"modules_to_save": null,
|
17 |
+
"peft_type": "LORA",
|
18 |
+
"r": 16,
|
19 |
+
"rank_pattern": {},
|
20 |
+
"revision": null,
|
21 |
+
"target_modules": [
|
22 |
+
"k_proj",
|
23 |
+
"v_proj",
|
24 |
+
"o_proj",
|
25 |
+
"q_proj"
|
26 |
+
],
|
27 |
+
"task_type": "CAUSAL_LM",
|
28 |
+
"use_dora": false,
|
29 |
+
"use_rslora": false
|
30 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:12ea6c4a006e2af91dd12c468d6839e173d57d596380d000b694a08d33fabfd8
|
3 |
+
size 14764744
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:af4b67c1b4e1f17d2b05fd16263c3a24330ba9225952c4816f12626a138d9dd6
|
3 |
+
size 4920
|