i4never commited on
Commit
cd81a7f
·
1 Parent(s): 55c2e64

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +96 -0
README.md ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - zh
5
+ - en
6
+ ---
7
+
8
+ <div style="width: 100%;">
9
+ <p align="center" width="20%">
10
+ <img src="http://x-pai.algolet.com/bot/img/logo_core.png" alt="TigerBot" width="20%", style="display: block; margin: auto;"></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/tigerbot-180b-base-v2 --model_type base --max_generate_length 64
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或modelscope平台下载权重
47
+ ```shell
48
+ git clone https://huggingface.co/TigerResearch/tigerbot-180b-base-v2
49
+ git clone https://www.modelscope.cn/TigerResearch/tigerbot-180b-base-v2.git
50
+ ```
51
+
52
+ - 启动infer代码
53
+
54
+ ```shell
55
+ python infer.py --model_path tigerbot-180b-base-v2 --model_type base --max_generate_length 64
56
+ ```
57
+
58
+ ------
59
+
60
+ # Quick Start
61
+
62
+ - Method 1, use through transformers
63
+
64
+ - Clone TigerBot Repo
65
+
66
+ ```shell
67
+ git clone https://github.com/TigerResearch/TigerBot.git
68
+ ```
69
+
70
+ - Run infer script
71
+
72
+ ```shell
73
+ python infer.py --model_path TigerResearch/tigerbot-180b-base-v2 --model_type base --max_generate_length 64
74
+ ```
75
+
76
+ - Method 2:
77
+
78
+ - Clone TigerBot Repo
79
+
80
+ ```shell
81
+ git clone https://github.com/TigerResearch/TigerBot.git
82
+ ```
83
+
84
+ - install git lfs: `git lfs install`
85
+
86
+ - Download weights from huggingface or modelscope
87
+ ```shell
88
+ git clone https://huggingface.co/TigerResearch/tigerbot-180b-base-v2
89
+ git clone https://www.modelscope.cn/TigerResearch/tigerbot-180b-base-v2.git
90
+ ```
91
+
92
+ - Run infer script
93
+
94
+ ```shell
95
+ python infer.py --model_path tigerbot-180b-base-v2 --model_type base --max_generate_length 64
96
+ ```