duwuonline
commited on
Commit
•
22f9376
1
Parent(s):
829c5b9
End of training
Browse files- README.md +5 -4
- config.json +38 -16
- generation_config.json +2 -1
- merges.txt +0 -0
- pytorch_model.bin +2 -2
- training_args.bin +1 -1
- vocab.json +0 -0
README.md
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
---
|
2 |
-
|
|
|
3 |
tags:
|
4 |
- generated_from_trainer
|
5 |
model-index:
|
@@ -12,7 +13,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
12 |
|
13 |
# EsperBERTo
|
14 |
|
15 |
-
This model is a fine-tuned version of [](https://huggingface.co/) on an unknown dataset.
|
16 |
|
17 |
## Model description
|
18 |
|
@@ -32,12 +33,12 @@ More information needed
|
|
32 |
|
33 |
The following hyperparameters were used during training:
|
34 |
- learning_rate: 5e-05
|
35 |
-
- train_batch_size:
|
36 |
- eval_batch_size: 16
|
37 |
- seed: 42
|
38 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
39 |
- lr_scheduler_type: linear
|
40 |
-
- num_epochs:
|
41 |
|
42 |
### Training results
|
43 |
|
|
|
1 |
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: distilgpt2
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
model-index:
|
|
|
13 |
|
14 |
# EsperBERTo
|
15 |
|
16 |
+
This model is a fine-tuned version of [distilgpt2](https://huggingface.co/distilgpt2) on an unknown dataset.
|
17 |
|
18 |
## Model description
|
19 |
|
|
|
33 |
|
34 |
The following hyperparameters were used during training:
|
35 |
- learning_rate: 5e-05
|
36 |
+
- train_batch_size: 8
|
37 |
- eval_batch_size: 16
|
38 |
- seed: 42
|
39 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
40 |
- lr_scheduler_type: linear
|
41 |
+
- num_epochs: 5
|
42 |
|
43 |
### Training results
|
44 |
|
config.json
CHANGED
@@ -1,24 +1,46 @@
|
|
1 |
{
|
|
|
|
|
|
|
2 |
"architectures": [
|
3 |
-
"
|
4 |
],
|
5 |
-
"
|
6 |
-
"
|
7 |
-
"
|
8 |
-
"
|
9 |
-
"
|
|
|
|
|
10 |
"initializer_range": 0.02,
|
11 |
-
"
|
12 |
-
|
13 |
-
|
14 |
-
"
|
15 |
-
"
|
16 |
-
"
|
17 |
-
"
|
18 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
"torch_dtype": "float32",
|
20 |
"transformers_version": "4.32.0",
|
21 |
-
"type_vocab_size": 2,
|
22 |
"use_cache": true,
|
23 |
-
"vocab_size":
|
24 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "distilgpt2",
|
3 |
+
"_num_labels": 1,
|
4 |
+
"activation_function": "gelu_new",
|
5 |
"architectures": [
|
6 |
+
"GPT2LMHeadModel"
|
7 |
],
|
8 |
+
"attn_pdrop": 0.1,
|
9 |
+
"bos_token_id": 50256,
|
10 |
+
"embd_pdrop": 0.1,
|
11 |
+
"eos_token_id": 50256,
|
12 |
+
"id2label": {
|
13 |
+
"0": "LABEL_0"
|
14 |
+
},
|
15 |
"initializer_range": 0.02,
|
16 |
+
"label2id": {
|
17 |
+
"LABEL_0": 0
|
18 |
+
},
|
19 |
+
"layer_norm_epsilon": 1e-05,
|
20 |
+
"model_type": "gpt2",
|
21 |
+
"n_ctx": 1024,
|
22 |
+
"n_embd": 768,
|
23 |
+
"n_head": 12,
|
24 |
+
"n_inner": null,
|
25 |
+
"n_layer": 6,
|
26 |
+
"n_positions": 1024,
|
27 |
+
"reorder_and_upcast_attn": false,
|
28 |
+
"resid_pdrop": 0.1,
|
29 |
+
"scale_attn_by_inverse_layer_idx": false,
|
30 |
+
"scale_attn_weights": true,
|
31 |
+
"summary_activation": null,
|
32 |
+
"summary_first_dropout": 0.1,
|
33 |
+
"summary_proj_to_labels": true,
|
34 |
+
"summary_type": "cls_index",
|
35 |
+
"summary_use_proj": true,
|
36 |
+
"task_specific_params": {
|
37 |
+
"text-generation": {
|
38 |
+
"do_sample": true,
|
39 |
+
"max_length": 50
|
40 |
+
}
|
41 |
+
},
|
42 |
"torch_dtype": "float32",
|
43 |
"transformers_version": "4.32.0",
|
|
|
44 |
"use_cache": true,
|
45 |
+
"vocab_size": 50257
|
46 |
}
|
generation_config.json
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
-
"
|
|
|
4 |
"transformers_version": "4.32.0"
|
5 |
}
|
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
+
"bos_token_id": 50256,
|
4 |
+
"eos_token_id": 50256,
|
5 |
"transformers_version": "4.32.0"
|
6 |
}
|
merges.txt
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
pytorch_model.bin
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:0db9652ebcf7fdf6b01eb721b48b22de1e1618be1db5421c7a76914e47124b15
|
3 |
+
size 327674773
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4091
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cb6b93a138516f924e451b7ff91d60c6a23e3d0b4b4c7fc27d0e46533ce46b59
|
3 |
size 4091
|
vocab.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|