mengren1942
commited on
Commit
•
19ca707
1
Parent(s):
edbb3cd
Model save
Browse files- README.md +8 -17
- config.json +2 -0
- generation_config.json +2 -0
- model.safetensors +1 -1
- runs/May08_00-45-51_bunker/events.out.tfevents.1715100352.bunker.8999.0 +2 -2
- tokenizer.json +1 -6
README.md
CHANGED
@@ -15,7 +15,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
15 |
|
16 |
This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on an unknown dataset.
|
17 |
It achieves the following results on the evaluation set:
|
18 |
-
- Loss:
|
19 |
|
20 |
## Model description
|
21 |
|
@@ -44,25 +44,16 @@ The following hyperparameters were used during training:
|
|
44 |
- lr_scheduler_type: cosine
|
45 |
- lr_scheduler_warmup_steps: 1000
|
46 |
- num_epochs: 1
|
47 |
-
- mixed_precision_training: Native AMP
|
48 |
|
49 |
### Training results
|
50 |
|
51 |
-
| Training Loss | Epoch | Step
|
52 |
-
|
53 |
-
| 2.
|
54 |
-
| 1.
|
55 |
-
|
|
56 |
-
|
|
57 |
-
|
|
58 |
-
| 1.3431 | 0.46 | 30000 | 1.2568 |
|
59 |
-
| 1.2983 | 0.54 | 35000 | 1.2112 |
|
60 |
-
| 1.2522 | 0.61 | 40000 | 1.1708 |
|
61 |
-
| 1.2095 | 0.69 | 45000 | 1.1319 |
|
62 |
-
| 1.1742 | 0.77 | 50000 | 1.0989 |
|
63 |
-
| 1.1429 | 0.84 | 55000 | 1.0754 |
|
64 |
-
| 1.1244 | 0.92 | 60000 | 1.0634 |
|
65 |
-
| 1.1143 | 1.0 | 65000 | 1.0604 |
|
66 |
|
67 |
|
68 |
### Framework versions
|
|
|
15 |
|
16 |
This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on an unknown dataset.
|
17 |
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 0.1834
|
19 |
|
20 |
## Model description
|
21 |
|
|
|
44 |
- lr_scheduler_type: cosine
|
45 |
- lr_scheduler_warmup_steps: 1000
|
46 |
- num_epochs: 1
|
|
|
47 |
|
48 |
### Training results
|
49 |
|
50 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
51 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
52 |
+
| 2.4532 | 0.19 | 500 | 1.6320 |
|
53 |
+
| 1.3907 | 0.39 | 1000 | 0.9139 |
|
54 |
+
| 0.6767 | 0.58 | 1500 | 0.3542 |
|
55 |
+
| 0.3495 | 0.78 | 2000 | 0.2186 |
|
56 |
+
| 0.2458 | 0.97 | 2500 | 0.1834 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
|
58 |
|
59 |
### Framework versions
|
config.json
CHANGED
@@ -6,10 +6,12 @@
|
|
6 |
],
|
7 |
"attn_pdrop": 0.1,
|
8 |
"bos_token_id": 0,
|
|
|
9 |
"embd_pdrop": 0.1,
|
10 |
"eos_token_id": 0,
|
11 |
"initializer_range": 0.02,
|
12 |
"layer_norm_epsilon": 1e-05,
|
|
|
13 |
"model_type": "gpt2",
|
14 |
"n_ctx": 256,
|
15 |
"n_embd": 768,
|
|
|
6 |
],
|
7 |
"attn_pdrop": 0.1,
|
8 |
"bos_token_id": 0,
|
9 |
+
"do_sample": true,
|
10 |
"embd_pdrop": 0.1,
|
11 |
"eos_token_id": 0,
|
12 |
"initializer_range": 0.02,
|
13 |
"layer_norm_epsilon": 1e-05,
|
14 |
+
"max_length": 50,
|
15 |
"model_type": "gpt2",
|
16 |
"n_ctx": 256,
|
17 |
"n_embd": 768,
|
generation_config.json
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 0,
|
|
|
4 |
"eos_token_id": 0,
|
|
|
5 |
"transformers_version": "4.37.2"
|
6 |
}
|
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 0,
|
4 |
+
"do_sample": true,
|
5 |
"eos_token_id": 0,
|
6 |
+
"max_length": 50,
|
7 |
"transformers_version": "4.37.2"
|
8 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 496984704
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b420db6f242ae1d75be139bd8b9d8b6c7a3a5f35d84b4cb7e1e8ce431f583dcb
|
3 |
size 496984704
|
runs/May08_00-45-51_bunker/events.out.tfevents.1715100352.bunker.8999.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:0e6f1a78dbf88f9e18f9dc601e1edbeea0ab794d5b65eb6419a1550101ceec73
|
3 |
+
size 7058
|
tokenizer.json
CHANGED
@@ -1,11 +1,6 @@
|
|
1 |
{
|
2 |
"version": "1.0",
|
3 |
-
"truncation":
|
4 |
-
"direction": "Right",
|
5 |
-
"max_length": 256,
|
6 |
-
"strategy": "LongestFirst",
|
7 |
-
"stride": 0
|
8 |
-
},
|
9 |
"padding": null,
|
10 |
"added_tokens": [
|
11 |
{
|
|
|
1 |
{
|
2 |
"version": "1.0",
|
3 |
+
"truncation": null,
|
|
|
|
|
|
|
|
|
|
|
4 |
"padding": null,
|
5 |
"added_tokens": [
|
6 |
{
|