German Covid-19 GPT2-XL (1.5B)
- Covid-19 specific version of
malteos/gpt2-xl-wechsel-german
- Fine-tuned on 2 GB text from OSCAR filtered for covid related terms.
How to use
You 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)
License
MIT