Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Renzhem
/
g
like
0
License:
cc
Model card
Files
Files and versions
Community
main
g
/
gpt
Renzhem
yes
68ff802
about 2 years ago
raw
Copy download link
history
blame
contribute
delete
Safe
165 Bytes
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer =
AutoTokenizer
.
from
_pretrained(
"gpt2"
)
model =
AutoModelForCausalLM
.
from
_pretrained(
"gpt2"
)