update model card README.md
Browse files
README.md
CHANGED
@@ -1,12 +1,65 @@
|
|
1 |
---
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
## Training procedure
|
5 |
|
6 |
-
###
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
|
8 |
-
|
9 |
-
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
|
12 |
-
-
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
license: bigcode-openrail-m
|
3 |
+
base_model: bigcode/starcoder
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: starcoder-finetuned-code2code
|
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 |
+
# starcoder-finetuned-code2code
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [bigcode/starcoder](https://huggingface.co/bigcode/starcoder) on an unknown dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 0.3667
|
19 |
+
|
20 |
+
## Model description
|
21 |
+
|
22 |
+
More information needed
|
23 |
+
|
24 |
+
## Intended uses & limitations
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Training and evaluation data
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
## Training procedure
|
33 |
|
34 |
+
### Training hyperparameters
|
35 |
+
|
36 |
+
The following hyperparameters were used during training:
|
37 |
+
- learning_rate: 0.0001
|
38 |
+
- train_batch_size: 1
|
39 |
+
- eval_batch_size: 1
|
40 |
+
- seed: 42
|
41 |
+
- gradient_accumulation_steps: 16
|
42 |
+
- total_train_batch_size: 16
|
43 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
44 |
+
- lr_scheduler_type: cosine
|
45 |
+
- lr_scheduler_warmup_steps: 100
|
46 |
+
- training_steps: 600
|
47 |
|
48 |
+
### Training results
|
49 |
+
|
50 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
51 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
52 |
+
| 0.7191 | 0.17 | 100 | 0.4499 |
|
53 |
+
| 0.4506 | 0.33 | 200 | 0.3985 |
|
54 |
+
| 0.3988 | 0.5 | 300 | 0.3807 |
|
55 |
+
| 0.3684 | 0.67 | 400 | 0.3709 |
|
56 |
+
| 0.3499 | 0.83 | 500 | 0.3670 |
|
57 |
+
| 0.3438 | 1.0 | 600 | 0.3667 |
|
58 |
+
|
59 |
+
|
60 |
+
### Framework versions
|
61 |
|
62 |
+
- Transformers 4.32.0.dev0
|
63 |
+
- Pytorch 2.0.1+cu117
|
64 |
+
- Datasets 2.12.0
|
65 |
+
- Tokenizers 0.13.3
|