hiyouga 8cf9842f7a add examples
Former-commit-id: 76f31b18eb4d3724f96ea1bad10073677daee36d
2024-03-05 03:16:35 +08:00

11 lines
327 B
Bash

#!/bin/bash
python ../../src/export_model.py \
--model_name_or_path ../../models/llama2-7b-sft \
--template default \
--export_dir ../../models/llama2-7b-sft-int4 \
--export_quantization_bit 4 \
--export_quantization_dataset ../../data/c4_demo.json \
--export_size 2 \
--export_legacy_format False