yuccaaa commited on
Commit
7b93061
·
verified ·
1 Parent(s): c4ca441

Upload ms-swift/examples/export/quantize/bnb.sh with huggingface_hub

Browse files
ms-swift/examples/export/quantize/bnb.sh ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ CUDA_VISIBLE_DEVICES=0 \
2
+ swift export \
3
+ --model Qwen/Qwen2.5-1.5B-Instruct \
4
+ --quant_method bnb \
5
+ --quant_bits 4 \
6
+ --bnb_4bit_quant_type nf4 \
7
+ --bnb_4bit_use_double_quant true \
8
+ --output_dir Qwen2.5-1.5B-Instruct-BNB-NF4