TheBloke commited on
Commit
04502ae
·
1 Parent(s): 4285be1

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +707 -0
README.md ADDED
@@ -0,0 +1,707 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Skywork/Skywork-13B-base
3
+ inference: false
4
+ license: other
5
+ license_link: https://github.com/SkyworkAI/Skywork/blob/main/Skywork%20Community%20License.pdf
6
+ license_name: license
7
+ model_creator: Skywork
8
+ model_name: Skywork 13B Base
9
+ model_type: skywork
10
+ prompt_template: '{prompt}
11
+
12
+ '
13
+ quantized_by: TheBloke
14
+ ---
15
+ <!-- markdownlint-disable MD041 -->
16
+
17
+ <!-- header start -->
18
+ <!-- 200823 -->
19
+ <div style="width: auto; margin-left: auto; margin-right: auto">
20
+ <img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;">
21
+ </div>
22
+ <div style="display: flex; justify-content: space-between; width: 100%;">
23
+ <div style="display: flex; flex-direction: column; align-items: flex-start;">
24
+ <p style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://discord.gg/theblokeai">Chat & support: TheBloke's Discord server</a></p>
25
+ </div>
26
+ <div style="display: flex; flex-direction: column; align-items: flex-end;">
27
+ <p style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://www.patreon.com/TheBlokeAI">Want to contribute? TheBloke's Patreon page</a></p>
28
+ </div>
29
+ </div>
30
+ <div style="text-align:center; margin-top: 0em; margin-bottom: 0em"><p style="margin-top: 0.25em; margin-bottom: 0em;">TheBloke's LLM work is generously supported by a grant from <a href="https://a16z.com">andreessen horowitz (a16z)</a></p></div>
31
+ <hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
32
+ <!-- header end -->
33
+
34
+ # Skywork 13B Base - GPTQ
35
+ - Model creator: [Skywork](https://huggingface.co/Skywork)
36
+ - Original model: [Skywork 13B Base](https://huggingface.co/Skywork/Skywork-13B-base)
37
+
38
+ <!-- description start -->
39
+ ## Description
40
+
41
+ This repo contains GPTQ model files for [Skywork's Skywork 13B Base](https://huggingface.co/Skywork/Skywork-13B-base).
42
+
43
+ Multiple GPTQ parameter permutations are provided; see Provided Files below for details of the options provided, their parameters, and the software used to create them.
44
+
45
+ These files were quantised using hardware kindly provided by [Massed Compute](https://massedcompute.com/).
46
+
47
+ <!-- description end -->
48
+ <!-- repositories-available start -->
49
+ ## Repositories available
50
+
51
+ * [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/Skywork-13B-base-GPTQ)
52
+ * [Skywork's original unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/Skywork/Skywork-13B-base)
53
+ <!-- repositories-available end -->
54
+
55
+ <!-- prompt-template start -->
56
+ ## Prompt template: None
57
+
58
+ ```
59
+ {prompt}
60
+
61
+ ```
62
+
63
+ <!-- prompt-template end -->
64
+
65
+
66
+
67
+ <!-- README_GPTQ.md-compatible clients start -->
68
+ ## Known compatible clients / servers
69
+
70
+ These GPTQ models are known to work in the following inference servers/webuis.
71
+
72
+ - [text-generation-webui](https://github.com/oobabooga/text-generation-webui)
73
+ - [KobaldAI United](https://github.com/henk717/koboldai)
74
+ - [LoLLMS Web UI](https://github.com/ParisNeo/lollms-webui)
75
+ - [Hugging Face Text Generation Inference (TGI)](https://github.com/huggingface/text-generation-inference)
76
+
77
+ This may not be a complete list; if you know of others, please let me know!
78
+ <!-- README_GPTQ.md-compatible clients end -->
79
+
80
+ <!-- README_GPTQ.md-provided-files start -->
81
+ ## Provided files, and GPTQ parameters
82
+
83
+ Multiple quantisation parameters are provided, to allow you to choose the best one for your hardware and requirements.
84
+
85
+ Each separate quant is in a different branch. See below for instructions on fetching from different branches.
86
+
87
+ Most GPTQ files are made with AutoGPTQ. Mistral models are currently made with Transformers.
88
+
89
+ <details>
90
+ <summary>Explanation of GPTQ parameters</summary>
91
+
92
+ - Bits: The bit size of the quantised model.
93
+ - GS: GPTQ group size. Higher numbers use less VRAM, but have lower quantisation accuracy. "None" is the lowest possible value.
94
+ - Act Order: True or False. Also known as `desc_act`. True results in better quantisation accuracy. Some GPTQ clients have had issues with models that use Act Order plus Group Size, but this is generally resolved now.
95
+ - Damp %: A GPTQ parameter that affects how samples are processed for quantisation. 0.01 is default, but 0.1 results in slightly better accuracy.
96
+ - GPTQ dataset: The calibration dataset used during quantisation. Using a dataset more appropriate to the model's training can improve quantisation accuracy. Note that the GPTQ calibration dataset is not the same as the dataset used to train the model - please refer to the original model repo for details of the training dataset(s).
97
+ - Sequence Length: The length of the dataset sequences used for quantisation. Ideally this is the same as the model sequence length. For some very long sequence models (16+K), a lower sequence length may have to be used. Note that a lower sequence length does not limit the sequence length of the quantised model. It only impacts the quantisation accuracy on longer inference sequences.
98
+ - ExLlama Compatibility: Whether this file can be loaded with ExLlama, which currently only supports Llama and Mistral models in 4-bit.
99
+
100
+ </details>
101
+
102
+ | Branch | Bits | GS | Act Order | Damp % | GPTQ Dataset | Seq Len | Size | ExLlama | Desc |
103
+ | ------ | ---- | -- | --------- | ------ | ------------ | ------- | ---- | ------- | ---- |
104
+ | [main](https://huggingface.co/TheBloke/Skywork-13B-base-GPTQ/tree/main) | 4 | 128 | Yes | 0.1 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 8192 | 8.11 GB | No | 4-bit, with Act Order and group size 128g. Uses even less VRAM than 64g, but with slightly lower accuracy. |
105
+ | [gptq-4bit-32g-actorder_True](https://huggingface.co/TheBloke/Skywork-13B-base-GPTQ/tree/gptq-4bit-32g-actorder_True) | 4 | 32 | Yes | 0.1 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 8192 | 8.88 GB | No | 4-bit, with Act Order and group size 32g. Gives highest possible inference quality, with maximum VRAM usage. |
106
+ | [gptq-8bit--1g-actorder_True](https://huggingface.co/TheBloke/Skywork-13B-base-GPTQ/tree/gptq-8bit--1g-actorder_True) | 8 | None | Yes | 0.1 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 8192 | 9.99 GB | No | 8-bit, with Act Order. No group size, to lower VRAM requirements. |
107
+ | [gptq-8bit-128g-actorder_True](https://huggingface.co/TheBloke/Skywork-13B-base-GPTQ/tree/gptq-8bit-128g-actorder_True) | 8 | 128 | Yes | 0.1 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 8192 | 9.94 GB | No | 8-bit, with group size 128g for higher inference quality and with Act Order for even higher accuracy. |
108
+ | [gptq-8bit-32g-actorder_True](https://huggingface.co/TheBloke/Skywork-13B-base-GPTQ/tree/gptq-8bit-32g-actorder_True) | 8 | 32 | Yes | 0.1 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 8192 | 9.96 GB | No | 8-bit, with group size 32g and Act Order for maximum inference quality. |
109
+ | [gptq-4bit-64g-actorder_True](https://huggingface.co/TheBloke/Skywork-13B-base-GPTQ/tree/gptq-4bit-64g-actorder_True) | 4 | 64 | Yes | 0.1 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 8192 | 8.36 GB | No | 4-bit, with Act Order and group size 64g. Uses less VRAM than 32g, but with slightly lower accuracy. |
110
+
111
+ <!-- README_GPTQ.md-provided-files end -->
112
+
113
+ <!-- README_GPTQ.md-download-from-branches start -->
114
+ ## How to download, including from branches
115
+
116
+ ### In text-generation-webui
117
+
118
+ To download from the `main` branch, enter `TheBloke/Skywork-13B-base-GPTQ` in the "Download model" box.
119
+
120
+ To download from another branch, add `:branchname` to the end of the download name, eg `TheBloke/Skywork-13B-base-GPTQ:gptq-4bit-32g-actorder_True`
121
+
122
+ ### From the command line
123
+
124
+ I recommend using the `huggingface-hub` Python library:
125
+
126
+ ```shell
127
+ pip3 install huggingface-hub
128
+ ```
129
+
130
+ To download the `main` branch to a folder called `Skywork-13B-base-GPTQ`:
131
+
132
+ ```shell
133
+ mkdir Skywork-13B-base-GPTQ
134
+ huggingface-cli download TheBloke/Skywork-13B-base-GPTQ --local-dir Skywork-13B-base-GPTQ --local-dir-use-symlinks False
135
+ ```
136
+
137
+ To download from a different branch, add the `--revision` parameter:
138
+
139
+ ```shell
140
+ mkdir Skywork-13B-base-GPTQ
141
+ huggingface-cli download TheBloke/Skywork-13B-base-GPTQ --revision gptq-4bit-32g-actorder_True --local-dir Skywork-13B-base-GPTQ --local-dir-use-symlinks False
142
+ ```
143
+
144
+ <details>
145
+ <summary>More advanced huggingface-cli download usage</summary>
146
+
147
+ If you remove the `--local-dir-use-symlinks False` parameter, the files will instead be stored in the central Hugging Face cache directory (default location on Linux is: `~/.cache/huggingface`), and symlinks will be added to the specified `--local-dir`, pointing to their real location in the cache. This allows for interrupted downloads to be resumed, and allows you to quickly clone the repo to multiple places on disk without triggering a download again. The downside, and the reason why I don't list that as the default option, is that the files are then hidden away in a cache folder and it's harder to know where your disk space is being used, and to clear it up if/when you want to remove a download model.
148
+
149
+ The cache location can be changed with the `HF_HOME` environment variable, and/or the `--cache-dir` parameter to `huggingface-cli`.
150
+
151
+ For more documentation on downloading with `huggingface-cli`, please see: [HF -> Hub Python Library -> Download files -> Download from the CLI](https://huggingface.co/docs/huggingface_hub/guides/download#download-from-the-cli).
152
+
153
+ To accelerate downloads on fast connections (1Gbit/s or higher), install `hf_transfer`:
154
+
155
+ ```shell
156
+ pip3 install hf_transfer
157
+ ```
158
+
159
+ And set environment variable `HF_HUB_ENABLE_HF_TRANSFER` to `1`:
160
+
161
+ ```shell
162
+ mkdir Skywork-13B-base-GPTQ
163
+ HF_HUB_ENABLE_HF_TRANSFER=1 huggingface-cli download TheBloke/Skywork-13B-base-GPTQ --local-dir Skywork-13B-base-GPTQ --local-dir-use-symlinks False
164
+ ```
165
+
166
+ Windows Command Line users: You can set the environment variable by running `set HF_HUB_ENABLE_HF_TRANSFER=1` before the download command.
167
+ </details>
168
+
169
+ ### With `git` (**not** recommended)
170
+
171
+ To clone a specific branch with `git`, use a command like this:
172
+
173
+ ```shell
174
+ git clone --single-branch --branch gptq-4bit-32g-actorder_True https://huggingface.co/TheBloke/Skywork-13B-base-GPTQ
175
+ ```
176
+
177
+ Note that using Git with HF repos is strongly discouraged. It will be much slower than using `huggingface-hub`, and will use twice as much disk space as it has to store the model files twice (it stores every byte both in the intended target folder, and again in the `.git` folder as a blob.)
178
+
179
+ <!-- README_GPTQ.md-download-from-branches end -->
180
+ <!-- README_GPTQ.md-text-generation-webui start -->
181
+ ## How to easily download and use this model in [text-generation-webui](https://github.com/oobabooga/text-generation-webui)
182
+
183
+ Please make sure you're using the latest version of [text-generation-webui](https://github.com/oobabooga/text-generation-webui).
184
+
185
+ It is strongly recommended to use the text-generation-webui one-click-installers unless you're sure you know how to make a manual install.
186
+
187
+ 1. Click the **Model tab**.
188
+ 2. Under **Download custom model or LoRA**, enter `TheBloke/Skywork-13B-base-GPTQ`.
189
+
190
+ - To download from a specific branch, enter for example `TheBloke/Skywork-13B-base-GPTQ:gptq-4bit-32g-actorder_True`
191
+ - see Provided Files above for the list of branches for each option.
192
+
193
+ 3. Click **Download**.
194
+ 4. The model will start downloading. Once it's finished it will say "Done".
195
+ 5. In the top left, click the refresh icon next to **Model**.
196
+ 6. In the **Model** dropdown, choose the model you just downloaded: `Skywork-13B-base-GPTQ`
197
+ 7. The model will automatically load, and is now ready for use!
198
+ 8. If you want any custom settings, set them and then click **Save settings for this model** followed by **Reload the Model** in the top right.
199
+
200
+ - Note that you do not need to and should not set manual GPTQ parameters any more. These are set automatically from the file `quantize_config.json`.
201
+
202
+ 9. Once you're ready, click the **Text Generation** tab and enter a prompt to get started!
203
+
204
+ <!-- README_GPTQ.md-text-generation-webui end -->
205
+
206
+ <!-- README_GPTQ.md-use-from-tgi start -->
207
+ ## Serving this model from Text Generation Inference (TGI)
208
+
209
+ It's recommended to use TGI version 1.1.0 or later. The official Docker container is: `ghcr.io/huggingface/text-generation-inference:1.1.0`
210
+
211
+ Example Docker parameters:
212
+
213
+ ```shell
214
+ --model-id TheBloke/Skywork-13B-base-GPTQ --port 3000 --quantize gptq --max-input-length 3696 --max-total-tokens 4096 --max-batch-prefill-tokens 4096
215
+ ```
216
+
217
+ Example Python code for interfacing with TGI (requires huggingface-hub 0.17.0 or later):
218
+
219
+ ```shell
220
+ pip3 install huggingface-hub
221
+ ```
222
+
223
+ ```python
224
+ from huggingface_hub import InferenceClient
225
+
226
+ endpoint_url = "https://your-endpoint-url-here"
227
+
228
+ prompt = "Tell me about AI"
229
+ prompt_template=f'''{prompt}
230
+ '''
231
+
232
+ client = InferenceClient(endpoint_url)
233
+ response = client.text_generation(prompt,
234
+ max_new_tokens=128,
235
+ do_sample=True,
236
+ temperature=0.7,
237
+ top_p=0.95,
238
+ top_k=40,
239
+ repetition_penalty=1.1)
240
+
241
+ print(f"Model output: {response}")
242
+ ```
243
+ <!-- README_GPTQ.md-use-from-tgi end -->
244
+ <!-- README_GPTQ.md-use-from-python start -->
245
+ ## How to use this GPTQ model from Python code
246
+
247
+ ### Install the necessary packages
248
+
249
+ Requires: Transformers 4.33.0 or later, Optimum 1.12.0 or later, and AutoGPTQ 0.4.2 or later.
250
+
251
+ ```shell
252
+ pip3 install transformers optimum
253
+ pip3 install auto-gptq --extra-index-url https://huggingface.github.io/autogptq-index/whl/cu118/ # Use cu117 if on CUDA 11.7
254
+ ```
255
+
256
+ If you have problems installing AutoGPTQ using the pre-built wheels, install it from source instead:
257
+
258
+ ```shell
259
+ pip3 uninstall -y auto-gptq
260
+ git clone https://github.com/PanQiWei/AutoGPTQ
261
+ cd AutoGPTQ
262
+ git checkout v0.4.2
263
+ pip3 install .
264
+ ```
265
+
266
+ ### You can then use the following code
267
+
268
+ ```python
269
+ from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
270
+
271
+ model_name_or_path = "TheBloke/Skywork-13B-base-GPTQ"
272
+ # To use a different branch, change revision
273
+ # For example: revision="gptq-4bit-32g-actorder_True"
274
+ model = AutoModelForCausalLM.from_pretrained(model_name_or_path,
275
+ device_map="auto",
276
+ trust_remote_code=True,
277
+ revision="main")
278
+
279
+ tokenizer = AutoTokenizer.from_pretrained(model_name_or_path, use_fast=True)
280
+
281
+ prompt = "Tell me about AI"
282
+ prompt_template=f'''{prompt}
283
+ '''
284
+
285
+ print("\n\n*** Generate:")
286
+
287
+ input_ids = tokenizer(prompt_template, return_tensors='pt').input_ids.cuda()
288
+ output = model.generate(inputs=input_ids, temperature=0.7, do_sample=True, top_p=0.95, top_k=40, max_new_tokens=512)
289
+ print(tokenizer.decode(output[0]))
290
+
291
+ # Inference can also be done using transformers' pipeline
292
+
293
+ print("*** Pipeline:")
294
+ pipe = pipeline(
295
+ "text-generation",
296
+ model=model,
297
+ tokenizer=tokenizer,
298
+ max_new_tokens=512,
299
+ do_sample=True,
300
+ temperature=0.7,
301
+ top_p=0.95,
302
+ top_k=40,
303
+ repetition_penalty=1.1
304
+ )
305
+
306
+ print(pipe(prompt_template)[0]['generated_text'])
307
+ ```
308
+ <!-- README_GPTQ.md-use-from-python end -->
309
+
310
+ <!-- README_GPTQ.md-compatibility start -->
311
+ ## Compatibility
312
+
313
+ The files provided are tested to work with Transformers. For non-Mistral models, AutoGPTQ can also be used directly.
314
+
315
+ [ExLlama](https://github.com/turboderp/exllama) is compatible with Llama and Mistral models in 4-bit. Please see the Provided Files table above for per-file compatibility.
316
+
317
+ For a list of clients/servers, please see "Known compatible clients / servers", above.
318
+ <!-- README_GPTQ.md-compatibility end -->
319
+
320
+ <!-- footer start -->
321
+ <!-- 200823 -->
322
+ ## Discord
323
+
324
+ For further support, and discussions on these models and AI in general, join us at:
325
+
326
+ [TheBloke AI's Discord server](https://discord.gg/theblokeai)
327
+
328
+ ## Thanks, and how to contribute
329
+
330
+ Thanks to the [chirper.ai](https://chirper.ai) team!
331
+
332
+ Thanks to Clay from [gpus.llm-utils.org](llm-utils)!
333
+
334
+ I've had a lot of people ask if they can contribute. I enjoy providing models and helping people, and would love to be able to spend even more time doing it, as well as expanding into new projects like fine tuning/training.
335
+
336
+ If you're able and willing to contribute it will be most gratefully received and will help me to keep providing more models, and to start work on new AI projects.
337
+
338
+ Donaters will get priority support on any and all AI/LLM/model questions and requests, access to a private Discord room, plus other benefits.
339
+
340
+ * Patreon: https://patreon.com/TheBlokeAI
341
+ * Ko-Fi: https://ko-fi.com/TheBlokeAI
342
+
343
+ **Special thanks to**: Aemon Algiz.
344
+
345
+ **Patreon special mentions**: Brandon Frisco, LangChain4j, Spiking Neurons AB, transmissions 11, Joseph William Delisle, Nitin Borwankar, Willem Michiel, Michael Dempsey, vamX, Jeffrey Morgan, zynix, jjj, Omer Bin Jawed, Sean Connelly, jinyuan sun, Jeromy Smith, Shadi, Pawan Osman, Chadd, Elijah Stavena, Illia Dulskyi, Sebastain Graf, Stephen Murray, terasurfer, Edmond Seymore, Celu Ramasamy, Mandus, Alex, biorpg, Ajan Kanaga, Clay Pascal, Raven Klaugh, 阿明, K, ya boyyy, usrbinkat, Alicia Loh, John Villwock, ReadyPlayerEmma, Chris Smitley, Cap'n Zoog, fincy, GodLy, S_X, sidney chen, Cory Kujawski, OG, Mano Prime, AzureBlack, Pieter, Kalila, Spencer Kim, Tom X Nguyen, Stanislav Ovsiannikov, Michael Levine, Andrey, Trailburnt, Vadim, Enrico Ros, Talal Aujan, Brandon Phillips, Jack West, Eugene Pentland, Michael Davis, Will Dee, webtim, Jonathan Leane, Alps Aficionado, Rooh Singh, Tiffany J. Kim, theTransient, Luke @flexchar, Elle, Caitlyn Gatomon, Ari Malik, subjectnull, Johann-Peter Hartmann, Trenton Dambrowitz, Imad Khwaja, Asp the Wyvern, Emad Mostaque, Rainer Wilmers, Alexandros Triantafyllidis, Nicholas, Pedro Madruga, SuperWojo, Harry Royden McLaughlin, James Bentley, Olakabola, David Ziegler, Ai Maven, Jeff Scroggin, Nikolai Manek, Deo Leter, Matthew Berman, Fen Risland, Ken Nordquist, Manuel Alberto Morcote, Luke Pendergrass, TL, Fred von Graf, Randy H, Dan Guido, NimbleBox.ai, Vitor Caleffi, Gabriel Tamborski, knownsqashed, Lone Striker, Erik Bjäreholt, John Detwiler, Leonard Tan, Iucharbius
346
+
347
+
348
+ Thank you to all my generous patrons and donaters!
349
+
350
+ And thank you again to a16z for their generous grant.
351
+
352
+ <!-- footer end -->
353
+
354
+ # Original model card: Skywork's Skywork 13B Base
355
+
356
+
357
+ <!-- <div align="center">
358
+ <h1>
359
+ ✨Skywork
360
+ </h1>
361
+ </div> -->
362
+ <div align="center"><img src="misc/skywork_logo.jpeg" width="550"/></div>
363
+
364
+ <p align="center">
365
+ 👨‍💻 <a href="https://github.com/SkyworkAI/Skywork" target="_blank">Github</a> • 🤗 <a href="https://huggingface.co/Skywork" target="_blank">Hugging Face</a>• 🤖 <a href="https://modelscope.cn/organization/Skywork" target="_blank">ModelScope</a> • 💬 <a href="https://github.com/SkyworkAI/Skywork/blob/main/misc/wechat.png?raw=true" target="_blank">WeChat</a>• 📜<a href="http://arxiv.org/abs/2310.19341" target="_blank">Tech Report</a>
366
+
367
+ </p>
368
+
369
+
370
+
371
+
372
+ <div align="center">
373
+
374
+
375
+ [🎉天工在线对话平台已正式向公众开放](https://sso.tiangong.cn/?redirect=https://model-platform.tiangong.cn/overview&client_id=200005)
376
+
377
+ </div>
378
+
379
+
380
+
381
+ <div align="center">
382
+
383
+
384
+ [![GitHub Stars](https://img.shields.io/github/stars/SkyworkAI/Skywork)](https://github.com/SkyworkAI/Skywork/stargazers)
385
+ [![GitHub Forks](https://img.shields.io/github/forks/SkyworkAI/Skywork)](https://github.com/SkyworkAI/Skywork/fork)
386
+ </div>
387
+
388
+
389
+
390
+ # 模型介绍(Introduction)
391
+ **Skywork-13B-Base**模型在高质量清洗过滤的3.2万亿个多语言(主要是中文和英文)和代码数据上进行预训练,它在多种评测和各种基准测试上都展现了同等规模模型的最佳效果。
392
+
393
+ **Skywork-13B-Base**: The model was trained on a high-quality cleaned dataset consisting of 3.2 trillion multilingual data (mainly Chinese and English) and code. It has demonstrated the best performance among models of similar scale in various evaluations and benchmark tests.
394
+
395
+
396
+ 如果您希望了解更多的信息,如训练方案,评估方法,请参考我们的[技术报告](http://arxiv.org/abs/2310.19341),[Skymath](https://arxiv.org/abs/2310.16713)论文,[SkyworkMM](https://github.com/will-singularity/Skywork-MM/blob/main/skywork_mm.pdf)论文。
397
+
398
+ If you are interested in more training and evaluation details, please refer to our [technical report](http://arxiv.org/abs/2310.19341), [Skymath]((https://arxiv.org/skywork-tech-report)) paper and [SkyworkMM](https://github.com/will-singularity/Skywork-MM/blob/main/skywork_mm.pdf) paper.
399
+
400
+ ## 训练数据(Training Data)
401
+ 我们精心搭建了数据清洗流程对文本中的低质量数据、有害信息、敏感信息进行清洗过滤。我们的Skywork-13B-Base模型是在清洗后的3.2TB高质量中、英、代码数据上进行训练,其中英文占比52.2%,中文占比39.6%,代码占比8%,在兼顾中文和英文上的表现的同时,代码能力也能有保证。
402
+
403
+ We have developed a data cleaning pipeline with great care to effectively clean and filter low-quality data and eliminate harmful information from text data. Our Skywork-13B-Base model is trained on a dataset with 3.2TB tokens that consists of high-quality Chinese, English, and code data, all of which have been thoroughly cleaned. The English data comprises 52.2% of the dataset, the Chinese data accounts for 39.6%, and the code data makes up 8%. This comprehensive approach ensures optimal performance for both Chinese and English while also maintaining the ability to handle code.
404
+
405
+ | | Category | Percentage |
406
+ |-------------|------------------|------------|
407
+ | **English** | Webpages | 39.8% |
408
+ | | Books | 3.6% |
409
+ | | Academic Papers | 3.0% |
410
+ | | Encyclopedia | 0.5% |
411
+ | | Miscellany | 2.9% |
412
+ | **Chinese** | Webpages | 30.4% |
413
+ | | Social Media | 5.5% |
414
+ | | Encyclopedia | 0.8% |
415
+ | | Miscellany | 3.1% |
416
+ | **Other Lang.** | Encyclopedia | 2.4% |
417
+ | **Code** | Github | 8.0% |
418
+
419
+
420
+
421
+
422
+
423
+ ## 模型结构(Model Structure)
424
+ 与Llama-2-13B模型对比,天工Skywork-13B模型采用相对更加瘦长的网络结构,层数为52层,同时将FFN Dim和Hidden Dim缩小到12288和4608,从而保证模型参数量和原始Llama-2-13B模型相当。根据我们前期实验对比,相对瘦长的网络结构在大Batch Size训练下可以取得更好的泛化效果。Skywork-13B和Llama-2-13B模型的对比如下:
425
+
426
+ Compared to the Llama2-13B model, the Skywork-13B model adopts a relatively thinner and deeper network structure with 52 layers. At the same time, the FFN Dim and Hidden Dim are reduced to 12288 and 4608, respectively, to ensure that the model has a similar number of parameters as the original Llama-13B model. Based on our preliminary experimental results, a relatively thinner and deeper network structure can achieve better generalization performance under large batch size training. The detailed comparison between the Skywork-13B and Llama-2-13B models is as follows:
427
+
428
+ | Model Structure | Llama2-13B | Skywork-13B |
429
+ |----------------------|:----:|:-----------:|
430
+ | Vocab. Size | 32,000 | 65,536 |
431
+ | Hidden Dim. | 5,120 | 4,608 |
432
+ | FFN Dim. | 13,696 | 12,288 |
433
+ | Head Dim. | 128 | 128 |
434
+ | Num. Heads | 40 | 36 |
435
+ | Num. Layers | 40 | 52 |
436
+ | Seq. Len. | 4,096 | 4,096 |
437
+ | Positional Embedding | RoPE | RoPE |
438
+
439
+
440
+ ## 分词器(Tokenizer)
441
+ 我们使用Byte-Pair Encoding(BPE)对数据进行分词,词表大小为65536,其中拉丁字符和子词为32000个,汉字和Unicode符号8000个,汉语词语25519个,剩下的17个为保留字。
442
+
443
+ We use Byte-Pair Encoding (BPE) to tokenize the data, with a vocabulary size of 65536. Among them, there are 32000 Latin characters and subwords, 8000 Chinese characters and Unicode symbols, 25519 Chinese words, and the remaining 17 are reserved words.
444
+
445
+
446
+ | Category | Size |
447
+ |---------------------------------|--------|
448
+ | Latin based words & subwords | 32000 |
449
+ | Chinese characters & Unicode symbols | 8000 |
450
+ | Chinese words | 25519 |
451
+ | Reserved symbols | 17 |
452
+ | **Total** | **65536** |
453
+
454
+
455
+ # 模型评估(Evaluation)
456
+ ## 领域数据困惑度评估(Perplexity Evaluaiton)
457
+ 语言模型训练的本质上是让预测下一个词更准确。基于这个认知,我们认为评估基础大模型一个重要的方式是评估在各大领域上语言模型生成文章的概率。在模型训练中预测下一个词的概率一般使用Cross Entropy损失函数,整体的损失函数为每个位置预测真实词损失的平均,则有:
458
+
459
+ $$loss = \sum^{n}_{i=1} log(p_i) / n = log( \prod_{i=1}^n p_i) / n$$
460
+
461
+ 其中$n$是文档的长度,即token数,$p_i$是位置i上真实词的概率,我们知道文档中每一个位置上真实词的概率的联乘则为生成该文档的概率,如此我们就将loss和生成文章的概率联系在了一起。而不同模型因为使用的分词器不同,具有不同的token数,因此对损失函数乘以token数目$n$,这样就仅考虑生成文章的概率部分,不同模型也可以进行比较。我们将标准化后loss取指数转换成perplexity,使得模型的差异更加可读。为了阅读方便后续提到的loss和ppl为模型标准化后的loss和perplexity。
462
+
463
+ 基于上述分析,我们对对多个领域筛选出2023年9月份新发布的几百到上千篇高质量文章,并人工进行了核对。保证所有的测试数据不在天工模型以及其他所有模型的训练集中,并且测试数据的来源也足够广泛,质量也高。我们可以选取当前最新的文章评测不同模型的ppl,模型很难作弊。
464
+ 下图列出了不同开源模型,天工Skywork-13B-Base取得最优效果,证明了我们的Base模型的基础能力处于国内开源模型中文最强水平。
465
+
466
+ We have chosen several hundred to thousands of high-quality articles that were published after September 1, 2023 across various fields. We have manually verified these articles to ensure their quality. It is important to note that none of the test data used in evaluating the Skywork model or any other models is included in their training set. Furthermore, the test data is diverse and of high quality, making it challenging for the models to gain an unfair advantage.
467
+
468
+ The figure below displays the performance of different open source models. Skywork-13B-Base achieves the best results.
469
+
470
+ | | Tech | Movie | Gov. | Game | Finance | General | Average |
471
+ |------------------|-------|-------|-------|-------|---------|---------|---------|
472
+ | MOSS-7B | 20.83 | 39.66 | 11.08 | 31.24 | 10.59 | 13.25 | 18.50 |
473
+ | InternLM-7B | 13.43 | 24.90 | 5.88 | 19.78 | 6.17 | 8.10 | 11.17 |
474
+ | Qwen-7B | 13.39 | 25.16 | 5.55 | 19.26 | 5.76 | 7.78 | 10.83 |
475
+ | Baichuan2-7B | 12.89 | 23.26 | 5.34 | 18.36 | 5.68 | 7.62 | 10.41 |
476
+ | LLaMA2-13B | 23.26 | 50.66 | 18.09 | 32.52 | 14.85 | 16.55 | 23.54 |
477
+ | Xverse-13B | 12.55 | 23.49 | 5.20 | 17.69 | 5.54 | 7.46 | 10.19 |
478
+ | Baichuan-13B | 12.38 | 22.46 | 5.21 | 17.59 | 5.42 | 7.37 | 10.03 |
479
+ | Baichuan2-13B | 12.14 | 21.85 | 5.05 | 17.15 | 5.35 | 7.24 | 9.81 |
480
+ | Qwen-14B | 11.90 | 22.43 | 4.89 | **16.94** | 5.24 | 7.03 | 9.67 |
481
+ | InternLM-20B | 12.34 | 22.06 | 5.75 | 17.45 | 5.73 | 7.78 | 10.34 |
482
+ | Aquila2-34B | 14.62 | 29.09 | 5.72 | 21.78 | 5.83 | 8.45 | 11.73 |
483
+ | Skywork-13B-Base | **11.58** | **21.84** | **4.76** | 17.28 | **4.92** | **6.82** | **9.42** |
484
+
485
+ ### 评测数据和评测脚本(Loss Evaluation)
486
+ 我们将评测数据和评测脚本也进行了开源,下载github上的代码运行下面命令则可以复现我们的结果。
487
+
488
+ We have also open-sourced the data and evaluation scripts. You can reproduce our results by running the following command.
489
+
490
+ ```
491
+ bash bash_scripts/skywork_eval_loss.sh
492
+ ```
493
+
494
+ ## Benchmark评估(Benchmark Results)
495
+ 我们评估了各大权威评测benchmark上的结果作为参考,包括C-Eval,MMLU,CMMLU,GSM8K。遵循之前的评估流程,C-Eval、MMLU、CMMLU测试5-shot结果,GSM8K测试8-shot结果。可以看到Skywork-13B-Base模型在中文开源模型中处于前列,在同等参数规模下为最优水平。
496
+
497
+ We evaluated Skywork-13B-Base on several popular benchmarks, including C-Eval, MMLU, CMMLU, and GSM8K. Following the previous evaluation process, we tested the 5-shot results of C-Eval, MMLU, and CMMLU, and the 8-shot results of GSM8K. It can be seen that the Skywork-13B-Base model is among the top models in the Chinese open source model community, performing at an optimal level with the same parameter scale.
498
+
499
+ | Model | C-Eval | CMMLU | MMLU | GSM8K |
500
+ |-------------------------|:-----:|:---------------:|:----------:|:-------:|
501
+ | LLaMA-1-13B-Base | 35.5 | 31.2 | 46.9 | 17.8 |
502
+ | Open-LLaMA-13B | 27.1 | 26.7 | 42.7 | 12.4 |
503
+ | LLaMA-2-13B-Base | 36.5 | 36.6 | 54.8 | 28.7 |
504
+ | InternLM-20B | 58.8 | - | 62.0 | 52.6 |
505
+ | Qwen-14B-Base | 72.1 | 71.0 | 66.3 | 61.3 |
506
+ | Aquila2-34B-Base | 63.1 | 71.4 | 64.2 | 58.4 |
507
+ | XVERSE-13B-Base | 54.7 | - | 55.1 | - |
508
+ | Baichuan-13B-Base | 52.4 | 55.3 | 51.6 | 26.6 |
509
+ | Baichuan-2-13B-Base | 58.1 | 62.0 | 59.2 | 52.3 |
510
+ | Skywork-13B-Base (ours) | 60.6 | 61.8 | 62.1 | 55.8 |
511
+
512
+
513
+ ## Benchmark评估详细结果
514
+ 我们给出**Skywork-13B-Base**模型在C-Eval,CMMLU,MMLU上模型的详��结果。
515
+
516
+ We provide detailed results of the Skywork-13B-Base model on C-EVAL, CMMLU, and MMLU.
517
+
518
+ | Benchmark | **STEM** | **Humanities** | **Social Science** | **Other** | **China Specific** | **Hard** | **Average** |
519
+ |:-----:|:---------:|:--------:|:-------------:|:--------:|:--------:|:--------:|:--------:|
520
+ | **C-EVAL** | 51.2 | 67.8 | 74.6 | 57.5 | - | 39.4 | 60.6 |
521
+ | **CMMLU** | 49.5 | 69.3 | 65.9 | 63.3 | 64.2 | - | 61.8 |
522
+ | **MMLU** | 51.6 | 58.0 | 72.5 | 68.8 | - | - | 62.1 |
523
+
524
+
525
+ # 快速开始(Quickstart)
526
+ 我们将模型参数、配置文件、tokenizer等在huggingface和modelscope上进行了开源。
527
+
528
+ We have open-sourced the model parameters, configuration files, tokenizer, and more on Huggingface and Modelscope.
529
+
530
+ ## 依赖安装(Requirements)
531
+ - Python 3.8及以上版本
532
+ - Pytorch 2.0及以上版本
533
+ - CUDA建议使用11.4以上版本。
534
+
535
+ Skywork-13B-Base模型,Skywork-13B-Chat模型和Skywork-13B-Math模型运行下面的脚本进行Python依赖安装。
536
+
537
+ - Python 3.8 and above
538
+ - Pytorch 2.0 and above
539
+ - CUDA 11.4 and above are recommended.
540
+
541
+ Skywork-13B-Base model, Skywork-13B-Chat model, and Skywork-13B-Math model run the following script for Python dependency installation:
542
+
543
+ ```shell
544
+ pip install -r requirements.txt
545
+ ```
546
+ ## Huggingface模型测试(Demonstration)
547
+
548
+
549
+ ### Base 模型推理(Base Model Inference)
550
+
551
+ ```python
552
+
553
+ >>> from transformers import AutoModelForCausalLM, AutoTokenizer
554
+ >>> from transformers.generation import GenerationConfig
555
+ >>> import torch
556
+
557
+ >>> tokenizer = AutoTokenizer.from_pretrained("SkyworkAI/Skywork-13B-Base", trust_remote_code=True)
558
+ >>> model = AutoModelForCausalLM.from_pretrained("SkyworkAI/Skywork-13B-Base", device_map="auto", trust_remote_code=True).eval()
559
+
560
+ >>> inputs = tokenizer('陕西的省会是西安', return_tensors='pt').to(model.device)
561
+ >>> response = model.generate(inputs.input_ids, max_length=128)
562
+ >>> print(tokenizer.decode(response.cpu()[0], skip_special_tokens=True))
563
+ 陕西的省会是西安,西安是我国著名的古都,在历史上有十三个朝代在此建都,所以西安又被称为“十三朝古都”。西安是我国著名的旅游城市,每年都有大量的游客来到西安旅游,西安的旅游资源非常丰富,有很多著名的旅游景点,比如秦始皇兵马俑、大雁塔、华清池、大唐芙蓉园、西安城墙、大明宫国家遗址公园、西安碑林博物馆、西安钟楼、西安鼓楼、西安半坡博物馆、西安大兴善寺、西安小雁塔
564
+
565
+
566
+ >>> inputs = tokenizer('陕西的省会是西安,甘肃的省会是兰州,河南的省会是郑州', return_tensors='pt').to(model.device)
567
+ >>> response = model.generate(inputs.input_ids, max_length=128)
568
+ >>> print(tokenizer.decode(response.cpu()[0], skip_special_tokens=True))
569
+ 陕西的省会是西安,甘肃的省会是兰州,河南的省会是郑州,湖北的省会是武汉,湖南的省会是长沙,江西的省会是南昌,安徽的省会是合肥,江苏的省会是南京,浙江的省会是杭州,福建的省会是福州,广东的省会是广州,广西的省会是南宁,海南的省会是海口,四川的省会是成都,贵州的省会是贵阳,云南的省会是昆明,西藏的省会是拉萨,青海的省会是西宁,宁夏的省会是银川,新疆的省会是乌鲁木齐。
570
+
571
+
572
+ ```
573
+
574
+ # 模型微调(Fine-tuning)
575
+ ## 全量微调(Full-parameter Fine-tuning)
576
+ 使用Skywork-13B-Base模型进行预训练微调
577
+ ```bash
578
+ ## preprocess continue pretraining data
579
+ ## Because pre-training data is usually large, we use a script to process the training data separately.
580
+ python train/pt_data_preprocess.py \
581
+ -t $MODEL_PATH \
582
+ -i data/pt_train.jsonl \
583
+ -o data_cache/pt_train_demo
584
+
585
+ ## launch training
586
+ export WANDB_API_KEY=YOUR_WANDB_KEY
587
+ export WANDB_ENTITY=skywork
588
+ export WANDB_PROJECT=skywork-13b-opensource
589
+
590
+ export MODEL_PATH=skywork-13b-models/skywork-13b-base
591
+ export DATA_CACHE_DIR=data_cache/pt_train_demo/pt_train
592
+ bash bash_scripts/skywork_13b_pt.sh
593
+
594
+ ```
595
+ 使用Skywork-13B-Base模型进行有监督微调(SFT, Supevise Fine-tuning)
596
+
597
+ ```bash
598
+ ## preprocess data and launch training
599
+ export WANDB_API_KEY=YOUR_WANDB_KEY
600
+ export WANDB_ENTITY=skywork
601
+ export WANDB_PROJECT=skywork-13b-opensource
602
+
603
+ export SFT_DATA_DIR=data/sft_data
604
+ export DATA_CACHE_DIR=data_cache/sft_train_demo
605
+ bash bash_scripts/skywork_13b_sft.sh
606
+
607
+
608
+ ```
609
+
610
+ ## LoRA微调(PEFT)
611
+ 使用Skywork-13B-Base模型以及LoRA进行预训练微调
612
+ ```bash
613
+ ## preprocess continue pretraining data
614
+ ## Because pre-training data is usually large, we use a script to process the training data separately.
615
+ python train/pt_data_preprocess.py \
616
+ -t $MODEL_PATH \
617
+ -i data/pt_train.jsonl \
618
+ -o data_cache/pt_train_demo
619
+
620
+
621
+ export WANDB_API_KEY=YOUR_WANDB_KEY
622
+ export WANDB_ENTITY=skywork
623
+ export WANDB_PROJECT=skywork-13b-opensource
624
+
625
+ export MODEL_PATH=skywork-13b-models/skywork-13b-base
626
+ export DATA_CACHE_DIR=data_cache/pt_train_demo/pt_train
627
+ bash bash_scripts/skywork_13b_pt_lora.sh
628
+
629
+ ```
630
+
631
+ 使用Skywork-13B-Base模型以及LoRA进行有监督微调(SFT, Supevise Fine-tuning)
632
+
633
+ ```bash
634
+
635
+
636
+ export WANDB_API_KEY=YOUR_WANDB_KEY
637
+ export WANDB_ENTITY=skywork
638
+ export WANDB_PROJECT=skywork-13b-opensource
639
+
640
+ export SFT_DATA_DIR=data/sft_data
641
+ export DATA_CACHE_DIR=data_cache/sft_train_demo
642
+ bash bash_scripts/skywork_13b_sft_lora.sh
643
+
644
+ ```
645
+ # 声明和协议(Declaration and License Agreement)
646
+
647
+
648
+ ## 声明(Declaration)
649
+
650
+ 我们在此声明,不要利用Skywork模型进行任何危害国家社会安全或违法的活动。另外,我们也要求使用者不要将 Skywork 模型用于未经适当安全审查和备案的互联网服务。我们希望所有的使用者都能遵守这个原则,确保科技的发展能在规范和合法的环境下进行。
651
+
652
+ 我们已经尽我们所能,来确保模型训练过程中使用的数据的合规性。然而,尽管我们已经做出了巨大的努力,但由于模型和数据的复杂性,仍有可能存在一些无法预见的问题。因此,如果由于使用skywork开源模型而导致的任何问题,包括但不限于数据安全问题、公共舆论风险,或模型被误导、滥用、传播或不当利用所带来的任何风险和问题,我们将不承担任何责任。
653
+
654
+ We hereby declare that the Skywork model should not be used for any activities that pose a threat to national or societal security or engage in unlawful actions. Additionally, we request users not to deploy the Skywork model for internet services without appropriate security reviews and records. We hope that all users will adhere to this principle to ensure that technological advancements occur in a regulated and lawful environment.
655
+
656
+ We have done our utmost to ensure the compliance of the data used during the model's training process. However, despite our extensive efforts, due to the complexity of the model and data, there may still be unpredictable risks and issues. Therefore, if any problems arise as a result of using the Skywork open-source model, including but not limited to data security issues, public opinion risks, or any risks and problems arising from the model being misled, abused, disseminated, or improperly utilized, we will not assume any responsibility.
657
+
658
+ ## 协议(License Agreement)
659
+
660
+ 社区使用Skywork模型需要遵循[《Skywork 模型社区许可协议》](https://github.com/SkyworkAI/Skywork/blob/main/Skywork%20模型社区许可协议.pdf)。Skywork模型支持商业用途,如果您计划将Skywork模型或其衍生品用于商业目的,无需再次申请, 但请您仔细阅读[《Skywork 模型社区许可协议》](https://github.com/SkyworkAI/Skywork/blob/main/Skywork%20模型社区许可协议.pdf)并严格遵守相关条款。
661
+
662
+
663
+ The community usage of Skywork model requires [Skywork Community License](https://github.com/SkyworkAI/Skywork/blob/main/Skywork%20Community%20License.pdf). The Skywork model supports commercial use. If you plan to use the Skywork model or its derivatives for commercial purposes, you must abide by terms and conditions within [Skywork Community License](https://github.com/SkyworkAI/Skywork/blob/main/Skywork%20Community%20License.pdf).
664
+
665
+
666
+
667
+ [《Skywork 模型社区许可协议》》]:https://github.com/SkyworkAI/Skywork/blob/main/Skywork%20模型社区许可协议.pdf
668
+
669
+
670
671
+
672
+ # 引用和联系我们(Contact Us and Citation)
673
+ 如果您觉得我们的工作对您有帮助,欢迎引用我们的论文~
674
+
675
+ If you find our work helpful, please feel free to cite our paper~
676
+ ```
677
+ @misc{wei2023skywork,
678
+ title={Skywork: A More Open Bilingual Foundation Model},
679
+ author={Tianwen Wei and Liang Zhao and Lichang Zhang and Bo Zhu and Lijie Wang and Haihua Yang and Biye Li and Cheng Cheng and Weiwei Lü and Rui Hu and Chenxia Li and Liu Yang and Xilin Luo and Xuejie Wu and Lunan Liu and Wenjun Cheng and Peng Cheng and Jianhao Zhang and Xiaoyu Zhang and Lei Lin and Xiaokun Wang and Yutuan Ma and Chuanhai Dong and Yanqi Sun and Yifu Chen and Yongyi Peng and Xiaojuan Liang and Shuicheng Yan and Han Fang and Yahui Zhou},
680
+ year={2023},
681
+ eprint={2310.19341},
682
+ archivePrefix={arXiv},
683
+ primaryClass={cs.CL}
684
+ }
685
+ ```
686
+
687
+ ```
688
+ @article{skyworkmath,
689
+ title={SkyMath: Technical Report},
690
+ author={Liu Yang, Haihua Yang, Wenjun Cheng, Lei Lin, Chenxia Li, Yifu Chen, Lunan Liu, Jianfei Pan, Tianwen Wei, Biye Li, Liang Zhao, Lijie Wang, Bo Zhu, Guoliang Li, Xuejie Wu, Xilin Luo, Rui Hu},
691
+ journal={arXiv preprint arXiv: 2310.16713},
692
+ url={https://arxiv.org/abs/2310.16713},
693
+ year={2023}
694
+ }
695
+ ```
696
+
697
+
698
+ ```
699
+ @article{Skywork_Multi-Modal_Group_Empirical_Study_Towards_2023,
700
+ author = {Skywork Multi-Modal Group},
701
+ month = sep,
702
+ title = {{Empirical Study Towards Building An Effective Multi-Modal Large Language Model}},
703
+ year = {2023}
704
+ }
705
+
706
+ ```
707
+