Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
language:
|
4 |
+
- zh
|
5 |
+
- en
|
6 |
+
---
|
7 |
+
<div style="width: 100%;">
|
8 |
+
<p align="center">
|
9 |
+
<img src="http://x-pai.algolet.com/bot/img/logo_core.png" alt="TigerBot" width="20%" style="display: inline-block;"></img>
|
10 |
+
<img src="https://www.sofya.ai/logo.svg" alt="Sofya" width="20%" style="display: inline-block;"></img>
|
11 |
+
</p>
|
12 |
+
</div>
|
13 |
+
<p align="center">
|
14 |
+
<font face="黑体" size=5"> A cutting-edge foundation for your very own LLM. </font>
|
15 |
+
</p>
|
16 |
+
<p align="center">
|
17 |
+
💻<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>
|
18 |
+
</p>
|
19 |
+
|
20 |
+
# 快速开始
|
21 |
+
|
22 |
+
- 方法1,通过transformers使用
|
23 |
+
|
24 |
+
- 下载 TigerBot Repo
|
25 |
+
|
26 |
+
```shell
|
27 |
+
git clone https://github.com/TigerResearch/TigerBot.git
|
28 |
+
```
|
29 |
+
|
30 |
+
- 启动infer代码
|
31 |
+
|
32 |
+
```shell
|
33 |
+
python infer.py --model_path TigerResearch/SoftTiger-13b
|
34 |
+
```
|
35 |
+
|
36 |
+
- 方法2:
|
37 |
+
|
38 |
+
- 下载 TigerBot Repo
|
39 |
+
|
40 |
+
```shell
|
41 |
+
git clone https://github.com/TigerResearch/TigerBot.git
|
42 |
+
```
|
43 |
+
|
44 |
+
- 安装git lfs: `git lfs install`
|
45 |
+
|
46 |
+
- 通过huggingface下载权重
|
47 |
+
```shell
|
48 |
+
git clone https://huggingface.co/TigerResearch/SoftTiger-13b
|
49 |
+
```
|
50 |
+
|
51 |
+
- 启动infer代码
|
52 |
+
|
53 |
+
```shell
|
54 |
+
python infer.py --model_path SoftTiger-13b
|
55 |
+
```
|
56 |
+
|
57 |
+
------
|
58 |
+
|
59 |
+
# Quick Start
|
60 |
+
|
61 |
+
- Method 1, use through transformers
|
62 |
+
|
63 |
+
- Clone TigerBot Repo
|
64 |
+
|
65 |
+
```shell
|
66 |
+
git clone https://github.com/TigerResearch/TigerBot.git
|
67 |
+
```
|
68 |
+
|
69 |
+
- Run infer script
|
70 |
+
|
71 |
+
```shell
|
72 |
+
python infer.py --model_path TigerResearch/SoftTiger-13b
|
73 |
+
```
|
74 |
+
|
75 |
+
- Method 2:
|
76 |
+
|
77 |
+
- Clone TigerBot Repo
|
78 |
+
|
79 |
+
```shell
|
80 |
+
git clone https://github.com/TigerResearch/TigerBot.git
|
81 |
+
```
|
82 |
+
|
83 |
+
- install git lfs: `git lfs install`
|
84 |
+
|
85 |
+
- Download weights from huggingface
|
86 |
+
```shell
|
87 |
+
git clone https://huggingface.co/TigerResearch/SoftTiger-13b
|
88 |
+
```
|
89 |
+
|
90 |
+
- Run infer script
|
91 |
+
|
92 |
+
```shell
|
93 |
+
python infer.py --model_path SoftTiger-13b
|
94 |
+
```
|