chenxingphh commited on
Commit
dff1f63
1 Parent(s): 6112019

Rename README_en.md to README.md

Browse files
Files changed (1) hide show
  1. README_en.md → README.md +177 -110
README_en.md → README.md RENAMED
@@ -1,6 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
1
  <!-- markdownlint-disable first-line-h1 -->
2
  <!-- markdownlint-disable html -->
3
- ![](./assets/imgs/orion_start.png)
4
 
5
  <div align="center">
6
  <h1>
@@ -8,22 +19,21 @@
8
  </h1>
9
  </div>
10
 
11
- <p align="center">
12
- 🤗 <a href="https://huggingface.co/OrionStarAI/Orion-14B" target="_blank">HuggingFace Model Download</a> | 🤖 <a href="https://modelscope.cn/models/OrionStarAI/Orion-14B/summary" target="_blank">ModelScope Download</a>
13
- </p>
14
-
15
  <div align="center">
16
 
17
 
18
  <h4 align="center">
19
  <p>
20
  <b>🌐English</b> |
21
- <a href="https://huggingface.co/OrionStarAI/Orion-14B-LongChat/blob/main/README.md">🇨🇳中文</a>
 
22
  <p>
23
  </h4>
24
 
25
  </div>
26
 
 
 
27
  # Table of Contents
28
 
