Download python from 1c1/7cpc: direct link, hf CLI and curl.
- Browser
- Download file 99 Bytes
-
https://huggingface.co/spaces/1c1/7cpc/resolve/main/python
- Command line
-
hf download hf://spaces/1c1/7cpc/python
-
curl -L -o python https://huggingface.co/spaces/1c1/7cpc/resolve/main/python
99 Bytes
| model = GPT2LMHeadModel.from_pretrained( | |
| "gpt2", | |
| load_in_8bit=True, | |
| device_map="auto" | |
| ) |