TheBloke commited on
Commit
364be91
1 Parent(s): 90ff18f

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +460 -0
README.md ADDED
@@ -0,0 +1,460 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: stabilityai/japanese-stablelm-base-beta-70b
3
+ datasets:
4
+ - wikipedia
5
+ - mc4
6
+ - cc100
7
+ - oscar-corpus/OSCAR-2301
8
+ - oscar-corpus/OSCAR-2201
9
+ - cerebras/SlimPajama-627B
10
+ inference: false
11
+ language:
12
+ - ja
13
+ license:
14
+ - llama2
15
+ model_creator: Stability AI
16
+ model_name: Japanese StableLM Base Beta 70B
17
+ model_type: llama
18
+ pipeline_tag: text-generation
19
+ prompt_template: '{prompt}
20
+
21
+ '
22
+ quantized_by: TheBloke
23
+ tags:
24
+ - japanese-stablelm
25
+ - causal-lm
26
+ ---
27
+ <!-- markdownlint-disable MD041 -->
28
+
29
+ <!-- header start -->
30
+ <!-- 200823 -->
31
+ <div style="width: auto; margin-left: auto; margin-right: auto">
32
+ <img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;">
33
+ </div>
34
+ <div style="display: flex; justify-content: space-between; width: 100%;">
35
+ <div style="display: flex; flex-direction: column; align-items: flex-start;">
36
+ <p style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://discord.gg/theblokeai">Chat & support: TheBloke's Discord server</a></p>
37
+ </div>
38
+ <div style="display: flex; flex-direction: column; align-items: flex-end;">
39
+ <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>
40
+ </div>
41
+ </div>
42
+ <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>
43
+ <hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
44
+ <!-- header end -->
45
+
46
+ # Japanese StableLM Base Beta 70B - AWQ
47
+ - Model creator: [Stability AI](https://huggingface.co/stabilityai)
48
+ - Original model: [Japanese StableLM Base Beta 70B](https://huggingface.co/stabilityai/japanese-stablelm-base-beta-70b)
49
+
50
+ <!-- description start -->
51
+ ## Description
52
+
53
+ This repo contains AWQ model files for [Stability AI's Japanese StableLM Base Beta 70B](https://huggingface.co/stabilityai/japanese-stablelm-base-beta-70b).
54
+
55
+ These files were quantised using hardware kindly provided by [Massed Compute](https://massedcompute.com/).
56
+
57
+
58
+ ### About AWQ
59
+
60
+ AWQ is an efficient, accurate and blazing-fast low-bit weight quantization method, currently supporting 4-bit quantization. Compared to GPTQ, it offers faster Transformers-based inference with equivalent or better quality compared to the most commonly used GPTQ settings.
61
+
62
+ It is supported by:
63
+
64
+ - [Text Generation Webui](https://github.com/oobabooga/text-generation-webui) - using Loader: AutoAWQ
65
+ - [vLLM](https://github.com/vllm-project/vllm) - Llama and Mistral models only
66
+ - [Hugging Face Text Generation Inference (TGI)](https://github.com/huggingface/text-generation-inference)
67
+ - [AutoAWQ](https://github.com/casper-hansen/AutoAWQ) - for use from Python code
68
+
69
+ <!-- description end -->
70
+ <!-- repositories-available start -->
71
+ ## Repositories available
72
+
73
+ * [AWQ model(s) for GPU inference.](https://huggingface.co/TheBloke/japanese-stablelm-base-beta-70B-AWQ)
74
+ * [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/japanese-stablelm-base-beta-70B-GPTQ)
75
+ * [2, 3, 4, 5, 6 and 8-bit GGUF models for CPU+GPU inference](https://huggingface.co/TheBloke/japanese-stablelm-base-beta-70B-GGUF)
76
+ * [Stability AI's original unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/stabilityai/japanese-stablelm-base-beta-70b)
77
+ <!-- repositories-available end -->
78
+
79
+ <!-- prompt-template start -->
80
+ ## Prompt template: None
81
+
82
+ ```
83
+ {prompt}
84
+
85
+ ```
86
+
87
+ <!-- prompt-template end -->
88
+ <!-- licensing start -->
89
+ ## Licensing
90
+
91
+ The creator of the source model has listed its license as `['llama2']`, and this quantization has therefore used that same license.
92
+
93
+ As this model is based on Llama 2, it is also subject to the Meta Llama 2 license terms, and the license files for that are additionally included. It should therefore be considered as being claimed to be licensed under both licenses. I contacted Hugging Face for clarification on dual licensing but they do not yet have an official position. Should this change, or should Meta provide any feedback on this situation, I will update this section accordingly.
94
+
95
+ In the meantime, any questions regarding licensing, and in particular how these two licenses might interact, should be directed to the original model repository: [Stability AI's Japanese StableLM Base Beta 70B](https://huggingface.co/stabilityai/japanese-stablelm-base-beta-70b).
96
+ <!-- licensing end -->
97
+ <!-- README_AWQ.md-provided-files start -->
98
+ ## Provided files, and AWQ parameters
99
+
100
+ For my first release of AWQ models, I am releasing 128g models only. I will consider adding 32g as well if there is interest, and once I have done perplexity and evaluation comparisons, but at this time 32g models are still not fully tested with AutoAWQ and vLLM.
101
+
102
+ Models are released as sharded safetensors files.
103
+
104
+ | Branch | Bits | GS | AWQ Dataset | Seq Len | Size |
105
+ | ------ | ---- | -- | ----------- | ------- | ---- |
106
+ | [main](https://huggingface.co/TheBloke/japanese-stablelm-base-beta-70B-AWQ/tree/main) | 4 | 128 | japanese | 4096 | 36.61 GB
107
+
108
+ <!-- README_AWQ.md-provided-files end -->
109
+
110
+ <!-- README_AWQ.md-text-generation-webui start -->
111
+ ## How to easily download and use this model in [text-generation-webui](https://github.com/oobabooga/text-generation-webui)
112
+
113
+ Please make sure you're using the latest version of [text-generation-webui](https://github.com/oobabooga/text-generation-webui).
114
+
115
+ 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.
116
+
117
+ 1. Click the **Model tab**.
118
+ 2. Under **Download custom model or LoRA**, enter `TheBloke/japanese-stablelm-base-beta-70B-AWQ`.
119
+ 3. Click **Download**.
120
+ 4. The model will start downloading. Once it's finished it will say "Done".
121
+ 5. In the top left, click the refresh icon next to **Model**.
122
+ 6. In the **Model** dropdown, choose the model you just downloaded: `japanese-stablelm-base-beta-70B-AWQ`
123
+ 7. Select **Loader: AutoAWQ**.
124
+ 8. Click Load, and the model will load and is now ready for use.
125
+ 9. 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.
126
+ 10. Once you're ready, click the **Text Generation** tab and enter a prompt to get started!
127
+ <!-- README_AWQ.md-text-generation-webui end -->
128
+
129
+ <!-- README_AWQ.md-use-from-vllm start -->
130
+ ## Multi-user inference server: vLLM
131
+
132
+ Documentation on installing and using vLLM [can be found here](https://vllm.readthedocs.io/en/latest/).
133
+
134
+ - Please ensure you are using vLLM version 0.2 or later.
135
+ - When using vLLM as a server, pass the `--quantization awq` parameter.
136
+
137
+ For example:
138
+
139
+ ```shell
140
+ python3 python -m vllm.entrypoints.api_server --model TheBloke/japanese-stablelm-base-beta-70B-AWQ --quantization awq
141
+ ```
142
+
143
+ - When using vLLM from Python code, again set `quantization=awq`.
144
+
145
+ For example:
146
+
147
+ ```python
148
+ from vllm import LLM, SamplingParams
149
+
150
+ prompts = [
151
+ "Tell me about AI",
152
+ "Write a story about llamas",
153
+ "What is 291 - 150?",
154
+ "How much wood would a woodchuck chuck if a woodchuck could chuck wood?",
155
+ ]
156
+ prompt_template=f'''{prompt}
157
+ '''
158
+
159
+ prompts = [prompt_template.format(prompt=prompt) for prompt in prompts]
160
+
161
+ sampling_params = SamplingParams(temperature=0.8, top_p=0.95)
162
+
163
+ llm = LLM(model="TheBloke/japanese-stablelm-base-beta-70B-AWQ", quantization="awq", dtype="auto")
164
+
165
+ outputs = llm.generate(prompts, sampling_params)
166
+
167
+ # Print the outputs.
168
+ for output in outputs:
169
+ prompt = output.prompt
170
+ generated_text = output.outputs[0].text
171
+ print(f"Prompt: {prompt!r}, Generated text: {generated_text!r}")
172
+ ```
173
+ <!-- README_AWQ.md-use-from-vllm start -->
174
+
175
+ <!-- README_AWQ.md-use-from-tgi start -->
176
+ ## Multi-user inference server: Hugging Face Text Generation Inference (TGI)
177
+
178
+ Use TGI version 1.1.0 or later. The official Docker container is: `ghcr.io/huggingface/text-generation-inference:1.1.0`
179
+
180
+ Example Docker parameters:
181
+
182
+ ```shell
183
+ --model-id TheBloke/japanese-stablelm-base-beta-70B-AWQ --port 3000 --quantize awq --max-input-length 3696 --max-total-tokens 4096 --max-batch-prefill-tokens 4096
184
+ ```
185
+
186
+ Example Python code for interfacing with TGI (requires [huggingface-hub](https://github.com/huggingface/huggingface_hub) 0.17.0 or later):
187
+
188
+ ```shell
189
+ pip3 install huggingface-hub
190
+ ```
191
+
192
+ ```python
193
+ from huggingface_hub import InferenceClient
194
+
195
+ endpoint_url = "https://your-endpoint-url-here"
196
+
197
+ prompt = "Tell me about AI"
198
+ prompt_template=f'''{prompt}
199
+ '''
200
+
201
+ client = InferenceClient(endpoint_url)
202
+ response = client.text_generation(prompt,
203
+ max_new_tokens=128,
204
+ do_sample=True,
205
+ temperature=0.7,
206
+ top_p=0.95,
207
+ top_k=40,
208
+ repetition_penalty=1.1)
209
+
210
+ print(f"Model output: ", response)
211
+ ```
212
+ <!-- README_AWQ.md-use-from-tgi end -->
213
+
214
+ <!-- README_AWQ.md-use-from-python start -->
215
+ ## Inference from Python code using AutoAWQ
216
+
217
+ ### Install the AutoAWQ package
218
+
219
+ Requires: [AutoAWQ](https://github.com/casper-hansen/AutoAWQ) 0.1.1 or later.
220
+
221
+ ```shell
222
+ pip3 install autoawq
223
+ ```
224
+
225
+ If you have problems installing [AutoAWQ](https://github.com/casper-hansen/AutoAWQ) using the pre-built wheels, install it from source instead:
226
+
227
+ ```shell
228
+ pip3 uninstall -y autoawq
229
+ git clone https://github.com/casper-hansen/AutoAWQ
230
+ cd AutoAWQ
231
+ pip3 install .
232
+ ```
233
+
234
+ ### AutoAWQ example code
235
+
236
+ ```python
237
+ from awq import AutoAWQForCausalLM
238
+ from transformers import AutoTokenizer
239
+
240
+ model_name_or_path = "TheBloke/japanese-stablelm-base-beta-70B-AWQ"
241
+
242
+ # Load tokenizer
243
+ tokenizer = AutoTokenizer.from_pretrained(model_name_or_path, trust_remote_code=False)
244
+ # Load model
245
+ model = AutoAWQForCausalLM.from_quantized(model_name_or_path, fuse_layers=True,
246
+ trust_remote_code=False, safetensors=True)
247
+
248
+ prompt = "Tell me about AI"
249
+ prompt_template=f'''{prompt}
250
+ '''
251
+
252
+ print("*** Running model.generate:")
253
+
254
+ token_input = tokenizer(
255
+ prompt_template,
256
+ return_tensors='pt'
257
+ ).input_ids.cuda()
258
+
259
+ # Generate output
260
+ generation_output = model.generate(
261
+ token_input,
262
+ do_sample=True,
263
+ temperature=0.7,
264
+ top_p=0.95,
265
+ top_k=40,
266
+ max_new_tokens=512
267
+ )
268
+
269
+ # Get the tokens from the output, decode them, print them
270
+ token_output = generation_output[0]
271
+ text_output = tokenizer.decode(token_output)
272
+ print("LLM output: ", text_output)
273
+
274
+ """
275
+ # Inference should be possible with transformers pipeline as well in future
276
+ # But currently this is not yet supported by AutoAWQ (correct as of September 25th 2023)
277
+ from transformers import pipeline
278
+
279
+ print("*** Pipeline:")
280
+ pipe = pipeline(
281
+ "text-generation",
282
+ model=model,
283
+ tokenizer=tokenizer,
284
+ max_new_tokens=512,
285
+ do_sample=True,
286
+ temperature=0.7,
287
+ top_p=0.95,
288
+ top_k=40,
289
+ repetition_penalty=1.1
290
+ )
291
+
292
+ print(pipe(prompt_template)[0]['generated_text'])
293
+ """
294
+ ```
295
+ <!-- README_AWQ.md-use-from-python end -->
296
+
297
+ <!-- README_AWQ.md-compatibility start -->
298
+ ## Compatibility
299
+
300
+ The files provided are tested to work with:
301
+
302
+ - [text-generation-webui](https://github.com/oobabooga/text-generation-webui) using `Loader: AutoAWQ`.
303
+ - [vLLM](https://github.com/vllm-project/vllm) version 0.2.0 and later.
304
+ - [Hugging Face Text Generation Inference (TGI)](https://github.com/huggingface/text-generation-inference) version 1.1.0 and later.
305
+ - [AutoAWQ](https://github.com/casper-hansen/AutoAWQ) version 0.1.1 and later.
306
+
307
+ <!-- README_AWQ.md-compatibility end -->
308
+
309
+ <!-- footer start -->
310
+ <!-- 200823 -->
311
+ ## Discord
312
+
313
+ For further support, and discussions on these models and AI in general, join us at:
314
+
315
+ [TheBloke AI's Discord server](https://discord.gg/theblokeai)
316
+
317
+ ## Thanks, and how to contribute
318
+
319
+ Thanks to the [chirper.ai](https://chirper.ai) team!
320
+
321
+ Thanks to Clay from [gpus.llm-utils.org](llm-utils)!
322
+
323
+ 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.
324
+
325
+ 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.
326
+
327
+ Donaters will get priority support on any and all AI/LLM/model questions and requests, access to a private Discord room, plus other benefits.
328
+
329
+ * Patreon: https://patreon.com/TheBlokeAI
330
+ * Ko-Fi: https://ko-fi.com/TheBlokeAI
331
+
332
+ **Special thanks to**: Aemon Algiz.
333
+
334
+ **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
335
+
336
+
337
+ Thank you to all my generous patrons and donaters!
338
+
339
+ And thank you again to a16z for their generous grant.
340
+
341
+ <!-- footer end -->
342
+
343
+ # Original model card: Stability AI's Japanese StableLM Base Beta 70B
344
+
345
+
346
+ # Japanese-StableLM-Base-Beta-70B
347
+
348
+ ![A cute robot wearing a kimono writes calligraphy with one single brush](./japanese-stablelm-robot.jpg)
349
+
350
+ > A cute robot wearing a kimono writes calligraphy with one single brush — [Stable Diffusion XL](https://clipdrop.co/stable-diffusion)
351
+
352
+ ## Model Description
353
+
354
+ `japanese-stablelm-base-beta-70b` is a 70B-parameter decoder-only language model based on [Llama-2-70b](https://huggingface.co/meta-llama/Llama-2-70b) that has been fine-tuned on a diverse collection of Japanese data, with the intent of maximizing downstream performance on Japanese language tasks.
355
+
356
+ For an instruction-following model, check [Japanese-StableLM-Instruct-Beta-70B](https://huggingface.co/stabilityai/japanese-stablelm-instruct-beta-70b). The base and instruct models are also available in smaller 7b sizes. For a model that has faster inference times, see [Japanese-StableLM-Base-JA_Vocab-Beta-7B](https://huggingface.co/stabilityai/japanese-stablelm-base-ja_vocab-beta-7b), or [the instruction-following version](https://huggingface.co/stabilityai/japanese-stablelm-instruct-ja_vocab-beta-7b).
357
+
358
+ ## Usage
359
+
360
+ First install additional dependencies in [requirements.txt](./requirements.txt):
361
+
362
+ ```sh
363
+ pip install -r requirements.txt
364
+ ```
365
+
366
+ Then start generating text with `japanese-stablelm-base-beta-70b` by using the following code snippet:
367
+
368
+ ```python
369
+ import torch
370
+ from transformers import AutoTokenizer, AutoModelForCausalLM
371
+
372
+ model_name = "stabilityai/japanese-stablelm-base-beta-70b"
373
+ tokenizer = AutoTokenizer.from_pretrained(model_name)
374
+
375
+ # The next line may need to be modified depending on the environment
376
+ model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype=torch.float16, low_cpu_mem_usage=True, device_map="auto")
377
+
378
+ prompt = """
379
+ AI で科学研究を加速するには、
380
+ """.strip()
381
+
382
+ input_ids = tokenizer.encode(
383
+ prompt,
384
+ add_special_tokens=False,
385
+ return_tensors="pt"
386
+ )
387
+
388
+ # this is for reproducibility.
389
+ # feel free to change to get different result
390
+ seed = 23
391
+ torch.manual_seed(seed)
392
+
393
+ tokens = model.generate(
394
+ input_ids.to(device=model.device),
395
+ max_new_tokens=128,
396
+ temperature=0.99,
397
+ top_p=0.95,
398
+ do_sample=True,
399
+ )
400
+
401
+ out = tokenizer.decode(tokens[0], skip_special_tokens=True)
402
+ print(out)
403
+ ```
404
+
405
+ We suggest playing with different generation config (`top_p`, `repetition_penalty` etc) to find the best setup for your tasks. For example, use higher temperature for roleplay task, lower temperature for reasoning.
406
+
407
+ ## Model Details
408
+
409
+ * **Model type**: `japanese-stablelm-base-beta-70b` model is an auto-regressive language model based on the Llama2 transformer architecture.
410
+ * **Language(s)**: Japanese
411
+ * **License**: [Llama2 Community License](https://ai.meta.com/llama/license/).
412
+ * **Contact**: For questions and comments about the model, please join [Stable Community Japan](https://discord.gg/StableJP). For future announcements / information about Stability AI models, research, and events, please follow https://twitter.com/StabilityAI_JP.
413
+
414
+ ## Training Dataset
415
+
416
+ Roughly 100B tokens from a mixture of the following corpora were used for continued pre-training.
417
+
418
+ - [Japanese/English Wikipedia](https://dumps.wikimedia.org/other/cirrussearch)
419
+ - [Japanese mc4](https://huggingface.co/datasets/mc4)
420
+ - [Japanese CC-100](http://data.statmt.org/cc-100/ja.txt.xz)
421
+ - [Japanese OSCAR](https://oscar-project.github.io/documentation/)
422
+ - [SlimPajama](https://huggingface.co/datasets/cerebras/SlimPajama-627B) (excluding the Books3 subset)
423
+
424
+ ## Use and Limitations
425
+
426
+ ### Intended Use
427
+
428
+ The model is intended to be used by all individuals as a foundation for application-specific fine-tuning without strict limitations on commercial use.
429
+
430
+ ### Limitations and bias
431
+
432
+ The pre-training dataset may have contained offensive or inappropriate content even after applying data cleansing filters which can be reflected in the model generated text. We recommend users exercise reasonable caution when using these models in production systems. Do not use the model for any applications that may cause harm or distress to individuals or groups.
433
+
434
+ ## Authors
435
+ This model was developed by the Research & Development team at Stability AI Japan, and the development was co-led by [Takuya Akiba](https://huggingface.co/iwiwi) and [Meng Lee](https://huggingface.co/leemeng). The members of the team are as follows:
436
+
437
+ - [Meng Lee](https://huggingface.co/leemeng)
438
+ - [Fujiki Nakamura](https://huggingface.co/fujiki)
439
+ - [Makoto Shing](https://huggingface.co/mkshing)
440
+ - [Paul McCann](https://huggingface.co/polm-stability)
441
+ - [Takuya Akiba](https://huggingface.co/iwiwi)
442
+ - [Naoki Orii](https://huggingface.co/mrorii)
443
+
444
+ ## Acknowledgements
445
+
446
+ We thank Meta Research for releasing Llama 2 under an open license for others to build on.
447
+
448
+ We are grateful for the contributions of the EleutherAI Polyglot-JA team in helping us to collect a large amount of pre-training data in Japanese. Polyglot-JA members includes Hyunwoong Ko (Project Lead), Fujiki Nakamura (originally started this project when he commited to the Polyglot team), Yunho Mo, Minji Jung, KeunSeok Im, and Su-Kyeong Jang.
449
+
450
+ We are also appreciative of [AI Novelist/Sta (Bit192, Inc.)](https://ai-novel.com/index.php) and the numerous contributors from [Stable Community Japan](https://discord.gg/VPrcE475HB) for assisting us in gathering a large amount of high-quality Japanese textual data for model training.
451
+
452
+ ## How to cite
453
+ ```
454
+ @misc{JapaneseStableLMBaseBeta70B,
455
+ url={[https://huggingface.co/stabilityai/japanese-stablelm-base-beta-70b](https://huggingface.co/stabilityai/japanese-stablelm-base-beta-70b)},
456
+ title={Japanese StableLM Base Beta 70B},
457
+ author={Lee, Meng and Nakamura, Fujiki and Shing, Makoto and McCann, Paul and Akiba, Takuya and Orii, Naoki}
458
+ }
459
+ ```
460
+