Downloads · 30 days
22
1% of all-time downloads
casperhansen/mpt-7b-8k-chat-awq
mpt-7b-8k-chat-awq is a text generation model from casperhansen. Use it when you need the model to write or continue text. It is set up for transformers.
This model is originally released under CC-BY-NC-SA-4.0, and the AWQ framework is MIT licensed.
Downloads · 30 days
22
1% of all-time downloads
All-time downloads
1.5K
Public
Repo size
7.5 GB
Likes
3
Public
Click a slice to open those files.
.bin3.8 GB · 100%
From the Hugging Face model README
This model is originally released under CC-BY-NC-SA-4.0, and the AWQ framework is MIT licensed.
Original model can be found at https://huggingface.co/mosaicml/mpt-7b-8k-chat.
Machines rented from RunPod - speed may vary dependent on both GPU/CPU.
H100:
RTX 4090 + Intel i9 13900K (2 different VMs):
RTX 4090 + AMD EPYC 7-Series (3 different VMs):
A6000 (2 different VMs):
Install AWQ:
git clone https://github.com/mit-han-lab/llm-awq && \
cd llm-awq && \
pip3 install -e . && \
cd awq/kernels && \
python3 setup.py install && \
cd ../.. && \
pip3 install einops
Run:
hfuser="casperhansen"
model_name="mpt-7b-8k-chat-awq"
group_size=128
repo_path="$hfuser/$model_name"
model_path="/workspace/llm-awq/$model_name"
quantized_model_path="/workspace/llm-awq/$model_name/$model_name-w4-g$group_size.pt"
git clone https://huggingface.co/$repo_path
python3 tinychat/demo.py --model_type mpt \
--model_path $model_path \
--q_group_size $group_size \
--load_quant $quantized_model_path \
--precision W4A16
Please cite this model using the following format:
@online{MosaicML2023Introducing,
author = {MosaicML NLP Team},
title = {Introducing MPT-30B: Raising the bar
for open-source foundation models},
year = {2023},
url = {www.mosaicml.com/blog/mpt-30b},
note = {Accessed: 2023-06-22},
urldate = {2023-06-22}
}