Downloads · 30 days
155
1% of all-time downloads
modelscope/Yi-1.5-34B-Chat-AWQ
Yi-1.5-34B-Chat-AWQ is a text generation model from modelscope. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
language: - en - zh pipelinetag: text-generation tags: - Awq - int4 - yi1.5-34B-Chat - pytorch license: apache-2.0 licensename: apache-2.0 licenselink: LICENSE ---
Downloads · 30 days
155
1% of all-time downloads
All-time downloads
12.8K
Public
Parameters
34.4B
19.2 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors19.2 GB · 100%
How the weights are stored.
I3233.5B · 97%
From the Hugging Face model README
language:
我们使用modelscope swift仓库进行AWQ 4bit量化. 量化文档可以查看这里. 量化命令如下:
We use the modelscope swift repository to perform AWQ 4bit quantization. Quantization documentation can be found here. The quantization command is as follows:
# Experimental Environment: A100
swift export \
--quant_bits 4 \
--model_type yi-1_5-34b-chat \
--quant_method awq \
--quant_n_samples 32 \
--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-awq-int4
SFT:
CUDA_VISIBLE_DEVICES=0 swift sft --model_type yi-1_5-34b-chat-awq-int4 --dataset leetcode-python-en
Original Model: