Update README.md
Browse files
README.md
CHANGED
@@ -11,36 +11,44 @@ pipeline_tag: text-generation
|
|
11 |
<p align="center">
|
12 |
💻<a href="https://github.com/TigerResearch/TigerBot" target="_blank">Github</a> • 🌐 <a href="https://tigerbot.com/" target="_blank">TigerBot</a> • 🤗 <a href="https://huggingface.co/TigerResearch" target="_blank">Hugging Face</a>
|
13 |
</p>
|
|
|
14 |
# 快速开始
|
15 |
|
16 |
- 方法1,通过transformers使用
|
17 |
|
18 |
- 下载 TigerBot Repo
|
19 |
|
20 |
-
|
|
|
|
|
21 |
|
22 |
- 启动infer代码
|
23 |
|
24 |
-
|
|
|
|
|
25 |
|
26 |
- 方法2:
|
27 |
|
28 |
- 下载 TigerBot Repo
|
29 |
-
|
30 |
-
|
|
|
|
|
31 |
|
32 |
- 安装git lfs: `git lfs install`
|
33 |
|
34 |
- 通过huggingface或modelscope平台下载权重
|
35 |
-
|
36 |
```shell
|
37 |
-
GIT_LFS_SKIP_SMUDGE=0
|
38 |
-
|
39 |
-
# From huggingface
|
40 |
git clone https://huggingface.co/TigerResearch/tigerbot-7b-chat
|
41 |
-
# From modelscope
|
42 |
git clone https://www.modelscope.cn/TigerResearch/tigerbot-7b-chat-v3.git
|
43 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
|
45 |
------
|
46 |
|
@@ -50,27 +58,34 @@ pipeline_tag: text-generation
|
|
50 |
|
51 |
- Clone TigerBot Repo
|
52 |
|
53 |
-
|
|
|
|
|
54 |
|
55 |
- Run infer script
|
56 |
|
57 |
-
|
|
|
|
|
58 |
|
59 |
- Method 2:
|
60 |
|
61 |
- Clone TigerBot Repo
|
62 |
|
63 |
-
|
|
|
|
|
64 |
|
65 |
- install git lfs: `git lfs install`
|
66 |
|
67 |
- Download weights from huggingface or modelscope
|
68 |
-
|
69 |
```shell
|
70 |
-
GIT_LFS_SKIP_SMUDGE=0
|
71 |
-
|
72 |
-
# From huggingface
|
73 |
git clone https://huggingface.co/TigerResearch/tigerbot-7b-chat
|
74 |
-
# From modelscope
|
75 |
git clone https://www.modelscope.cn/TigerResearch/tigerbot-7b-chat-v3.git
|
76 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
<p align="center">
|
12 |
💻<a href="https://github.com/TigerResearch/TigerBot" target="_blank">Github</a> • 🌐 <a href="https://tigerbot.com/" target="_blank">TigerBot</a> • 🤗 <a href="https://huggingface.co/TigerResearch" target="_blank">Hugging Face</a>
|
13 |
</p>
|
14 |
+
|
15 |
# 快速开始
|
16 |
|
17 |
- 方法1,通过transformers使用
|
18 |
|
19 |
- 下载 TigerBot Repo
|
20 |
|
21 |
+
```shell
|
22 |
+
git clone https://github.com/TigerResearch/TigerBot.git
|
23 |
+
```
|
24 |
|
25 |
- 启动infer代码
|
26 |
|
27 |
+
```shell
|
28 |
+
python infer.py --model_path TigerResearch/tigerbot-13b-chat
|
29 |
+
```
|
30 |
|
31 |
- 方法2:
|
32 |
|
33 |
- 下载 TigerBot Repo
|
34 |
+
|
35 |
+
```shell
|
36 |
+
git clone https://github.com/TigerResearch/TigerBot.git
|
37 |
+
```
|
38 |
|
39 |
- 安装git lfs: `git lfs install`
|
40 |
|
41 |
- 通过huggingface或modelscope平台下载权重
|
|
|
42 |
```shell
|
|
|
|
|
|
|
43 |
git clone https://huggingface.co/TigerResearch/tigerbot-7b-chat
|
|
|
44 |
git clone https://www.modelscope.cn/TigerResearch/tigerbot-7b-chat-v3.git
|
45 |
```
|
46 |
+
|
47 |
+
- 启动infer代码
|
48 |
+
|
49 |
+
```shell
|
50 |
+
python infer.py --model_path tigerbot-13b-chat(-v3)
|
51 |
+
```
|
52 |
|
53 |
------
|
54 |
|
|
|
58 |
|
59 |
- Clone TigerBot Repo
|
60 |
|
61 |
+
```shell
|
62 |
+
git clone https://github.com/TigerResearch/TigerBot.git
|
63 |
+
```
|
64 |
|
65 |
- Run infer script
|
66 |
|
67 |
+
```shell
|
68 |
+
python infer.py --model_path TigerResearch/tigerbot-13b-chat
|
69 |
+
```
|
70 |
|
71 |
- Method 2:
|
72 |
|
73 |
- Clone TigerBot Repo
|
74 |
|
75 |
+
```shell
|
76 |
+
git clone https://github.com/TigerResearch/TigerBot.git
|
77 |
+
```
|
78 |
|
79 |
- install git lfs: `git lfs install`
|
80 |
|
81 |
- Download weights from huggingface or modelscope
|
|
|
82 |
```shell
|
|
|
|
|
|
|
83 |
git clone https://huggingface.co/TigerResearch/tigerbot-7b-chat
|
|
|
84 |
git clone https://www.modelscope.cn/TigerResearch/tigerbot-7b-chat-v3.git
|
85 |
+
```
|
86 |
+
|
87 |
+
- Run infer script
|
88 |
+
|
89 |
+
```shell
|
90 |
+
python infer.py --model_path tigerbot-13b-chat(-v3)
|
91 |
+
```
|