gbemilekeonilude
commited on
Model save
Browse files- README.md +81 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: openai-community/gpt2-medium
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
model-index:
|
9 |
+
- name: oop_and_text_gpt2
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/zhenwu/code-text-pretraining/runs/pn3vfrmg)
|
17 |
+
# oop_and_text_gpt2
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [openai-community/gpt2-medium](https://huggingface.co/openai-community/gpt2-medium) on an unknown dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 1.6730
|
22 |
+
- Accuracy: 0.1981
|
23 |
+
- Num Input Tokens Seen: 5734400
|
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: 4
|
45 |
+
- seed: 42
|
46 |
+
- distributed_type: multi-GPU
|
47 |
+
- num_devices: 2
|
48 |
+
- total_train_batch_size: 8
|
49 |
+
- total_eval_batch_size: 8
|
50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
+
- lr_scheduler_type: cosine
|
52 |
+
- lr_scheduler_warmup_ratio: 0.03
|
53 |
+
- num_epochs: 3.0
|
54 |
+
|
55 |
+
### Training results
|
56 |
+
|
57 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Input Tokens Seen |
|
58 |
+
|:-------------:|:------:|:----:|:---------------:|:--------:|:-----------------:|
|
59 |
+
| No log | 0 | 0 | 8.7649 | 0.1981 | 0 |
|
60 |
+
| 1.6819 | 0.2092 | 50 | 3.0818 | 0.1934 | 409600 |
|
61 |
+
| 1.6936 | 0.4184 | 100 | 1.8988 | 0.2358 | 819200 |
|
62 |
+
| 1.8252 | 0.6276 | 150 | 1.7960 | 0.2075 | 1228800 |
|
63 |
+
| 1.7185 | 0.8368 | 200 | 1.6783 | 0.2170 | 1638400 |
|
64 |
+
| 1.6083 | 1.0460 | 250 | 1.6509 | 0.1604 | 2048000 |
|
65 |
+
| 1.5989 | 1.2552 | 300 | 1.7008 | 0.1792 | 2457600 |
|
66 |
+
| 1.7146 | 1.4644 | 350 | 1.7357 | 0.1792 | 2867200 |
|
67 |
+
| 1.5851 | 1.6736 | 400 | 1.7148 | 0.2075 | 3276800 |
|
68 |
+
| 1.5185 | 1.8828 | 450 | 1.6637 | 0.2123 | 3686400 |
|
69 |
+
| 1.5803 | 2.0921 | 500 | 1.6518 | 0.1840 | 4096000 |
|
70 |
+
| 1.5545 | 2.3013 | 550 | 1.6630 | 0.2075 | 4505600 |
|
71 |
+
| 1.6077 | 2.5105 | 600 | 1.6762 | 0.1840 | 4915200 |
|
72 |
+
| 1.6173 | 2.7197 | 650 | 1.6747 | 0.1934 | 5324800 |
|
73 |
+
| 1.5865 | 2.9289 | 700 | 1.6730 | 0.1981 | 5734400 |
|
74 |
+
|
75 |
+
|
76 |
+
### Framework versions
|
77 |
+
|
78 |
+
- Transformers 4.43.2
|
79 |
+
- Pytorch 2.4.0
|
80 |
+
- Datasets 2.20.0
|
81 |
+
- Tokenizers 0.19.1
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1419343440
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d7cafd79e1aa01436895e7784dbba67a15225b4fd4c62152041558b0e8543ed0
|
3 |
size 1419343440
|