Model save
Browse files
README.md
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: gemma
|
3 |
+
library_name: peft
|
4 |
+
tags:
|
5 |
+
- trl
|
6 |
+
- sft
|
7 |
+
- generated_from_trainer
|
8 |
+
base_model: google/gemma-7b
|
9 |
+
datasets:
|
10 |
+
- generator
|
11 |
+
model-index:
|
12 |
+
- name: gemma7b-coding-gpt4o-100k
|
13 |
+
results: []
|
14 |
+
---
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
# gemma7b-coding-gpt4o-100k
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [google/gemma-7b](https://huggingface.co/google/gemma-7b) on the generator dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 3.9658
|
24 |
+
|
25 |
+
## Model description
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Intended uses & limitations
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training and evaluation data
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training procedure
|
38 |
+
|
39 |
+
### Training hyperparameters
|
40 |
+
|
41 |
+
The following hyperparameters were used during training:
|
42 |
+
- learning_rate: 0.0002
|
43 |
+
- train_batch_size: 4
|
44 |
+
- eval_batch_size: 4
|
45 |
+
- seed: 42
|
46 |
+
- distributed_type: multi-GPU
|
47 |
+
- num_devices: 4
|
48 |
+
- gradient_accumulation_steps: 2
|
49 |
+
- total_train_batch_size: 32
|
50 |
+
- total_eval_batch_size: 16
|
51 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
52 |
+
- lr_scheduler_type: cosine
|
53 |
+
- lr_scheduler_warmup_ratio: 0.1
|
54 |
+
- num_epochs: 10
|
55 |
+
|
56 |
+
### Training results
|
57 |
+
|
58 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
59 |
+
|:-------------:|:------:|:----:|:---------------:|
|
60 |
+
| 0.5262 | 0.9989 | 470 | 1.3224 |
|
61 |
+
| 0.4826 | 2.0 | 941 | 1.3435 |
|
62 |
+
| 0.4369 | 2.9989 | 1411 | 1.4787 |
|
63 |
+
| 0.3819 | 4.0 | 1882 | 1.7432 |
|
64 |
+
| 0.3345 | 4.9989 | 2352 | 2.1234 |
|
65 |
+
| 0.2875 | 6.0 | 2823 | 2.5846 |
|
66 |
+
| 0.2319 | 6.9989 | 3293 | 3.1057 |
|
67 |
+
| 0.1968 | 8.0 | 3764 | 3.6609 |
|
68 |
+
| 0.1809 | 8.9989 | 4234 | 3.9400 |
|
69 |
+
| 0.1757 | 9.9894 | 4700 | 3.9658 |
|
70 |
+
|
71 |
+
|
72 |
+
### Framework versions
|
73 |
+
|
74 |
+
- PEFT 0.11.1
|
75 |
+
- Transformers 4.40.1
|
76 |
+
- Pytorch 2.2.0+cu121
|
77 |
+
- Datasets 2.19.2
|
78 |
+
- Tokenizers 0.19.1
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 200068904
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8cd85a50c9d7598b9f01e04ebe8808bfb48a595e54a385ebec95f9db180b43e5
|
3 |
size 200068904
|
all_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 9.989373007438894,
|
3 |
+
"total_flos": 7.255013733871649e+18,
|
4 |
+
"train_loss": 0.5076825852977469,
|
5 |
+
"train_runtime": 24662.4426,
|
6 |
+
"train_samples": 92048,
|
7 |
+
"train_samples_per_second": 6.102,
|
8 |
+
"train_steps_per_second": 0.191
|
9 |
+
}
|
runs/Jun12_06-38-11_b9de806b912b/events.out.tfevents.1718175163.b9de806b912b.2859.0
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:8e6b9a8d53217cd81ce16c3dbcbcd5f709083d119a415603902766d69adb6a55
|
3 |
+
size 206920
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 9.989373007438894,
|
3 |
+
"total_flos": 7.255013733871649e+18,
|
4 |
+
"train_loss": 0.5076825852977469,
|
5 |
+
"train_runtime": 24662.4426,
|
6 |
+
"train_samples": 92048,
|
7 |
+
"train_samples_per_second": 6.102,
|
8 |
+
"train_steps_per_second": 0.191
|
9 |
+
}
|
trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|