coreyabs-db
commited on
Commit
•
d92d1e2
1
Parent(s):
ed33894
update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
model-index:
|
6 |
+
- name: codeparrot-ids
|
7 |
+
results: []
|
8 |
+
---
|
9 |
+
|
10 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
11 |
+
should probably proofread and complete it, then remove this comment. -->
|
12 |
+
|
13 |
+
# codeparrot-ids
|
14 |
+
|
15 |
+
This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on an unknown dataset.
|
16 |
+
It achieves the following results on the evaluation set:
|
17 |
+
- Loss: 1.6494
|
18 |
+
|
19 |
+
## Model description
|
20 |
+
|
21 |
+
More information needed
|
22 |
+
|
23 |
+
## Intended uses & limitations
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Training and evaluation data
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training procedure
|
32 |
+
|
33 |
+
### Training hyperparameters
|
34 |
+
|
35 |
+
The following hyperparameters were used during training:
|
36 |
+
- learning_rate: 0.0005
|
37 |
+
- train_batch_size: 32
|
38 |
+
- eval_batch_size: 32
|
39 |
+
- seed: 42
|
40 |
+
- distributed_type: multi-GPU
|
41 |
+
- gradient_accumulation_steps: 8
|
42 |
+
- total_train_batch_size: 256
|
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 |
+
- num_epochs: 1
|
47 |
+
- mixed_precision_training: Native AMP
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
52 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
53 |
+
| 3.26 | 0.09 | 500 | 3.0600 |
|
54 |
+
| 2.58 | 0.18 | 1000 | 2.4991 |
|
55 |
+
| 2.3247 | 0.28 | 1500 | 2.2607 |
|
56 |
+
| 2.1442 | 0.37 | 2000 | 2.0888 |
|
57 |
+
| 2.0134 | 0.46 | 2500 | 1.9589 |
|
58 |
+
| 1.9115 | 0.55 | 3000 | 1.8542 |
|
59 |
+
| 1.8193 | 0.65 | 3500 | 1.7703 |
|
60 |
+
| 1.7542 | 0.74 | 4000 | 1.7063 |
|
61 |
+
| 1.7138 | 0.83 | 4500 | 1.6675 |
|
62 |
+
| 1.6928 | 0.92 | 5000 | 1.6494 |
|
63 |
+
|
64 |
+
|
65 |
+
### Framework versions
|
66 |
+
|
67 |
+
- Transformers 4.26.1
|
68 |
+
- Pytorch 1.13.1+cu117
|
69 |
+
- Datasets 2.12.0
|
70 |
+
- Tokenizers 0.13.2
|