Downloads · 30 days
166K
52% of all-time downloads
GroNLP/gpt2-small-dutch
gpt2-small-dutch is a text generation model from GroNLP. Use it when you need the model to write or continue text. It is set up for transformers.
Downloads · 30 days
166K
52% of all-time downloads
All-time downloads
320K
Public
Parameters
129M
1.9 GB on disk
Likes
6
Public
Click a slice to open those files.
.bin479 MB · 25%
How the weights are stored.
F32117M · 90%
From the Hugging Face model README
Wietse de Vries • Malvina Nissim
This model is based on the small OpenAI GPT-2 (gpt2) model.
For details, check out our paper on arXiv and the code on Github.
gpt2-small-dutch-embeddings: Small model size with only retrained lexical embeddings.gpt2-small-dutch: Small model size with retrained lexical embeddings and additional fine-tuning of the full model. (Recommended)gpt2-medium-dutch-embeddings: Medium model size with only retrained lexical embeddings.gpt2-small-italian-embeddings: Small model size with only retrained lexical embeddings.gpt2-small-italian: Small model size with retrained lexical embeddings and additional fine-tuning of the full model. (Recommended)gpt2-medium-italian-embeddings: Medium model size with only retrained lexical embeddings.from transformers import pipeline
pipe = pipeline("text-generation", model="GroNLP/gpt2-small-dutch")
from transformers import AutoTokenizer, AutoModel, TFAutoModel
tokenizer = AutoTokenizer.from_pretrained("GroNLP/gpt2-small-dutch")
model = AutoModel.from_pretrained("GroNLP/gpt2-small-dutch") # PyTorch
model = TFAutoModel.from_pretrained("GroNLP/gpt2-small-dutch") # Tensorflow
@misc{devries2020good,
title={As good as new. How to successfully recycle English GPT-2 to make models for other languages},
author={Wietse de Vries and Malvina Nissim},
year={2020},
eprint={2012.05628},
archivePrefix={arXiv},
primaryClass={cs.CL}
}