add model
Browse files- .gitignore +1 -0
- README.md +60 -0
- config.json +46 -0
- pytorch_model.bin +3 -0
- runs/Jul22_07-09-09_262749f64873/1626937783.167601/events.out.tfevents.1626937783.262749f64873.367.1 +3 -0
- runs/Jul22_07-09-09_262749f64873/events.out.tfevents.1626937783.262749f64873.367.0 +3 -0
- runs/Jul22_07-09-09_262749f64873/events.out.tfevents.1626938455.262749f64873.367.2 +3 -0
- training_args.bin +3 -0
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
checkpoint-*/
|
README.md
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_trainer
|
4 |
+
model_index:
|
5 |
+
- name: gpt2-medium-dutch-finetuned-text-generation
|
6 |
+
results:
|
7 |
+
- task:
|
8 |
+
name: Causal Language Modeling
|
9 |
+
type: text-generation
|
10 |
+
---
|
11 |
+
|
12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
13 |
+
should probably proofread and complete it, then remove this comment. -->
|
14 |
+
|
15 |
+
# gpt2-medium-dutch-finetuned-text-generation
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [GroNLP/gpt2-medium-dutch-embeddings](https://huggingface.co/GroNLP/gpt2-medium-dutch-embeddings) on an unkown dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 3.9035
|
20 |
+
|
21 |
+
## Model description
|
22 |
+
|
23 |
+
More information needed
|
24 |
+
|
25 |
+
## Intended uses & limitations
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Training and evaluation data
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training procedure
|
34 |
+
|
35 |
+
### Training hyperparameters
|
36 |
+
|
37 |
+
The following hyperparameters were used during training:
|
38 |
+
- learning_rate: 2e-05
|
39 |
+
- train_batch_size: 8
|
40 |
+
- eval_batch_size: 8
|
41 |
+
- seed: 42
|
42 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
43 |
+
- lr_scheduler_type: linear
|
44 |
+
- num_epochs: 3.0
|
45 |
+
|
46 |
+
### Training results
|
47 |
+
|
48 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
49 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
50 |
+
| No log | 1.0 | 402 | 3.9891 |
|
51 |
+
| 3.3731 | 2.0 | 804 | 3.9156 |
|
52 |
+
| 2.7263 | 3.0 | 1206 | 3.9035 |
|
53 |
+
|
54 |
+
|
55 |
+
### Framework versions
|
56 |
+
|
57 |
+
- Transformers 4.8.2
|
58 |
+
- Pytorch 1.9.0+cu102
|
59 |
+
- Datasets 1.10.0
|
60 |
+
- Tokenizers 0.10.3
|
config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "GroNLP/gpt2-medium-dutch-embeddings",
|
3 |
+
"activation_function": "gelu_new",
|
4 |
+
"architectures": [
|
5 |
+
"GPT2LMHeadModel"
|
6 |
+
],
|
7 |
+
"attn_pdrop": 0.1,
|
8 |
+
"bos_token_id": 1,
|
9 |
+
"embd_pdrop": 0.1,
|
10 |
+
"eos_token_id": 2,
|
11 |
+
"gradient_checkpointing": false,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"layer_norm_epsilon": 1e-05,
|
14 |
+
"model_type": "gpt2",
|
15 |
+
"n_ctx": 1024,
|
16 |
+
"n_embd": 1024,
|
17 |
+
"n_head": 16,
|
18 |
+
"n_inner": null,
|
19 |
+
"n_layer": 24,
|
20 |
+
"n_positions": 1024,
|
21 |
+
"n_special": 0,
|
22 |
+
"pad_token_id": 0,
|
23 |
+
"predict_special_tokens": true,
|
24 |
+
"resid_pdrop": 0.1,
|
25 |
+
"scale_attn_weights": true,
|
26 |
+
"summary_activation": null,
|
27 |
+
"summary_first_dropout": 0.1,
|
28 |
+
"summary_proj_to_labels": true,
|
29 |
+
"summary_type": "cls_index",
|
30 |
+
"summary_use_proj": true,
|
31 |
+
"task_specific_params": {
|
32 |
+
"text-generation": {
|
33 |
+
"do_sample": true,
|
34 |
+
"max_length": 100,
|
35 |
+
"no_repeat_ngram_size": 4,
|
36 |
+
"num_beams": 10,
|
37 |
+
"repetition_penalty": 10.0,
|
38 |
+
"temperature": 2.0,
|
39 |
+
"top_k": 20,
|
40 |
+
"top_p": 0.9
|
41 |
+
}
|
42 |
+
},
|
43 |
+
"transformers_version": "4.8.2",
|
44 |
+
"use_cache": true,
|
45 |
+
"vocab_size": 40000
|
46 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:79eb6b03af4d0782563daf7f797488dedefc87aa3260833134946076c91aab65
|
3 |
+
size 1402568665
|
runs/Jul22_07-09-09_262749f64873/1626937783.167601/events.out.tfevents.1626937783.262749f64873.367.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cb38d660d447e535b0b41ecb45103cef220178877ff5a4010efe581d7af63717
|
3 |
+
size 4207
|
runs/Jul22_07-09-09_262749f64873/events.out.tfevents.1626937783.262749f64873.367.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:36d48ec84d9aff7e71af48613dc7a8da7507739051e2c04a7543e77ecc3ed01b
|
3 |
+
size 4895
|
runs/Jul22_07-09-09_262749f64873/events.out.tfevents.1626938455.262749f64873.367.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e6f9053687026839de53e2cba553f0ac4d126d4c54dd10eb8866e279365aae3
|
3 |
+
size 311
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:52809dd18e9fe24e894e8067a1c557e0f43d143ef658b141491c6852209815d3
|
3 |
+
size 2671
|