05f9acca946df93ece15d8f1aaf71f71f98f1ac0
Model: AI-ModelScope/Yi-1.5-34B-Chat-GPTQ Source: Original Platform
language, pipeline_tag, tags, license, license_name, license_link
| language | pipeline_tag | tags | license | license_name | license_link | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
text-generation |
|
Apache 2.0 | Apache 2.0 | LICENSE |
About Quantization
我们使用modelscope swift仓库进行GPTQ 4bit量化. 量化文档可以查看这里. 量化命令如下:
We use the modelscope swift repository to perform GPTQ 4bit quantization. Quantization documentation can be found here. The quantization command is as follows:
# Experimental Environment: A100
OMP_NUM_THREADS=14 \
swift export \
--quant_bits 4 \
--model_type yi-1_5-34b-chat \
--quant_method gptq \
--dataset alpaca-zh alpaca-en sharegpt-gpt4-mini \
--quant_seqlen 4096
Inference:
CUDA_VISIBLE_DEVICES=0 swift infer --model_type yi-1_5-34b-chat-gptq-int4
SFT:
CUDA_VISIBLE_DEVICES=0 swift sft --model_type yi-1_5-34b-chat-gptq-int4 --dataset leetcode-python-en
Original Model:
Description