Downloads · 30 days
22
3% of all-time downloads
laurabernardy/LuxGPT2-basedGER
LuxGPT2-basedGER is a text generation model from laurabernardy. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
GPT-2 model for Text Generation in luxembourgish language, trained on 711 MB of text data, consisting of RTL.lu news articles, comments, parlament speeches, the luxembourgish Wikipedia, Newscrawl, Webcrawl and subtitl…
Downloads · 30 days
22
3% of all-time downloads
All-time downloads
659
Public
Repo size
1 GB
Likes
0
Public
Click a slice to open those files.
.bin510 MB · 99%
From the Hugging Face model README
GPT-2 model for Text Generation in luxembourgish language, trained on 711 MB of text data, consisting of RTL.lu news articles, comments, parlament speeches, the luxembourgish Wikipedia, Newscrawl, Webcrawl and subtitles. Created via transfer learning with an German base model, feature space mapping from LB on Base feature space and gradual layer freezing. The training took place on a 32 GB Nvidia Tesla V100
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("laurabernardy/LuxGPT2-basedGER")
model = AutoModelForCausalLM.from_pretrained("laurabernardy/LuxGPT2-basedGER")
See the GPT2 model card for considerations on limitations and bias. See the GPT2 documentation for details on GPT2.