Back to all models
text-generation mask_token:
Query this model
🔥 This model is currently loaded and running on the Inference API. ⚠️ This model could not be loaded by the inference API. ⚠️ This model can be loaded on the Inference API on-demand.
JSON Output
API endpoint  

⚡️ Upgrade your account to access the Inference API

Share Copied link to clipboard

Monthly model downloads

anonymous-german-nlp/german-gpt2 anonymous-german-nlp/german-gpt2
2,789 downloads
last 30 days

pytorch

tf

Contributed by

anonymous-german-nlp Anonymous German NLP
1 model

How to use this model directly from the 🤗/transformers library:

			
Copy to clipboard
from transformers import AutoTokenizer, AutoModelWithLMHead tokenizer = AutoTokenizer.from_pretrained("anonymous-german-nlp/german-gpt2") model = AutoModelWithLMHead.from_pretrained("anonymous-german-nlp/german-gpt2")
Uploaded in S3

German GPT-2 model