Downloads · 30 days
14
2% of all-time downloads
vasudevgupta/dl-hack-gpt2-large
dl-hack-gpt2-large is a text generation model from vasudevgupta. Use it when you need the model to write or continue text. It is set up for transformers.
Downloads · 30 days
14
2% of all-time downloads
All-time downloads
575
Public
Repo size
15.6 GB
Likes
0
Public
Click a slice to open those files.
.bin3.1 GB · 50%
From the Hugging Face model README
DL research papers Title -> abstract
Using this model
from transformers import pipeline, GPT2LMHeadModel, GPT2Tokenizer
tokenizer = GPT2Tokenizer.from_pretrained("vasudevgupta/dl-hack-gpt2-large")
model = GPT2LMHeadModel.from_pretrained("vasudevgupta/dl-hack-gpt2-large")
agent = pipeline("text-generation", model=model, tokenizer=tokenizer)
print(agent("An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale", max_length=200))