indiejoseph
commited on
Model save
Browse files- README.md +8 -11
- adapter_config.json +10 -7
- adapter_model.safetensors +2 -2
- all_results.json +5 -5
- runs/Apr20_16-05-37_1f2756113ce9/events.out.tfevents.1713629403.1f2756113ce9.9459.0 +3 -0
- runs/Apr20_16-12-10_1f2756113ce9/events.out.tfevents.1713629570.1f2756113ce9.13142.0 +3 -0
- runs/Apr20_16-14-55_1f2756113ce9/events.out.tfevents.1713629895.1f2756113ce9.14711.0 +3 -0
- runs/Apr20_16-19-11_1f2756113ce9/events.out.tfevents.1713629983.1f2756113ce9.17085.0 +3 -0
- train_results.json +5 -5
- trainer_state.json +0 -0
- training_args.bin +1 -1
README.md
CHANGED
@@ -2,16 +2,13 @@
|
|
2 |
license: gemma
|
3 |
library_name: peft
|
4 |
tags:
|
5 |
-
- alignment-handbook
|
6 |
-
- trl
|
7 |
-
- sft
|
8 |
-
- generated_from_trainer
|
9 |
- trl
|
10 |
- sft
|
|
|
11 |
- generated_from_trainer
|
12 |
base_model: google/gemma-2b
|
13 |
datasets:
|
14 |
-
-
|
15 |
model-index:
|
16 |
- name: cantonese-gemma-sft-lora
|
17 |
results: []
|
@@ -22,7 +19,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
22 |
|
23 |
# cantonese-gemma-sft-lora
|
24 |
|
25 |
-
This model is a fine-tuned version of [google/gemma-2b](https://huggingface.co/google/gemma-2b) on the
|
26 |
|
27 |
## Model description
|
28 |
|
@@ -41,16 +38,16 @@ More information needed
|
|
41 |
### Training hyperparameters
|
42 |
|
43 |
The following hyperparameters were used during training:
|
44 |
-
- learning_rate: 0.
|
45 |
-
- train_batch_size:
|
46 |
-
- eval_batch_size:
|
47 |
- seed: 42
|
48 |
- distributed_type: multi-GPU
|
49 |
- gradient_accumulation_steps: 4
|
50 |
-
- total_train_batch_size:
|
51 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
52 |
- lr_scheduler_type: cosine
|
53 |
-
- lr_scheduler_warmup_ratio: 0.
|
54 |
- num_epochs: 1
|
55 |
|
56 |
### Training results
|
|
|
2 |
license: gemma
|
3 |
library_name: peft
|
4 |
tags:
|
|
|
|
|
|
|
|
|
5 |
- trl
|
6 |
- sft
|
7 |
+
- alignment-handbook
|
8 |
- generated_from_trainer
|
9 |
base_model: google/gemma-2b
|
10 |
datasets:
|
11 |
+
- generator
|
12 |
model-index:
|
13 |
- name: cantonese-gemma-sft-lora
|
14 |
results: []
|
|
|
19 |
|
20 |
# cantonese-gemma-sft-lora
|
21 |
|
22 |
+
This model is a fine-tuned version of [google/gemma-2b](https://huggingface.co/google/gemma-2b) on the generator dataset.
|
23 |
|
24 |
## Model description
|
25 |
|
|
|
38 |
### Training hyperparameters
|
39 |
|
40 |
The following hyperparameters were used during training:
|
41 |
+
- learning_rate: 0.0001
|
42 |
+
- train_batch_size: 1
|
43 |
+
- eval_batch_size: 2
|
44 |
- seed: 42
|
45 |
- distributed_type: multi-GPU
|
46 |
- gradient_accumulation_steps: 4
|
47 |
+
- total_train_batch_size: 4
|
48 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
49 |
- lr_scheduler_type: cosine
|
50 |
+
- lr_scheduler_warmup_ratio: 0.03
|
51 |
- num_epochs: 1
|
52 |
|
53 |
### Training results
|
adapter_config.json
CHANGED
@@ -9,23 +9,26 @@
|
|
9 |
"layers_pattern": null,
|
10 |
"layers_to_transform": null,
|
11 |
"loftq_config": {},
|
12 |
-
"lora_alpha":
|
13 |
"lora_dropout": 0.05,
|
14 |
"megatron_config": null,
|
15 |
"megatron_core": "megatron.core",
|
16 |
-
"modules_to_save":
|
|
|
|
|
|
|
17 |
"peft_type": "LORA",
|
18 |
-
"r":
|
19 |
"rank_pattern": {},
|
20 |
"revision": null,
|
21 |
"target_modules": [
|
22 |
-
"o_proj",
|
23 |
"down_proj",
|
24 |
-
"up_proj",
|
25 |
-
"k_proj",
|
26 |
"v_proj",
|
|
|
27 |
"q_proj",
|
28 |
-
"
|
|
|
|
|
29 |
],
|
30 |
"task_type": "CAUSAL_LM"
|
31 |
}
|
|
|
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": [
|
17 |
+
"embed_tokens",
|
18 |
+
"lm_head"
|
19 |
+
],
|
20 |
"peft_type": "LORA",
|
21 |
+
"r": 8,
|
22 |
"rank_pattern": {},
|
23 |
"revision": null,
|
24 |
"target_modules": [
|
|
|
25 |
"down_proj",
|
|
|
|
|
26 |
"v_proj",
|
27 |
+
"gate_proj",
|
28 |
"q_proj",
|
29 |
+
"k_proj",
|
30 |
+
"o_proj",
|
31 |
+
"up_proj"
|
32 |
],
|
33 |
"task_type": "CAUSAL_LM"
|
34 |
}
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:02c5fcf66f6176c69a169349d93b39b72262efc26babaf7c23d376c31751f6e6
|
3 |
+
size 2116798424
|
all_results.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
"epoch": 1.0,
|
3 |
-
"train_loss": 1.
|
4 |
-
"train_runtime":
|
5 |
-
"train_samples":
|
6 |
-
"train_samples_per_second": 1.
|
7 |
-
"train_steps_per_second": 0.
|
8 |
}
|
|
|
1 |
{
|
2 |
"epoch": 1.0,
|
3 |
+
"train_loss": 1.0705042276791343,
|
4 |
+
"train_runtime": 37728.5727,
|
5 |
+
"train_samples": 26282,
|
6 |
+
"train_samples_per_second": 1.041,
|
7 |
+
"train_steps_per_second": 0.26
|
8 |
}
|
runs/Apr20_16-05-37_1f2756113ce9/events.out.tfevents.1713629403.1f2756113ce9.9459.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e4b225024939427a42e751934002308229a4e628c8e90810fbd40af8bee2d080
|
3 |
+
size 4910
|
runs/Apr20_16-12-10_1f2756113ce9/events.out.tfevents.1713629570.1f2756113ce9.13142.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:33beea90171217f79d94c4030c2ffafd8c7e132ab2e62f28c75a7421b0e15e02
|
3 |
+
size 5945
|
runs/Apr20_16-14-55_1f2756113ce9/events.out.tfevents.1713629895.1f2756113ce9.14711.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f27015d821f1edccb3742565314556088bb98287050ead212bb7c9fd2720e054
|
3 |
+
size 4910
|
runs/Apr20_16-19-11_1f2756113ce9/events.out.tfevents.1713629983.1f2756113ce9.17085.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:290de46f53f2ed1b1311e0d7a24e92b1e04f86b952550218802a4f5b643f96db
|
3 |
+
size 419564
|
train_results.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
"epoch": 1.0,
|
3 |
-
"train_loss": 1.
|
4 |
-
"train_runtime":
|
5 |
-
"train_samples":
|
6 |
-
"train_samples_per_second": 1.
|
7 |
-
"train_steps_per_second": 0.
|
8 |
}
|
|
|
1 |
{
|
2 |
"epoch": 1.0,
|
3 |
+
"train_loss": 1.0705042276791343,
|
4 |
+
"train_runtime": 37728.5727,
|
5 |
+
"train_samples": 26282,
|
6 |
+
"train_samples_per_second": 1.041,
|
7 |
+
"train_steps_per_second": 0.26
|
8 |
}
|
trainer_state.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 5112
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:49e66a6c2dc2f611c5a6f0f0f18c17b26498dc36d58718b053cd79aef21bd000
|
3 |
size 5112
|