Transformers
Back to all models
Model: gpt2-medium

Monthly model downloads

gpt2-medium gpt2-medium
- downloads
last 30 days

pytorch

tf

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

			
Copy model
tokenizer = AutoTokenizer.from_pretrained("gpt2-medium") model = AutoModelWithLMHead.from_pretrained("gpt2-medium")