Back to all models
Model: sshleifer/tiny-gpt2

Monthly model downloads

sshleifer/tiny-gpt2 sshleifer/tiny-gpt2
- downloads
last 30 days

pytorch

tf

Contributed by

sshleifer Sam Shleifer
23 models

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

			
Copy model
tokenizer = AutoTokenizer.from_pretrained("sshleifer/tiny-gpt2") model = AutoModelWithLMHead.from_pretrained("sshleifer/tiny-gpt2")