Download LLM-Drop/scripts/quantization/awq.sh from s1ghhh/nbl_try: direct link, hf CLI and curl.
- Browser
- Download file 217 Bytes
-
https://huggingface.co/s1ghhh/nbl_try/resolve/main/LLM-Drop/scripts/quantization/awq.sh
- Command line
-
hf download hf://s1ghhh/nbl_try/LLM-Drop/scripts/quantization/awq.sh
-
curl -L -o awq.sh https://huggingface.co/s1ghhh/nbl_try/resolve/main/LLM-Drop/scripts/quantization/awq.sh
217 Bytes
| model_path="########PATH_TO_HUGGING_FACE_CHECKPOINT#########" | |
| quant_path="########PATH_TO_SAVE_THE_QUANTIZED_MODEL########" | |
| bits=4 | |
| python AutoAWQ/quantize.py \ | |
| $model_path \ | |
| $quant_path \ | |
| $bits |