Downloads · 30 days
17
2% of all-time downloads
malteos/gpt2-xl-german-covid-19
gpt2-xl-german-covid-19 is a text generation model from malteos. 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.
- Covid-19 specific version of malteos/gpt2-xl-wechsel-german - Fine-tuned on 2 GB text from OSCAR filtered for covid related terms.
Downloads · 30 days
17
2% of all-time downloads
All-time downloads
758
Public
Repo size
12.6 GB
Likes
0
Public
Click a slice to open those files.
.bin6.3 GB · 100%
From the Hugging Face model README
malteos/gpt2-xl-wechsel-germanYou can use this model directly with a pipeline for text generation. Since the generation relies on some randomness, we set a seed for reproducibility:
>>> from transformers import pipeline, set_seed
>>> generator = pipeline('text-generation', model='malteos/gpt2-xl-german-covid-19')
>>> set_seed(42)
>>> generator("Hello, I'm a language model,", max_length=30, num_return_sequences=5)
MIT