Model save
Browse files- README.md +93 -0
- all_results.json +9 -0
- generation_config.json +7 -0
- train_results.json +9 -0
- trainer_state.json +0 -0
README.md
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: bigcode-openrail-m
|
4 |
+
base_model: bigcode/starcoder2-15b
|
5 |
+
tags:
|
6 |
+
- trl
|
7 |
+
- sft
|
8 |
+
- generated_from_trainer
|
9 |
+
datasets:
|
10 |
+
- generator
|
11 |
+
model-index:
|
12 |
+
- name: starchat2-15b-v0.1
|
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 |
+
# starchat2-15b-v0.1
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [bigcode/starcoder2-15b](https://huggingface.co/bigcode/starcoder2-15b) on the generator dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.6601
|
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: 2e-05
|
43 |
+
- train_batch_size: 4
|
44 |
+
- eval_batch_size: 8
|
45 |
+
- seed: 42
|
46 |
+
- distributed_type: multi-GPU
|
47 |
+
- num_devices: 32
|
48 |
+
- total_train_batch_size: 128
|
49 |
+
- total_eval_batch_size: 256
|
50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
+
- lr_scheduler_type: cosine
|
52 |
+
- lr_scheduler_warmup_ratio: 0.1
|
53 |
+
- num_epochs: 3
|
54 |
+
|
55 |
+
### Training results
|
56 |
+
|
57 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
58 |
+
|:-------------:|:------:|:----:|:---------------:|
|
59 |
+
| 0.8402 | 0.1099 | 100 | 0.8307 |
|
60 |
+
| 0.7611 | 0.2198 | 200 | 0.7793 |
|
61 |
+
| 0.7361 | 0.3297 | 300 | 0.7525 |
|
62 |
+
| 0.6854 | 0.4396 | 400 | 0.7337 |
|
63 |
+
| 0.6926 | 0.5495 | 500 | 0.7197 |
|
64 |
+
| 0.7125 | 0.6593 | 600 | 0.7097 |
|
65 |
+
| 0.6662 | 0.7692 | 700 | 0.7015 |
|
66 |
+
| 0.6517 | 0.8791 | 800 | 0.6937 |
|
67 |
+
| 0.6234 | 0.9890 | 900 | 0.6869 |
|
68 |
+
| 0.5925 | 1.0989 | 1000 | 0.6866 |
|
69 |
+
| 0.585 | 1.2088 | 1100 | 0.6832 |
|
70 |
+
| 0.5857 | 1.3187 | 1200 | 0.6798 |
|
71 |
+
| 0.5736 | 1.4286 | 1300 | 0.6746 |
|
72 |
+
| 0.5906 | 1.5385 | 1400 | 0.6723 |
|
73 |
+
| 0.569 | 1.6484 | 1500 | 0.6686 |
|
74 |
+
| 0.5756 | 1.7582 | 1600 | 0.6655 |
|
75 |
+
| 0.545 | 1.8681 | 1700 | 0.6622 |
|
76 |
+
| 0.5505 | 1.9780 | 1800 | 0.6606 |
|
77 |
+
| 0.5149 | 2.0879 | 1900 | 0.6648 |
|
78 |
+
| 0.5234 | 2.1978 | 2000 | 0.6638 |
|
79 |
+
| 0.5239 | 2.3077 | 2100 | 0.6632 |
|
80 |
+
| 0.5142 | 2.4176 | 2200 | 0.6623 |
|
81 |
+
| 0.5086 | 2.5275 | 2300 | 0.6616 |
|
82 |
+
| 0.4998 | 2.6374 | 2400 | 0.6604 |
|
83 |
+
| 0.5029 | 2.7473 | 2500 | 0.6602 |
|
84 |
+
| 0.5146 | 2.8571 | 2600 | 0.6599 |
|
85 |
+
| 0.5293 | 2.9670 | 2700 | 0.6601 |
|
86 |
+
|
87 |
+
|
88 |
+
### Framework versions
|
89 |
+
|
90 |
+
- Transformers 4.45.2
|
91 |
+
- Pytorch 2.5.1+rocm6.2
|
92 |
+
- Datasets 3.5.0
|
93 |
+
- Tokenizers 0.20.3
|
all_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"total_flos": 1.183665069490176e+16,
|
4 |
+
"train_loss": 0.5413940727492392,
|
5 |
+
"train_runtime": 63958.3461,
|
6 |
+
"train_samples": 344926,
|
7 |
+
"train_samples_per_second": 5.459,
|
8 |
+
"train_steps_per_second": 0.043
|
9 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 49152,
|
4 |
+
"eos_token_id": 49153,
|
5 |
+
"pad_token_id": 49153,
|
6 |
+
"transformers_version": "4.45.2"
|
7 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"total_flos": 1.183665069490176e+16,
|
4 |
+
"train_loss": 0.5413940727492392,
|
5 |
+
"train_runtime": 63958.3461,
|
6 |
+
"train_samples": 344926,
|
7 |
+
"train_samples_per_second": 5.459,
|
8 |
+
"train_steps_per_second": 0.043
|
9 |
+
}
|
trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|