Download gpt2eval_env/lib/python3.11/site-packages/setuptools/compat/py310.py from michaelxing/gpt2-small-repla: direct link, hf CLI and curl.
- Browser
- Download file 141 Bytes
-
https://huggingface.co/michaelxing/gpt2-small-repla/resolve/main/gpt2eval_env/lib/python3.11/site-packages/setuptools/compat/py310.py
- Command line
-
hf download hf://michaelxing/gpt2-small-repla/gpt2eval_env/lib/python3.11/site-packages/setuptools/compat/py310.py
-
curl -L -o py310.py https://huggingface.co/michaelxing/gpt2-small-repla/resolve/main/gpt2eval_env/lib/python3.11/site-packages/setuptools/compat/py310.py
141 Bytes
| import sys | |
| __all__ = ['tomllib'] | |
| if sys.version_info >= (3, 11): | |
| import tomllib | |
| else: # pragma: no cover | |
| import tomli as tomllib | |