Downloads · 30 days
17
0% of all-time downloads
TigerResearch/tigerbot-7b-chat-4bit
tigerbot-7b-chat-4bit is a text generation model from TigerResearch. 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.
<div style="width: 100%;" <img src="http://x-pai.algolet.com/bot/img/logocore.png" alt="TigerBot" style="width: 20%; display: block; margin: auto;" </div <p align="center" <font face="黑体" size=5" A cutting-edge founda…
Downloads · 30 days
17
0% of all-time downloads
All-time downloads
5.2K
Public
Repo size
5.4 GB
Likes
0
Public
Click a slice to open those files.
.safetensors5.4 GB · 100%
From the Hugging Face model README
This is a 4-bit GPTQ version of the Tigerbot 7b chat.
It was quantized to 4bit using: https://github.com/PanQiWei/AutoGPTQ
Here are commands to clone the TigerBot and install.
conda create --name tigerbot python=3.8
conda activate tigerbot
conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia
git clone https://github.com/TigerResearch/TigerBot
cd TigerBot
pip install -r requirements.txt
Inference with command line interface
infer with auto-gptq
# 安装auto-gptq
pip install auto-gptq
# 启动推理
CUDA_VISIBLE_DEVICES=0 python other_infer/gptq_infer.py --model_path TigerResearch/tigerbot-7b-chat-4bit
infer with exllama
# 安装exllama_lib
pip install exllama_lib@git+https://github.com/taprosoft/exllama.git
# 启动推理
CUDA_VISIBLE_DEVICES=0 python other_infer/exllama_infer.py --model_path TigerResearch/tigerbot-7b-chat-4bit