gpt2-small-repla / gpt2eval_env /lib /python3.11 /site-packages /setuptools /_distutils /dep_util.py
Download gpt2eval_env/lib/python3.11/site-packages/setuptools/_distutils/dep_util.py from michaelxing/gpt2-small-repla: direct link, hf CLI and curl.
- Browser
- Download file 349 Bytes
-
https://huggingface.co/michaelxing/gpt2-small-repla/resolve/main/gpt2eval_env/lib/python3.11/site-packages/setuptools/_distutils/dep_util.py
- Command line
-
hf download hf://michaelxing/gpt2-small-repla/gpt2eval_env/lib/python3.11/site-packages/setuptools/_distutils/dep_util.py
-
curl -L -o dep_util.py https://huggingface.co/michaelxing/gpt2-small-repla/resolve/main/gpt2eval_env/lib/python3.11/site-packages/setuptools/_distutils/dep_util.py
349 Bytes
| import warnings | |
| from . import _modified | |
| def __getattr__(name): | |
| if name not in ['newer', 'newer_group', 'newer_pairwise']: | |
| raise AttributeError(name) | |
| warnings.warn( | |
| "dep_util is Deprecated. Use functions from setuptools instead.", | |
| DeprecationWarning, | |
| stacklevel=2, | |
| ) | |
| return getattr(_modified, name) | |