Download Pytorch/Scripts/pip-script.py from RayTBRP/codellama-CodeLlama-7b-Python-hf: direct link, hf CLI and curl.
- Browser
- Download file 216 Bytes
-
https://huggingface.co/RayTBRP/codellama-CodeLlama-7b-Python-hf/resolve/c0c5506eba15c7ab03ff4f59bbe251ee2db72517/Pytorch/Scripts/pip-script.py
- Command line
-
hf download hf://RayTBRP/codellama-CodeLlama-7b-Python-hf@c0c5506eba15c7ab03ff4f59bbe251ee2db72517/Pytorch/Scripts/pip-script.py
-
curl -L -o pip-script.py https://huggingface.co/RayTBRP/codellama-CodeLlama-7b-Python-hf/resolve/c0c5506eba15c7ab03ff4f59bbe251ee2db72517/Pytorch/Scripts/pip-script.py
216 Bytes
| # -*- coding: utf-8 -*- | |
| import re | |
| import sys | |
| from pip._internal.cli.main import main | |
| if __name__ == '__main__': | |
| sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) | |
| sys.exit(main()) | |