Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
1c1
/
7cpc
like
1
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
7cpc
/
python
1c1
Create python
63ae938
verified
10 days ago
raw
Copy download link
history
blame
contribute
delete
Safe
99 Bytes
model = GPT2LMHeadModel.from_pretrained(
"gpt2"
,
load_in_8bit
=
True
,
device_map
=
"auto"
)