vivicai commited on
Commit
6e24ce6
1 Parent(s): 0628f3a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +39 -0
README.md CHANGED
@@ -1,3 +1,42 @@
1
  ---
2
  license: apache-2.0
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
  ---
4
+ <div style="width: 100%;">
5
+ <img src="http://x-pai.algolet.com/bot/img/logo_core.png" alt="TigerBot" style="width: 20%; display: block; margin: auto;">
6
+ </div>
7
+ <p align="center">
8
+ <font face="黑体" color=orange size=5"> A cutting-edge foundation for your very own LLM. </font>
9
+ </p>
10
+ <p align="center">
11
+ 🌐 <a href="https://tigerbot.com/" target="_blank">TigerBot</a> • 🤗 <a href="https://huggingface.co/TigerResearch" target="_blank">Hugging Face</a>
12
+ </p>
13
+
14
+
15
+
16
+ This is a 4-bit GPTQ version of the [Tigerbot 7B sft](https://huggingface.co/TigerResearch/tigerbot-7b-sft).
17
+
18
+ It was quantized to 4bit using [GPTQ](https://github.com/TigerResearch/TigerBot/tree/main/gptq).
19
+
20
+ ## How to download and use this model in [TigerBot](https://github.com/TigerResearch/TigerBot)
21
+
22
+ File `tigerbot-7b-4bit-128g.pt` can be loaded
23
+ with [GPTQ in TigerBot](https://github.com/TigerResearch/TigerBot/tree/main/gptq).
24
+ Here are commands to clone the TigerBot and install.
25
+
26
+ ```
27
+ conda create --name tigerbot python=3.8
28
+ conda activate tigerbot
29
+ conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia
30
+
31
+ git clone https://github.com/TigerResearch/TigerBot
32
+ cd TigerBot
33
+ pip install -r requirements.txt
34
+ ```
35
+
36
+ Inference with command line interface
37
+
38
+ ```
39
+ cd TigerBot/gptq
40
+ CUDA_VISIBLE_DEVICES=0 python tigerbot_infer.py TigerResearch/tigerbot-7b-sft-4bit-128g --wbits 4 --groupsize 128 --load tigerbot-7b-4bit-128g.pt
41
+ ```
42
+