Downloads · 30 days
15
21% of all-time downloads
TigerResearch/tigerbot-7b-sft-v2-4bit
tigerbot-7b-sft-v2-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
15
21% of all-time downloads
All-time downloads
71
Public
Repo size
5.2 GB
Likes
0
Public
Click a slice to open those files.
.pt5.2 GB · 100%
From the Hugging Face model README
This is a 4-bit GPTQ version of the Tigerbot 7B sft v2.
It was quantized to 4bit using: https://github.com/TigerResearch/TigerBot/tree/main/gptq
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
cd TigerBot/gptq
CUDA_VISIBLE_DEVICES=0 python tigerbot_infer.py TigerResearch/tigerbot-7b-sft-4bit-128g --wbits 4 --groupsize 128 --load TigerResearch/tigerbot-7b-sft-4bit-128g/tigerbot-7b-4bit-128g.pt