29
  - [📖 Model Introduction](#model-introduction)
@@ -33,14 +43,30 @@
33
  - [🥇 Company Introduction](#company-introduction)
34
  - [📜 Declarations & License](#declarations-license)
35
 
36
- # Model Introduction
37
 
38
- - Orion-14B series models are open-source multilingual large language models trained from scratch by OrionStarAI. The base model is trained on 2.5T multilingual corpus, including Chinese, English, Japanese, Korean, etc, and it exhibits superior performance in these languages.
39
 
40
- - In mainstream benchmark evaluations, the Orion-14B series models demonstrate outstanding competitiveness, significantly surpassing models of similar scales. Based on benchmark results, the Orion-14B series models are also the first to be evaluated across more than three languages in the domain of LLM. We hope that the contributions of all Orion Star colleagues establish a new benchmark for the research field of multilingual LLMs.
 
 
 
 
 
 
 
 
41
 
 
 
 
 
 
 
 
 
42
 
43
- # Model Download
44
 
45
  Model release and download links are provided in the table below:
46
 
@@ -54,9 +80,10 @@ Model release and download links are provided in the table below:
54
  | 💼Orion-14B-Base-Int4 | [Orion-14B-Base-Int4](https://huggingface.co/OrionStarAI/Orion-14B-Base-Int4) | [Orion-14B-Base-Int4](https://modelscope.cn/models/OrionStarAI/Orion-14B-Base-Int4/summary) |
55
  | 📦Orion-14B-Chat-Int4 | [Orion-14B-Chat-Int4](https://huggingface.co/OrionStarAI/Orion-14B-Chat-Int4) | [Orion-14B-Chat-Int4](https://modelscope.cn/models/OrionStarAI/Orion-14B-Chat-Int4/summary) |
56
 
57
- # Model Benchmarks
58
 
59
- ## LLM evaluation results on examination and professional knowledge
 
60
  | Model | C-Eval | CMMLU | MMLU | AGIEval | Gaokao | BBH |
61
  |--------------------|----------|----------|----------|----------|----------|----------|
62
  | LLaMA2-13B | 41.4 | 38.4 | 55.0 | 30.9 | 18.2 | 45.6 |
@@ -64,9 +91,9 @@ Model release and download links are provided in the table below:
64
  | Baichuan2-13B | 59.0 | 61.3 | 59.5 | 37.4 | 45.6 | 49.0 |
65
  | QWEN-14B | 71.7 | 70.2 | 67.9 | 51.9 | **62.5** | 53.7 |
66
  | InternLM-20B | 58.8 | 59.0 | 62.1 | 44.6 | 45.5 | 52.5 |
67
- | **Orion-14B** | **72.9** | **70.6** | **69.9** | **54.7** | 62.1 | **56.5** |
68
 
69
- ## LLM evaluation results on language understanding and common knowledge
70
  | Model |RACE-middle|RACE-high |HellaSwag | PIQA | Lambada | WSC |
71
  |--------------------|----------|----------|----------|----------|----------|----------|
72
  | LLaMA 2-13B | 63.0 | 58.9 | 77.5 | 79.8 | 76.5 | 66.3 |
@@ -74,19 +101,19 @@ Model release and download links are provided in the table below:
74
  | Baichuan 2-13B | 68.9 | 67.2 | 70.8 | 78.1 | 74.1 | 66.3 |
75
  | QWEN-14B | 93.0 | 90.3 | **80.2** | 79.8 | 71.4 | 66.3 |
76
  | InternLM-20B | 86.4 | 83.3 | 78.1 | **80.3** | 71.8 | 68.3 |
77
- | **Orion-14B** | **93.3** | **91.3** | 78.5 | 79.5 | **78.9** | **70.2** |
78
-
79
- ## LLM evaluation results of OpenCompass testsets
80
- | Model | Average | Examination | Language | Knowledge | Understanding | Reasoning |
81
- |-----------------|----------|----------|----------|----------|----------|----------|
82
- | LLaMA 2-13B | 47.3 | 45.2 | 47.0 | 58.3 | 50.9 | 43.6 |
83
- | Skywork-13B | 53.6 | 61.1 | 51.3 | 52.7 | 64.5 | 45.2 |
84
- | Baichuan 2-13B | 49.4 | 51.8 | 47.5 | 48.9 | 58.1 | 44.2 |
85
- | QWEN-14B | 62.4 | 71.3 | 52.67 | 56.1 | 68.8 | 60.1 |
86
- | InternLM-20B | 59.4 | 62.5 | 55.0 | **60.1** | 67.3 | 54.9 |
87
- | **Orion-14B** | **64.4** | **71.4** | **55.0** | 60.0 | **71.9** | **61.6** |
88
-
89
- ## Comparison of LLM performances on Japanese testsets
90
  | Model |**Average**| JCQA | JNLI | MARC | JSQD | JQK | XLS | XWN | MGSM |
91
  |--------------------|----------|----------|----------|----------|----------|----------|----------|----------|----------|
92
  | PLaMo-13B | 52.3 | 56.7 | 42.8 | 95.8 | 70.6 | 71.0 | 8.70 | 70.5 | 2.40 |
@@ -97,20 +124,20 @@ Model release and download links are provided in the table below:
97
  | Baichuan 2-13B | 57.1 | 73.7 | 31.3 | 91.6 | 80.5 | 63.3 | 18.6 | 72.2 | 25.2 |
98
  | QWEN-14B | 65.8 | 85.9 | 60.7 | 97.0 | 83.3 | 71.8 | 18.8 | 70.6 | 38.0 |
99
  | Yi-34B | 67.1 | 83.8 | 61.2 | 95.2 | **86.1** | 78.5 | **27.2** | 69.2 | 35.2 |
100
- | **Orion-14B** | **69.1** | **88.2** | **75.8** | 94.1 | 75.7 | **85.1** | 17.3 | **78.8** | **38.0** |
101
-
102
- ## Comparison of LLM performances on Korean testsets. n = 0 and n = 5 stand for n-shot prompts used in the evaluation
103
- |Model | **Average**<br>n=0&nbsp;&nbsp;n=5 | HellaSwag<br>n=0&nbsp;&nbsp;n=5 | COPA<br> n=0&nbsp;&nbsp;n=5 | BooIQ<br>n=0&nbsp;&nbsp;n=5 | SentiNeg<br>n=0&nbsp;&nbsp;n=5|
104
- |-----------------|------------------------------|------------------------------|------------------------------|------------------------------|------------------------------|
105
- | KoGPT | 53.0 &nbsp;&nbsp; 70.1 | 55.9 &nbsp;&nbsp; 58.3 | 73.5 &nbsp;&nbsp; 72.9 | 45.1 &nbsp;&nbsp; 59.8 | 37.5 &nbsp;&nbsp; 89.4 |
106
- | Polyglot-ko-13B | 69.6 &nbsp;&nbsp; 73.7 |**59.5** &nbsp;&nbsp; **63.1**|**79.4** &nbsp;&nbsp; **81.1**| 48.2 &nbsp;&nbsp; 60.4 | 91.2 &nbsp;&nbsp; 90.2 |
107
- | LLaMA 2-13B | 46.7 &nbsp;&nbsp; 63.7 | 41.3 &nbsp;&nbsp; 44.0 | 59.3 &nbsp;&nbsp; 63.8 | 34.9 &nbsp;&nbsp; 73.8 | 51.5 &nbsp;&nbsp; 73.4 |
108
- | Baichuan 2-13B | 52.1 &nbsp;&nbsp; 58.7 | 39.2 &nbsp;&nbsp; 39.6 | 60.6 &nbsp;&nbsp; 60.6 | 58.4 &nbsp;&nbsp; 61.5 | 50.3 &nbsp;&nbsp; 72.9 |
109
- | QWEN-14B | 53.8 &nbsp;&nbsp; 73.7 | 45.3 &nbsp;&nbsp; 46.8 | 64.9 &nbsp;&nbsp; 68.9 | 33.4 &nbsp;&nbsp; 83.5 | 71.5 &nbsp;&nbsp; 95.7 |
110
- | Yi-34B | 54.2 &nbsp;&nbsp; 72.1 | 44.6 &nbsp;&nbsp; 44.7 | 58.0 &nbsp;&nbsp; 60.6 | 65.9 &nbsp;&nbsp; 90.2 | 48.3 &nbsp;&nbsp; 92.9 |
111
- | **Orion-14B** |**74.5** &nbsp;&nbsp; **79.6**| 47.0 &nbsp;&nbsp; 49.6 | 77.7 &nbsp;&nbsp; 79.4 |**81.6** &nbsp;&nbsp; **90.7**|**92.4** &nbsp;&nbsp; **98.7**|
112
-
113
- ## Multilingual evaluation
114
  | Model | Train Lang | Japanese | Korean | Chinese | English |
115
  |--------------------|------------|----------|----------|----------|----------|
116
  | PLaMo-13B | En,Jp | 52.3 | * | * | * |
@@ -123,27 +150,11 @@ Model release and download links are provided in the table below:
123
  | Qwen-14B | Multi | 65.8 | 73.7 | 64.5 | 65.4 |
124
  | Llama2-13B | Multi | 46.3 | 63.7 | 41.4 | 55.3 |
125
  | Yi-34B | Multi | 67.1 | 72.2 | 58.7 | **68.8** |
126
- | **Orion-14B** | Multi | **69.1** | **79.5** | **67.9** | 67.3 |
127
-
128
- ## Evaluation for data contamination
129
- | Model | C-Eval | CMMLU | MMLU |Lambada |HellaSwag |
130
- |------------------------|----------|----------|----------|----------|----------|
131
- | GPT-4 | 69.9 | 71.0 | 83.0 | 65.5 | **91.4** |
132
- | Qwen-72B | 83.3 | 61.8 | 77.3 | 76.1 | 85.4 |
133
- | Yi-34B | 81.8 | 82.6 | 76.3 | 73.1 | 82.0 |
134
- | Orion-14B | 72.8 | 70.6 | 69.9 | 78.8 | 78.5 |
135
- | Orion-14B(contaminated)| **92.7** | **82.9** | **85.4** | **78.5** | 85.8 |
136
-
137
- ## Chat model standard evaluation
138
- | Model | CMMLU | MMLU | BBH |HellaSwag | PIQA | WSC |
139
- |----------------------|----------|----------|----------|----------|----------|----------|
140
- | Baichuan2-13B-Chat | 58.4 | 57.0 | 49.9 | 66.9 | 77.6 | **71.2** |
141
- | Qwen-14B-Chat | **70.0** | **66.4** | **58.0** | 65.2 | 74.0 | 66.3 |
142
- | Llama2-13B-Chat | 38.7 | 54.6 | 40.2 | **78.2** | **78.8** | 68.3 |
143
- | InternLM-20B-Chat | 52.2 | 52.5 | 35.3 | 69.2 | 76.7 | 61.5 |
144
- | **Orion-14B-Chat** | 63.7 | 61.71 | 49.05 | 76.7 | 78.4 | 71.15 |
145
-
146
- ## Chat model subjective evaluation of MTBench
147
  | Model | First-Turn | Second-Turn | **Average** |
148
  |----------------------|----------|----------|----------|
149
  | Baichuan2-13B-Chat | 7.05 | 6.47 | 6.76 |
@@ -151,24 +162,63 @@ Model release and download links are provided in the table below:
151
  | Llama2-13B-Chat | 7.10 | 6.20 | 6.65 |
152
  | InternLM-20B-Chat | 7.03 | 5.93 | 6.48 |
153
  | **Orion-14B-Chat** | **7.68** | **7.07** | **7.37** |
 
154
 
155
- ## Chat model subjective evaluation of AlignBench
156
  | Model | Math. | Logi. | Basic. | Chi. | Comp. | Writ. | Role. | Prof. |**Avg.**|
157
  |--------------------|--------|--------|--------|--------|--------|--------|--------|--------|--------|
158
  | Baichuan2-13B-Chat | 3.76 | 4.07 | 6.22 | 6.05 | 7.11 | 6.97 | 6.75 | 6.43 | 5.25 |
159
  | Qwen-14B-Chat |**4.91**|**4.71**|**6.90**| 6.36 | 6.74 | 6.64 | 6.59 | 6.56 |**5.72**|
160
  | Llama2-13B-Chat | 3.05 | 3.79 | 5.43 | 4.40 | 6.76 | 6.63 | 6.99 | 5.65 | 4.70 |
161
  | InternLM-20B-Chat | 3.39 | 3.92 | 5.96 | 5.50 |**7.18**| 6.19 | 6.49 | 6.22 | 4.96 |
162
- | Orion-14B-Chat | 4.00 | 4.24 | 6.18 |**6.57**| 7.16 |**7.36**|**7.16**|**6.99**| 5.51 |
163
-
164
-
165
- # Model Inference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
166
 
167
  Model weights, source code, and configuration needed for inference are published on Hugging Face, and the download link
168
  is available in the table at the beginning of this document. We demonstrate various inference methods here, and the
169
  program will automatically download the necessary resources from Hugging Face.
170
 
171
- ## Python Code
172
 
173
  ```python
174
  import torch
@@ -184,70 +234,68 @@ messages = [{"role": "user", "content": "Hello, what is your name? "}]
184
  response = model.chat(tokenizer, messages, streaming=False)
185
  print(response)
186
 
187
- # Hello, my name is ChatMax. Nice to meet you.
188
  ```
189
 
190
  In the above Python code, the model is loaded with `device_map='auto'` to utilize all available GPUs. To specify the
191
  device, you can use something like `export CUDA_VISIBLE_DEVICES=0,1` (using GPUs 0 and 1).
192
 
193
- ## Command Line Tool
194
 
195
  ```shell
196
- python cli_demo.py
197
  ```
198
 
199
  This command-line tool is designed for chat scenarios, and thus, it does not support calling the base model.
200
 
201
- ## Direct Script Inference
202
 
203
  ```shell
204
- python text_generation.py --model OrionStarAI/Orion-14B --tokenizer OrionStarAI/Orion-14B --prompt 你好,你叫什么名字
 
 
 
 
 
 
205
  ```
206
 
207
- # Example Output
208
 
209
- ## Casual Chat
210
 
211
  `````
212
- User: Hello, what is your name?
213
- Orion-14B: Hello, my name is ChatMax. Nice to meet you.
214
  User: What functions do you have?
215
- Orion-14B: I am a versatile AI assistant. I can answer your questions, chat with you, help you look up information, provide life advice, and more.
 
 
 
 
 
 
 
 
 
 
 
216
  User: Tell me a joke.
217
- Orion-14B: Why is sausage always unhappy? Because it has no friends and can only be sandwiched between bread.
218
  `````
219
 
220
- ## Mathematical Problem
221
 
222
  `````
223
- User: In a cage, there are chickens and rabbits with a total of 26 heads and 68 feet. So, how many chickens and how many rabbits are there?
224
- Orion-14B: Let the number of chickens be x, and the number of rabbits be y.
225
- According to the problem, we can derive the following two equations:
226
- x + y = 26 (Total number of heads)
227
- 2x + 4y = 68 (Total number of feet)
228
- Rewriting the first equation, we get y = 26 - x.
229
- Substituting the value of y into the second equation, we get:
230
- 2x + 4(26 - x) = 68
231
- Solving this equation, we find x = 18.
232
- Therefore, there are 18 chickens and 26 - 18 = 8 rabbits.
233
  `````
234
 
235
- # Company Introduction
236
-
237
- OrionStar is a leading global service robot solutions company, founded in September 2016. OrionStar is dedicated to
238
- using artificial intelligence technology to create the next generation of revolutionary robots, allowing people to break
239
- free from repetitive physical labor and making human work and life more intelligent and enjoyable. Through technology,
240
- OrionStar aims to make society and the world a better place.
241
-
242
- OrionStar possesses fully self-developed end-to-end artificial intelligence technologies, such as voice interaction and
243
- visual navigation. It integrates product development capabilities and technological application capabilities. Based on
244
- the Orion robotic arm platform, it has launched products such as OrionStar AI Robot Greeting, AI Robot Greeting Mini,
245
- Lucki, Coffee Master, and established the open platform OrionOS for Orion robots. Following the philosophy of "Born for
246
- Truly Useful Robots", OrionStar empowers more people through AI technology.
247
 
248
- # Declarations, License
249
 
250
- ## Declarations
251
 
252
  We strongly urge all users not to use the Orion-14B model for any activities that may harm national or social security or violate the law.
253
  Additionally, we request users not to use the Orion-14B model for internet services without proper security review and filing.
@@ -258,13 +306,32 @@ problems arise due to the use of the Orion-14B open-source model, including but
258
  issues, public opinion risks, or any risks and issues arising from the model being misled, abused, disseminated, or
259
  improperly utilized, we will not assume any responsibility.
260
 
261
- ## License
 
 
 
 
262
 
263
- Community use of the Orion-14B model must comply with
264
- the [Apache 2.0](https://github.com/OrionStarAI/Orion-14B/blob/main/LICENSE).
265
 
266
- # Contact Us
267
 
268
- Email: ai@orionstar.com
 
 
 
269
 
270
- WhatsApp Group: https://chat.whatsapp.com/J30ig8Dx4ja5jc0cfx2nVs
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: orion
4
+ license_link: https://huggingface.co/OrionStarAI/Orion-14B-LongChat/blob/main/ModelsCommunityLicenseAgreement
5
+ widget:
6
+ - text: "Hi!"
7
+ output:
8
+ text: "Hello! How can I help you today?"
9
+ pipeline_tag: text-generation
10
+ ---
11
+
12
  <!-- markdownlint-disable first-line-h1 -->
13
  <!-- markdownlint-disable html -->
14
+ ![](./assets/imgs/assets_imgs_orion_start.PNG)
15
 
16
  <div align="center">
17
  <h1>
 
19
  </h1>
20
  </div>
21
 
 
 
 
 
22
  <div align="center">
23
 
24
 
25
  <h4 align="center">
26
  <p>
27
  <b>🌐English</b> |
28
+ <a href="https://huggingface.co/OrionStarAI/Orion-14B-LongChat/blob/main/README_cn.md">🇨🇳中文</a><br><br>
29
+ 🤗 <a href="https://huggingface.co/OrionStarAI" target="_blank">HuggingFace Mainpage</a> | 🤖 <a href="https://modelscope.cn/organization/OrionStarAI" target="_blank">ModelScope Mainpage</a><br>🎬 <a href="https://huggingface.co/spaces/OrionStarAI/Orion-14B-App-Demo" target="_blank">HuggingFace Demo</a> | 🎫 <a href="https://modelscope.cn/studios/OrionStarAI/Orion-14B-App-Demo/summary" target="_blank">ModelScope Demo</a>
30
  <p>
31
  </h4>
32
 
33
  </div>
34
 
35
+
36
+
37
  # Table of Contents
38
 
39
  - [📖 Model Introduction](#model-introduction)
 
43
  - [🥇 Company Introduction](#company-introduction)
44
  - [📜 Declarations & License](#declarations-license)
45
 
46
+ # 1. Model Introduction
47
 
48
+ - Orion-14b-LongChat is based on Orion-14B for optimized training using a longer text corpus. The Orion-14B-LongChat can handle contexts over 200K tokens and perform well.
49
 
50
+ - The Orion-14B series models exhibit the following features:
51
+ - Among models with 20B-parameter scale level, Orion-14B-Base model shows outstanding performance in comprehensive evaluations.
52
+ - Strong multilingual capabilities, significantly outperforming in Japanese and Korean testsets.
53
+ - The fine-tuned models demonstrate strong adaptability, excelling in human-annotated blind tests.
54
+ - The long-chat version supports extremely long texts, extending up to 200K tokens.
55
+ - The quantized versions reduce model size by 70%, improve inference speed by 30%, with performance loss less than 1%.
56
+ <div align="center">
57
+ <img src="./assets/imgs/assets_imgs_model_cap_en.png" alt="model_cap_en" width="50%" />
58
+ </div>
59
 
60
+ - Orion-14B series models including:
61
+ - **Orion-14B-Base:** A multilingual large language foundational model with 14 billion parameters, pretrained on a diverse dataset of 2.5 trillion tokens.
62
+ - **Orion-14B-Chat:** A chat-model fine-tuned on a high-quality corpus aims to provide an excellence interactive experience for users in the large model community.
63
+ - **Orion-14B-LongChat:** This model is optimized for long context lengths more than 200k tokens and demonstrates performance comparable to proprietary models on long context evaluation sets.
64
+ - **Orion-14B-Chat-RAG:** A chat-model fine-tuned on a custom retrieval augmented generation dataset, achieving superior performance in retrieval augmented generation tasks.
65
+ - **Orion-14B-Chat-Plugin:** A chat-model specifically tailored for plugin and function calling tasks, ideal for agent-related scenarios where the LLM acts as a plugin and function call system.
66
+ - **Orion-14B-Base-Int4:** A quantized base model utilizing 4-bit integer weights. It significantly reduces the model size by 70% and increases the inference speed by 30% while incurring a minimal performance loss of only 1%.
67
+ - **Orion-14B-Chat-Int4:** A quantized chat model utilizing 4-bit integer weights.
68
 
69
+ # 2. Model Download
70
 
71
  Model release and download links are provided in the table below:
72
 
 
80
  | 💼Orion-14B-Base-Int4 | [Orion-14B-Base-Int4](https://huggingface.co/OrionStarAI/Orion-14B-Base-Int4) | [Orion-14B-Base-Int4](https://modelscope.cn/models/OrionStarAI/Orion-14B-Base-Int4/summary) |
81
  | 📦Orion-14B-Chat-Int4 | [Orion-14B-Chat-Int4](https://huggingface.co/OrionStarAI/Orion-14B-Chat-Int4) | [Orion-14B-Chat-Int4](https://modelscope.cn/models/OrionStarAI/Orion-14B-Chat-Int4/summary) |
82
 
83
+ # 3. Model Benchmarks
84
 
85
+ ## 3.1. Base Model Orion-14B-Base Benchmarks
86
+ ### 3.1.1. LLM evaluation results on examination and professional knowledge
87
  | Model | C-Eval | CMMLU | MMLU | AGIEval | Gaokao | BBH |
88
  |--------------------|----------|----------|----------|----------|----------|----------|
89
  | LLaMA2-13B | 41.4 | 38.4 | 55.0 | 30.9 | 18.2 | 45.6 |
 
91
  | Baichuan2-13B | 59.0 | 61.3 | 59.5 | 37.4 | 45.6 | 49.0 |
92
  | QWEN-14B | 71.7 | 70.2 | 67.9 | 51.9 | **62.5** | 53.7 |
93
  | InternLM-20B | 58.8 | 59.0 | 62.1 | 44.6 | 45.5 | 52.5 |
94
+ | **Orion-14B-Base** | **72.9** | **70.6** | **69.9** | **54.7** | 62.1 | **56.5** |
95
 
96
+ ### 3.1.2. LLM evaluation results on language understanding and common knowledge
97
  | Model |RACE-middle|RACE-high |HellaSwag | PIQA | Lambada | WSC |
98
  |--------------------|----------|----------|----------|----------|----------|----------|
99
  | LLaMA 2-13B | 63.0 | 58.9 | 77.5 | 79.8 | 76.5 | 66.3 |
 
101
  | Baichuan 2-13B | 68.9 | 67.2 | 70.8 | 78.1 | 74.1 | 66.3 |
102
  | QWEN-14B | 93.0 | 90.3 | **80.2** | 79.8 | 71.4 | 66.3 |
103
  | InternLM-20B | 86.4 | 83.3 | 78.1 | **80.3** | 71.8 | 68.3 |
104
+ | **Orion-14B-Base** | **93.3** | **91.3** | 78.5 | 79.5 | **78.9** | **70.2** |
105
+
106
+ ### 3.1.3. LLM evaluation results of OpenCompass testsets
107
+ | Model | Average | Examination | Language | Knowledge | Understanding | Reasoning |
108
+ |------------------|----------|----------|----------|----------|----------|----------|
109
+ | LLaMA 2-13B | 47.3 | 45.2 | 47.0 | 58.3 | 50.9 | 43.6 |
110
+ | Skywork-13B | 53.6 | 61.1 | 51.3 | 52.7 | 64.5 | 45.2 |
111
+ | Baichuan 2-13B | 49.4 | 51.8 | 47.5 | 48.9 | 58.1 | 44.2 |
112
+ | QWEN-14B | 62.4 | 71.3 | 52.67 | 56.1 | 68.8 | 60.1 |
113
+ | InternLM-20B | 59.4 | 62.5 | 55.0 | **60.1** | 67.3 | 54.9 |
114
+ |**Orion-14B-Base**| **64.4** | **71.4** | **55.0** | 60.0 | **71.9** | **61.6** |
115
+
116
+ ### 3.1.4. Comparison of LLM performances on Japanese testsets
117
  | Model |**Average**| JCQA | JNLI | MARC | JSQD | JQK | XLS | XWN | MGSM |
118
  |--------------------|----------|----------|----------|----------|----------|----------|----------|----------|----------|
119
  | PLaMo-13B | 52.3 | 56.7 | 42.8 | 95.8 | 70.6 | 71.0 | 8.70 | 70.5 | 2.40 |
 
124
  | Baichuan 2-13B | 57.1 | 73.7 | 31.3 | 91.6 | 80.5 | 63.3 | 18.6 | 72.2 | 25.2 |
125
  | QWEN-14B | 65.8 | 85.9 | 60.7 | 97.0 | 83.3 | 71.8 | 18.8 | 70.6 | 38.0 |
126
  | Yi-34B | 67.1 | 83.8 | 61.2 | 95.2 | **86.1** | 78.5 | **27.2** | 69.2 | 35.2 |
127
+ | **Orion-14B-Base** | **69.1** | **88.2** | **75.8** | 94.1 | 75.7 | **85.1** | 17.3 | **78.8** | **38.0** |
128
+
129
+ ### 3.1.5. Comparison of LLM performances on Korean testsets. n = 0 and n = 5 stand for n-shot prompts used in the evaluation
130
+ |Model | **Average**<br>n=0&nbsp;&nbsp;n=5 | HellaSwag<br>n=0&nbsp;&nbsp;n=5 | COPA<br> n=0&nbsp;&nbsp;n=5 | BooIQ<br>n=0&nbsp;&nbsp;n=5 | SentiNeg<br>n=0&nbsp;&nbsp;n=5|
131
+ |------------------|------------------------------|------------------------------|------------------------------|------------------------------|------------------------------|
132
+ | KoGPT | 53.0 &nbsp;&nbsp; 70.1 | 55.9 &nbsp;&nbsp; 58.3 | 73.5 &nbsp;&nbsp; 72.9 | 45.1 &nbsp;&nbsp; 59.8 | 37.5 &nbsp;&nbsp; 89.4 |
133
+ | Polyglot-ko-13B | 69.6 &nbsp;&nbsp; 73.7 |**59.5** &nbsp;&nbsp; **63.1**|**79.4** &nbsp;&nbsp; **81.1**| 48.2 &nbsp;&nbsp; 60.4 | 91.2 &nbsp;&nbsp; 90.2 |
134
+ | LLaMA 2-13B | 46.7 &nbsp;&nbsp; 63.7 | 41.3 &nbsp;&nbsp; 44.0 | 59.3 &nbsp;&nbsp; 63.8 | 34.9 &nbsp;&nbsp; 73.8 | 51.5 &nbsp;&nbsp; 73.4 |
135
+ | Baichuan 2-13B | 52.1 &nbsp;&nbsp; 58.7 | 39.2 &nbsp;&nbsp; 39.6 | 60.6 &nbsp;&nbsp; 60.6 | 58.4 &nbsp;&nbsp; 61.5 | 50.3 &nbsp;&nbsp; 72.9 |
136
+ | QWEN-14B | 53.8 &nbsp;&nbsp; 73.7 | 45.3 &nbsp;&nbsp; 46.8 | 64.9 &nbsp;&nbsp; 68.9 | 33.4 &nbsp;&nbsp; 83.5 | 71.5 &nbsp;&nbsp; 95.7 |
137
+ | Yi-34B | 54.2 &nbsp;&nbsp; 72.1 | 44.6 &nbsp;&nbsp; 44.7 | 58.0 &nbsp;&nbsp; 60.6 | 65.9 &nbsp;&nbsp; 90.2 | 48.3 &nbsp;&nbsp; 92.9 |
138
+ |**Orion-14B-Chat**|**74.5** &nbsp;&nbsp; **79.6**| 47.0 &nbsp;&nbsp; 49.6 | 77.7 &nbsp;&nbsp; 79.4 |**81.6** &nbsp;&nbsp; **90.7**|**92.4** &nbsp;&nbsp; **98.7**|
139
+
140
+ ### 3.1.6. Multilingual evaluation
141
  | Model | Train Lang | Japanese | Korean | Chinese | English |
142
  |--------------------|------------|----------|----------|----------|----------|
143
  | PLaMo-13B | En,Jp | 52.3 | * | * | * |
 
150
  | Qwen-14B | Multi | 65.8 | 73.7 | 64.5 | 65.4 |
151
  | Llama2-13B | Multi | 46.3 | 63.7 | 41.4 | 55.3 |
152
  | Yi-34B | Multi | 67.1 | 72.2 | 58.7 | **68.8** |
153
+ | **Orion-14B-Chat** | Multi | **69.1** | **79.5** | **67.9** | 67.3 |
154
+
155
+
156
+ ## 3.2. Chat Model Orion-14B-Chat Benchmarks
157
+ ### 3.2.1. Chat model subjective evaluation of MTBench
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
158
  | Model | First-Turn | Second-Turn | **Average** |
159
  |----------------------|----------|----------|----------|
160
  | Baichuan2-13B-Chat | 7.05 | 6.47 | 6.76 |
 
162
  | Llama2-13B-Chat | 7.10 | 6.20 | 6.65 |
163
  | InternLM-20B-Chat | 7.03 | 5.93 | 6.48 |
164
  | **Orion-14B-Chat** | **7.68** | **7.07** | **7.37** |
165
+ \* use vllm for inference
166
 
167
+ ### 3.2.2. Chat model subjective evaluation of AlignBench
168
  | Model | Math. | Logi. | Basic. | Chi. | Comp. | Writ. | Role. | Prof. |**Avg.**|
169
  |--------------------|--------|--------|--------|--------|--------|--------|--------|--------|--------|
170
  | Baichuan2-13B-Chat | 3.76 | 4.07 | 6.22 | 6.05 | 7.11 | 6.97 | 6.75 | 6.43 | 5.25 |
171
  | Qwen-14B-Chat |**4.91**|**4.71**|**6.90**| 6.36 | 6.74 | 6.64 | 6.59 | 6.56 |**5.72**|
172
  | Llama2-13B-Chat | 3.05 | 3.79 | 5.43 | 4.40 | 6.76 | 6.63 | 6.99 | 5.65 | 4.70 |
173
  | InternLM-20B-Chat | 3.39 | 3.92 | 5.96 | 5.50 |**7.18**| 6.19 | 6.49 | 6.22 | 4.96 |
174
+ | **Orion-14B-Chat** | 4.00 | 4.24 | 6.18 |**6.57**| 7.16 |**7.36**|**7.16**|**6.99**| 5.51 |
175
+ \* use vllm for inference
176
+
177
+ ## 3.3. LongChat Model Orion-14B-LongChat Benchmarks
178
+ ### 3.3.1. LongChat evaluation of LongBench
179
+ | Model | NarrativeQA|MultiFieldQA-en|MultiFieldQA-zh| DuReader | QMSum | VCSUM | TREC | TriviaQA | LSHT |RepoBench-P|
180
+ |--------------------------|-----------|-----------|-----------|-----------|-----------|-----------|-----------|-----------|-----------|-----------|
181
+ | GPT-3.5-Turbo-16k | **23.60** | **52.30** | **61.20** | 28.70 | 23.40 | **16.00** | 68.00 | **91.40** | 29.20 | 53.60 |
182
+ | LongChat-v1.5-7B-32k | 16.90 | 41.40 | 29.10 | 19.50 | 22.70 | 9.90 | 63.50 | 82.30 | 23.20 | 55.30 |
183
+ | Vicuna-v1.5-7B-16k | 19.40 | 38.50 | 43.00 | 19.30 | 22.80 | 15.10 | 71.50 | 86.20 | 28.80 | 43.50 |
184
+ | Yi-6B-200K | 14.11 | 36.74 | 22.68 | 14.01 | 20.44 | 8.08 | 72.00 | 86.61 | 38.00 | **63.29** |
185
+ | Orion-14B-LongChat | 19.47 | 48.11 | 55.84 | **37.02** | **24.87** | 15.44 | **77.00** | 89.12 | **45.50** | 54.31 |
186
+
187
+
188
+ ## 3.4. Chat RAG Model Benchmarks
189
+ ### 3.4.1. LLM evaluation results of self-built RAG testsets
190
+ |Model|Effectiveness of Response(Keyword)|*Effectiveness of Response(subjective evaluation)|Quoting Ability|Fallback Ability|*AutoQA|*Data Extraction|
191
+ |---------------------|------|------|------|------|------|------|
192
+ | Baichuan2-13B-Chat | 85 | 76 | 1 | 0 | 69 | 51 |
193
+ | Qwen-14B-Chat | 79 | 77 | 75 | 47 | 68 | 72 |
194
+ | Qwen-72B-Chat(Int4) | 87 | 89 | 90 | 32 | 67 | 76 |
195
+ | GPT-4 | 91 | 94 | 96 | 95 | 75 | 86 |
196
+ | Orion-14B-Chat-RAG | 86 | 87 | 91 | 97 | 73 | 71 |
197
+ \* means manual assessment
198
+
199
+ ## 3.5. Chat Plugin Model Orion-14B-Chat-Plugin Benchmarks
200
+ ### 3.5.1. LLM evaluation results of self-built plugin testsets
201
+ |Model |Intent Recognition with Full Params |Intent Recognition with Missing Params |Non-Plugin Invocation Recognition |
202
+ |-----------------------|--------|-----------|--------|
203
+ | Baichuan2-13B-Chat | 25 | 0 | 0 |
204
+ | Qwen-14B-Chat | 55 | 0 | 50 |
205
+ | GPT-4 | **95** | 52.38 | 70 |
206
+ | Orion-14B-Chat-Plugin | 92.5 | **60.32** | **90** |
207
+
208
+ ## 3.6. Quantized Model Orion-14B-Base-Int4 Benchmarks
209
+ ### 3.6.1. Comparison of before and after quantization
210
+ |Model |Size(GB)|Inference Speed(tokens/s)|C-Eval|CMMLU|MMLU|RACE|HellaSwag|
211
+ |-------------------------|-------|-----|------|------|------|------|------|
212
+ | OrionStar-14B-Base | 28.0 | 135 | 72.8 | 70.6 | 70.0 | 93.3 | 78.5 |
213
+ | OrionStar-14B-Base-Int4 | 8.3 | 178 | 71.8 | 69.8 | 69.2 | 93.1 | 78.0 |
214
+
215
+ # 4. Model Inference
216
 
217
  Model weights, source code, and configuration needed for inference are published on Hugging Face, and the download link
218
  is available in the table at the beginning of this document. We demonstrate various inference methods here, and the
219
  program will automatically download the necessary resources from Hugging Face.
220
 
221
+ ## 4.1. Python Code
222
 
223
  ```python
224
  import torch
 
234
  response = model.chat(tokenizer, messages, streaming=False)
235
  print(response)
236
 
 
237
  ```
238
 
239
  In the above Python code, the model is loaded with `device_map='auto'` to utilize all available GPUs. To specify the
240
  device, you can use something like `export CUDA_VISIBLE_DEVICES=0,1` (using GPUs 0 and 1).
241
 
242
+ ## 4.2. Command Line Tool
243
 
244
  ```shell
245
+ CUDA_VISIBLE_DEVICES=0 python cli_demo.py
246
  ```
247
 
248
  This command-line tool is designed for chat scenarios, and thus, it does not support calling the base model.
249
 
250
+ ## 4.3. Direct Script Inference
251
 
252
  ```shell
253
+
254
+ # base model
255
+ CUDA_VISIBLE_DEVICES=0 python demo/text_generation_base.py --model OrionStarAI/Orion-14B --tokenizer OrionStarAI/Orion-14B --prompt hello
256
+
257
+ # chat model
258
+ CUDA_VISIBLE_DEVICES=0 python demo/text_generation.py --model OrionStarAI/Orion-14B-Chat --tokenizer OrionStarAI/Orion-14B-Chat --prompt hi
259
+
260
  ```
261
 
262
+ ## 4.4 Example Output
263
 
264
+ ### 4.4.1. Casual Chat
265
 
266
  `````
267
+ User: Hello
268
+ Orion-14B: Hello! How can I help you today? If you have any questions or need assistance, feel free to ask.
269
  User: What functions do you have?
270
+ Orion-14B: As an AI language model, I have a wide range of functions and capabilities, including but not limited to:
271
+ Answering general knowledge questions: I can provide information on various topics such as history, science, geography, and more.
272
+ Providing definitions and explanations: I can explain complex concepts and provide definitions for words and phrases.
273
+ Assisting with tasks: I can help with simple tasks like setting reminders, converting units of measurement, and even ordering food from restaurants.
274
+ Generating text: I can write short stories, essays, articles, and other types of content based on prompts given to me.
275
+ Translating languages: I can translate text from one language to another.
276
+ Chatting: I can engage in conversation with users and respond to their queries in a conversational manner.
277
+ Summarizing long texts: I can summarize longer texts like articles, books, and research papers.
278
+ Generating random numbers and names: I can generate random numbers within a specified range and also suggest names based on certain criteria.
279
+ Playing games: I can play simple games like Hangman, Trivia, and more.
280
+ Providing recommendations: I can recommend movies, music, books, and other forms of entertainment based on user preferences.
281
+ These are just some of the many functions that I am capable of performing. If you have a specific task in mind, feel free to ask me about it.
282
  User: Tell me a joke.
283
+ Orion-14B: Sure, here's a classic one-liner: Why don't scientists trust atoms? Because they make up everything.
284
  `````
285
 
286
+ ### 4.4.2. Japanese & Korean Chat
287
 
288
  `````
289
+ User:自己を紹介してください
290
+ Orion-14B:こんにちは、私の名前はChatMaxで、OrionStarによって開発されたAIアシスタントです。私はユーザーに正確で、客観的で、有用な回答を提供し、彼らが問題を解決し、情報を取得するのを助けることができます。
291
+ User:자기소개를 해주세요.
292
+ Orion-14B:안녕하세요, 이름은 ChatMax입니다. OrionStar에서 개발한 AI 어시스턴트입니다. 저는 사용자들에게 정확하고 객관적이며 유용한 답변을 제공하여 문제를 해결하고 정보를 얻는 데 도움을 줄 수 있습니다.
 
 
 
 
 
 
293
  `````
294
 
 
 
 
 
 
 
 
 
 
 
 
 
295
 
296
+ # 5. Declarations, License
297
 
298
+ ## 5.1. Declarations
299
 
300
  We strongly urge all users not to use the Orion-14B model for any activities that may harm national or social security or violate the law.
301
  Additionally, we request users not to use the Orion-14B model for internet services without proper security review and filing.
 
306
  issues, public opinion risks, or any risks and issues arising from the model being misled, abused, disseminated, or
307
  improperly utilized, we will not assume any responsibility.
308
 
309
+ ## 5.2. License
310
+
311
+ Community use of the Orion-14B series models
312
+ - For code, please comply with [Apache License Version 2.0](./LICENSE)<br>
313
+ - For model, please comply with [【Orion-14B Series】 Models Community License Agreement](./ModelsCommunityLicenseAgreement)
314
 
 
 
315
 
316
+ # 6. Company Introduction
317
 
318
+ OrionStar is a leading global service robot solutions company, founded in September 2016. OrionStar is dedicated to
319
+ using artificial intelligence technology to create the next generation of revolutionary robots, allowing people to break
320
+ free from repetitive physical labor and making human work and life more intelligent and enjoyable. Through technology,
321
+ OrionStar aims to make society and the world a better place.
322
 
323
+ OrionStar possesses fully self-developed end-to-end artificial intelligence technologies, such as voice interaction and
324
+ visual navigation. It integrates product development capabilities and technological application capabilities. Based on
325
+ the Orion robotic arm platform, it has launched products such as OrionStar AI Robot Greeting, AI Robot Greeting Mini,
326
+ Lucki, Coffee Master, and established the open platform OrionOS for Orion robots. Following the philosophy of "Born for
327
+ Truly Useful Robots", OrionStar empowers more people through AI technology.
328
+
329
+ **The core strengths of OrionStar lies in possessing end-to-end AI application capabilities,** including big data preprocessing, large model pretraining, fine-tuning, prompt engineering, agent, etc. With comprehensive end-to-end model training capabilities, including systematic data processing workflows and the parallel model training capability of hundreds of GPUs, it has been successfully applied in various industry scenarios such as government affairs, cloud services, international e-commerce, and fast-moving consumer goods.
330
+
331
+ Companies with demands for deploying large-scale model applications are welcome to contact us.
332
+ **Enquiry Hotline: 400-898-7779**<br>
333
+ **E-mail: ai@orionstar.com**
334
+
335
+ <div align="center">
336
+ <img src="./assets/imgs/assets_imgs_wechat_group.jpg" alt="wechat" width="40%" />
337
+ </div>