Transformers
GGUF
mistral
juanako
UNA
cybertron
fbl
TheBloke commited on
Commit
1f18ee0
1 Parent(s): 94833e4

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +436 -0
README.md ADDED
@@ -0,0 +1,436 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: fblgit/una-cybertron-7b-v2-bf16
3
+ datasets:
4
+ - fblgit/tree-of-knowledge
5
+ - Open-Orca/SlimOrca-Dedup
6
+ - allenai/ultrafeedback_binarized_cleaned
7
+ inference: false
8
+ library_name: transformers
9
+ license: apache-2.0
10
+ model_creator: FBL
11
+ model_name: Una Cybertron 7B v2
12
+ model_type: mistral
13
+ prompt_template: '<|im_start|>system
14
+
15
+ {system_message}<|im_end|>
16
+
17
+ <|im_start|>user
18
+
19
+ {prompt}<|im_end|>
20
+
21
+ <|im_start|>assistant
22
+
23
+ '
24
+ quantized_by: TheBloke
25
+ tags:
26
+ - juanako
27
+ - UNA
28
+ - cybertron
29
+ - fbl
30
+ ---
31
+ <!-- markdownlint-disable MD041 -->
32
+
33
+ <!-- header start -->
34
+ <!-- 200823 -->
35
+ <div style="width: auto; margin-left: auto; margin-right: auto">
36
+ <img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;">
37
+ </div>
38
+ <div style="display: flex; justify-content: space-between; width: 100%;">
39
+ <div style="display: flex; flex-direction: column; align-items: flex-start;">
40
+ <p style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://discord.gg/theblokeai">Chat & support: TheBloke's Discord server</a></p>
41
+ </div>
42
+ <div style="display: flex; flex-direction: column; align-items: flex-end;">
43
+ <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>
44
+ </div>
45
+ </div>
46
+ <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>
47
+ <hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
48
+ <!-- header end -->
49
+
50
+ # Una Cybertron 7B v2 - GGUF
51
+ - Model creator: [FBL](https://huggingface.co/fblgit)
52
+ - Original model: [Una Cybertron 7B v2](https://huggingface.co/fblgit/una-cybertron-7b-v2-bf16)
53
+
54
+ <!-- description start -->
55
+ ## Description
56
+
57
+ This repo contains GGUF format model files for [FBL's Una Cybertron 7B v2](https://huggingface.co/fblgit/una-cybertron-7b-v2-bf16).
58
+
59
+ These files were quantised using hardware kindly provided by [Massed Compute](https://massedcompute.com/).
60
+
61
+ <!-- description end -->
62
+ <!-- README_GGUF.md-about-gguf start -->
63
+ ### About GGUF
64
+
65
+ GGUF is a new format introduced by the llama.cpp team on August 21st 2023. It is a replacement for GGML, which is no longer supported by llama.cpp.
66
+
67
+ Here is an incomplete list of clients and libraries that are known to support GGUF:
68
+
69
+ * [llama.cpp](https://github.com/ggerganov/llama.cpp). The source project for GGUF. Offers a CLI and a server option.
70
+ * [text-generation-webui](https://github.com/oobabooga/text-generation-webui), the most widely used web UI, with many features and powerful extensions. Supports GPU acceleration.
71
+ * [KoboldCpp](https://github.com/LostRuins/koboldcpp), a fully featured web UI, with GPU accel across all platforms and GPU architectures. Especially good for story telling.
72
+ * [GPT4All](https://gpt4all.io/index.html), a free and open source local running GUI, supporting Windows, Linux and macOS with full GPU accel.
73
+ * [LM Studio](https://lmstudio.ai/), an easy-to-use and powerful local GUI for Windows and macOS (Silicon), with GPU acceleration. Linux available, in beta as of 27/11/2023.
74
+ * [LoLLMS Web UI](https://github.com/ParisNeo/lollms-webui), a great web UI with many interesting and unique features, including a full model library for easy model selection.
75
+ * [Faraday.dev](https://faraday.dev/), an attractive and easy to use character-based chat GUI for Windows and macOS (both Silicon and Intel), with GPU acceleration.
76
+ * [llama-cpp-python](https://github.com/abetlen/llama-cpp-python), a Python library with GPU accel, LangChain support, and OpenAI-compatible API server.
77
+ * [candle](https://github.com/huggingface/candle), a Rust ML framework with a focus on performance, including GPU support, and ease of use.
78
+ * [ctransformers](https://github.com/marella/ctransformers), a Python library with GPU accel, LangChain support, and OpenAI-compatible AI server. Note, as of time of writing (November 27th 2023), ctransformers has not been updated in a long time and does not support many recent models.
79
+
80
+ <!-- README_GGUF.md-about-gguf end -->
81
+ <!-- repositories-available start -->
82
+ ## Repositories available
83
+
84
+ * [AWQ model(s) for GPU inference.](https://huggingface.co/TheBloke/una-cybertron-7B-v2-AWQ)
85
+ * [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/una-cybertron-7B-v2-GPTQ)
86
+ * [2, 3, 4, 5, 6 and 8-bit GGUF models for CPU+GPU inference](https://huggingface.co/TheBloke/una-cybertron-7B-v2-GGUF)
87
+ * [FBL's original unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/fblgit/una-cybertron-7b-v2-bf16)
88
+ <!-- repositories-available end -->
89
+
90
+ <!-- prompt-template start -->
91
+ ## Prompt template: ChatML
92
+
93
+ ```
94
+ <|im_start|>system
95
+ {system_message}<|im_end|>
96
+ <|im_start|>user
97
+ {prompt}<|im_end|>
98
+ <|im_start|>assistant
99
+
100
+ ```
101
+
102
+ <!-- prompt-template end -->
103
+
104
+
105
+ <!-- compatibility_gguf start -->
106
+ ## Compatibility
107
+
108
+ These quantised GGUFv2 files are compatible with llama.cpp from August 27th onwards, as of commit [d0cee0d](https://github.com/ggerganov/llama.cpp/commit/d0cee0d36d5be95a0d9088b674dbb27354107221)
109
+
110
+ They are also compatible with many third party UIs and libraries - please see the list at the top of this README.
111
+
112
+ ## Explanation of quantisation methods
113
+
114
+ <details>
115
+ <summary>Click to see details</summary>
116
+
117
+ The new methods available are:
118
+
119
+ * GGML_TYPE_Q2_K - "type-1" 2-bit quantization in super-blocks containing 16 blocks, each block having 16 weight. Block scales and mins are quantized with 4 bits. This ends up effectively using 2.5625 bits per weight (bpw)
120
+ * GGML_TYPE_Q3_K - "type-0" 3-bit quantization in super-blocks containing 16 blocks, each block having 16 weights. Scales are quantized with 6 bits. This end up using 3.4375 bpw.
121
+ * GGML_TYPE_Q4_K - "type-1" 4-bit quantization in super-blocks containing 8 blocks, each block having 32 weights. Scales and mins are quantized with 6 bits. This ends up using 4.5 bpw.
122
+ * GGML_TYPE_Q5_K - "type-1" 5-bit quantization. Same super-block structure as GGML_TYPE_Q4_K resulting in 5.5 bpw
123
+ * GGML_TYPE_Q6_K - "type-0" 6-bit quantization. Super-blocks with 16 blocks, each block having 16 weights. Scales are quantized with 8 bits. This ends up using 6.5625 bpw
124
+
125
+ Refer to the Provided Files table below to see what files use which methods, and how.
126
+ </details>
127
+ <!-- compatibility_gguf end -->
128
+
129
+ <!-- README_GGUF.md-provided-files start -->
130
+ ## Provided files
131
+
132
+ | Name | Quant method | Bits | Size | Max RAM required | Use case |
133
+ | ---- | ---- | ---- | ---- | ---- | ----- |
134
+ | [una-cybertron-7b-v2-bf16.Q2_K.gguf](https://huggingface.co/TheBloke/una-cybertron-7B-v2-GGUF/blob/main/una-cybertron-7b-v2-bf16.Q2_K.gguf) | Q2_K | 2 | 3.08 GB| 5.58 GB | smallest, significant quality loss - not recommended for most purposes |
135
+ | [una-cybertron-7b-v2-bf16.Q3_K_S.gguf](https://huggingface.co/TheBloke/una-cybertron-7B-v2-GGUF/blob/main/una-cybertron-7b-v2-bf16.Q3_K_S.gguf) | Q3_K_S | 3 | 3.16 GB| 5.66 GB | very small, high quality loss |
136
+ | [una-cybertron-7b-v2-bf16.Q3_K_M.gguf](https://huggingface.co/TheBloke/una-cybertron-7B-v2-GGUF/blob/main/una-cybertron-7b-v2-bf16.Q3_K_M.gguf) | Q3_K_M | 3 | 3.52 GB| 6.02 GB | very small, high quality loss |
137
+ | [una-cybertron-7b-v2-bf16.Q3_K_L.gguf](https://huggingface.co/TheBloke/una-cybertron-7B-v2-GGUF/blob/main/una-cybertron-7b-v2-bf16.Q3_K_L.gguf) | Q3_K_L | 3 | 3.82 GB| 6.32 GB | small, substantial quality loss |
138
+ | [una-cybertron-7b-v2-bf16.Q4_0.gguf](https://huggingface.co/TheBloke/una-cybertron-7B-v2-GGUF/blob/main/una-cybertron-7b-v2-bf16.Q4_0.gguf) | Q4_0 | 4 | 4.11 GB| 6.61 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
139
+ | [una-cybertron-7b-v2-bf16.Q4_K_S.gguf](https://huggingface.co/TheBloke/una-cybertron-7B-v2-GGUF/blob/main/una-cybertron-7b-v2-bf16.Q4_K_S.gguf) | Q4_K_S | 4 | 4.14 GB| 6.64 GB | small, greater quality loss |
140
+ | [una-cybertron-7b-v2-bf16.Q4_K_M.gguf](https://huggingface.co/TheBloke/una-cybertron-7B-v2-GGUF/blob/main/una-cybertron-7b-v2-bf16.Q4_K_M.gguf) | Q4_K_M | 4 | 4.37 GB| 6.87 GB | medium, balanced quality - recommended |
141
+ | [una-cybertron-7b-v2-bf16.Q5_0.gguf](https://huggingface.co/TheBloke/una-cybertron-7B-v2-GGUF/blob/main/una-cybertron-7b-v2-bf16.Q5_0.gguf) | Q5_0 | 5 | 5.00 GB| 7.50 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
142
+ | [una-cybertron-7b-v2-bf16.Q5_K_S.gguf](https://huggingface.co/TheBloke/una-cybertron-7B-v2-GGUF/blob/main/una-cybertron-7b-v2-bf16.Q5_K_S.gguf) | Q5_K_S | 5 | 5.00 GB| 7.50 GB | large, low quality loss - recommended |
143
+ | [una-cybertron-7b-v2-bf16.Q5_K_M.gguf](https://huggingface.co/TheBloke/una-cybertron-7B-v2-GGUF/blob/main/una-cybertron-7b-v2-bf16.Q5_K_M.gguf) | Q5_K_M | 5 | 5.13 GB| 7.63 GB | large, very low quality loss - recommended |
144
+ | [una-cybertron-7b-v2-bf16.Q6_K.gguf](https://huggingface.co/TheBloke/una-cybertron-7B-v2-GGUF/blob/main/una-cybertron-7b-v2-bf16.Q6_K.gguf) | Q6_K | 6 | 5.94 GB| 8.44 GB | very large, extremely low quality loss |
145
+ | [una-cybertron-7b-v2-bf16.Q8_0.gguf](https://huggingface.co/TheBloke/una-cybertron-7B-v2-GGUF/blob/main/una-cybertron-7b-v2-bf16.Q8_0.gguf) | Q8_0 | 8 | 7.70 GB| 10.20 GB | very large, extremely low quality loss - not recommended |
146
+
147
+ **Note**: the above RAM figures assume no GPU offloading. If layers are offloaded to the GPU, this will reduce RAM usage and use VRAM instead.
148
+
149
+
150
+
151
+ <!-- README_GGUF.md-provided-files end -->
152
+
153
+ <!-- README_GGUF.md-how-to-download start -->
154
+ ## How to download GGUF files
155
+
156
+ **Note for manual downloaders:** You almost never want to clone the entire repo! Multiple different quantisation formats are provided, and most users only want to pick and download a single file.
157
+
158
+ The following clients/libraries will automatically download models for you, providing a list of available models to choose from:
159
+
160
+ * LM Studio
161
+ * LoLLMS Web UI
162
+ * Faraday.dev
163
+
164
+ ### In `text-generation-webui`
165
+
166
+ Under Download Model, you can enter the model repo: TheBloke/una-cybertron-7B-v2-GGUF and below it, a specific filename to download, such as: una-cybertron-7b-v2-bf16.Q4_K_M.gguf.
167
+
168
+ Then click Download.
169
+
170
+ ### On the command line, including multiple files at once
171
+
172
+ I recommend using the `huggingface-hub` Python library:
173
+
174
+ ```shell
175
+ pip3 install huggingface-hub
176
+ ```
177
+
178
+ Then you can download any individual model file to the current directory, at high speed, with a command like this:
179
+
180
+ ```shell
181
+ huggingface-cli download TheBloke/una-cybertron-7B-v2-GGUF una-cybertron-7b-v2-bf16.Q4_K_M.gguf --local-dir . --local-dir-use-symlinks False
182
+ ```
183
+
184
+ <details>
185
+ <summary>More advanced huggingface-cli download usage (click to read)</summary>
186
+
187
+ You can also download multiple files at once with a pattern:
188
+
189
+ ```shell
190
+ huggingface-cli download TheBloke/una-cybertron-7B-v2-GGUF --local-dir . --local-dir-use-symlinks False --include='*Q4_K*gguf'
191
+ ```
192
+
193
+ 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).
194
+
195
+ To accelerate downloads on fast connections (1Gbit/s or higher), install `hf_transfer`:
196
+
197
+ ```shell
198
+ pip3 install hf_transfer
199
+ ```
200
+
201
+ And set environment variable `HF_HUB_ENABLE_HF_TRANSFER` to `1`:
202
+
203
+ ```shell
204
+ HF_HUB_ENABLE_HF_TRANSFER=1 huggingface-cli download TheBloke/una-cybertron-7B-v2-GGUF una-cybertron-7b-v2-bf16.Q4_K_M.gguf --local-dir . --local-dir-use-symlinks False
205
+ ```
206
+
207
+ Windows Command Line users: You can set the environment variable by running `set HF_HUB_ENABLE_HF_TRANSFER=1` before the download command.
208
+ </details>
209
+ <!-- README_GGUF.md-how-to-download end -->
210
+
211
+ <!-- README_GGUF.md-how-to-run start -->
212
+ ## Example `llama.cpp` command
213
+
214
+ Make sure you are using `llama.cpp` from commit [d0cee0d](https://github.com/ggerganov/llama.cpp/commit/d0cee0d36d5be95a0d9088b674dbb27354107221) or later.
215
+
216
+ ```shell
217
+ ./main -ngl 35 -m una-cybertron-7b-v2-bf16.Q4_K_M.gguf --color -c 32768 --temp 0.7 --repeat_penalty 1.1 -n -1 -p "<|im_start|>system\n{system_message}<|im_end|>\n<|im_start|>user\n{prompt}<|im_end|>\n<|im_start|>assistant"
218
+ ```
219
+
220
+ Change `-ngl 32` to the number of layers to offload to GPU. Remove it if you don't have GPU acceleration.
221
+
222
+ Change `-c 32768` to the desired sequence length. For extended sequence models - eg 8K, 16K, 32K - the necessary RoPE scaling parameters are read from the GGUF file and set by llama.cpp automatically. Note that longer sequence lengths require much more resources, so you may need to reduce this value.
223
+
224
+ If you want to have a chat-style conversation, replace the `-p <PROMPT>` argument with `-i -ins`
225
+
226
+ For other parameters and how to use them, please refer to [the llama.cpp documentation](https://github.com/ggerganov/llama.cpp/blob/master/examples/main/README.md)
227
+
228
+ ## How to run in `text-generation-webui`
229
+
230
+ Further instructions can be found in the text-generation-webui documentation, here: [text-generation-webui/docs/04 ‐ Model Tab.md](https://github.com/oobabooga/text-generation-webui/blob/main/docs/04%20%E2%80%90%20Model%20Tab.md#llamacpp).
231
+
232
+ ## How to run from Python code
233
+
234
+ You can use GGUF models from Python using the [llama-cpp-python](https://github.com/abetlen/llama-cpp-python) or [ctransformers](https://github.com/marella/ctransformers) libraries. Note that at the time of writing (Nov 27th 2023), ctransformers has not been updated for some time and is not compatible with some recent models. Therefore I recommend you use llama-cpp-python.
235
+
236
+ ### How to load this model in Python code, using llama-cpp-python
237
+
238
+ For full documentation, please see: [llama-cpp-python docs](https://abetlen.github.io/llama-cpp-python/).
239
+
240
+ #### First install the package
241
+
242
+ Run one of the following commands, according to your system:
243
+
244
+ ```shell
245
+ # Base ctransformers with no GPU acceleration
246
+ pip install llama-cpp-python
247
+ # With NVidia CUDA acceleration
248
+ CMAKE_ARGS="-DLLAMA_CUBLAS=on" pip install llama-cpp-python
249
+ # Or with OpenBLAS acceleration
250
+ CMAKE_ARGS="-DLLAMA_BLAS=ON -DLLAMA_BLAS_VENDOR=OpenBLAS" pip install llama-cpp-python
251
+ # Or with CLBLast acceleration
252
+ CMAKE_ARGS="-DLLAMA_CLBLAST=on" pip install llama-cpp-python
253
+ # Or with AMD ROCm GPU acceleration (Linux only)
254
+ CMAKE_ARGS="-DLLAMA_HIPBLAS=on" pip install llama-cpp-python
255
+ # Or with Metal GPU acceleration for macOS systems only
256
+ CMAKE_ARGS="-DLLAMA_METAL=on" pip install llama-cpp-python
257
+
258
+ # In windows, to set the variables CMAKE_ARGS in PowerShell, follow this format; eg for NVidia CUDA:
259
+ $env:CMAKE_ARGS = "-DLLAMA_OPENBLAS=on"
260
+ pip install llama-cpp-python
261
+ ```
262
+
263
+ #### Simple llama-cpp-python example code
264
+
265
+ ```python
266
+ from llama_cpp import Llama
267
+
268
+ # Set gpu_layers to the number of layers to offload to GPU. Set to 0 if no GPU acceleration is available on your system.
269
+ llm = Llama(
270
+ model_path="./una-cybertron-7b-v2-bf16.Q4_K_M.gguf", # Download the model file first
271
+ n_ctx=32768, # The max sequence length to use - note that longer sequence lengths require much more resources
272
+ n_threads=8, # The number of CPU threads to use, tailor to your system and the resulting performance
273
+ n_gpu_layers=35 # The number of layers to offload to GPU, if you have GPU acceleration available
274
+ )
275
+
276
+ # Simple inference example
277
+ output = llm(
278
+ "<|im_start|>system\n{system_message}<|im_end|>\n<|im_start|>user\n{prompt}<|im_end|>\n<|im_start|>assistant", # Prompt
279
+ max_tokens=512, # Generate up to 512 tokens
280
+ stop=["</s>"], # Example stop token - not necessarily correct for this specific model! Please check before using.
281
+ echo=True # Whether to echo the prompt
282
+ )
283
+
284
+ # Chat Completion API
285
+
286
+ llm = Llama(model_path="./una-cybertron-7b-v2-bf16.Q4_K_M.gguf", chat_format="llama-2") # Set chat_format according to the model you are using
287
+ llm.create_chat_completion(
288
+ messages = [
289
+ {"role": "system", "content": "You are a story writing assistant."},
290
+ {
291
+ "role": "user",
292
+ "content": "Write a story about llamas."
293
+ }
294
+ ]
295
+ )
296
+ ```
297
+
298
+ ## How to use with LangChain
299
+
300
+ Here are guides on using llama-cpp-python and ctransformers with LangChain:
301
+
302
+ * [LangChain + llama-cpp-python](https://python.langchain.com/docs/integrations/llms/llamacpp)
303
+ * [LangChain + ctransformers](https://python.langchain.com/docs/integrations/providers/ctransformers)
304
+
305
+ <!-- README_GGUF.md-how-to-run end -->
306
+
307
+ <!-- footer start -->
308
+ <!-- 200823 -->
309
+ ## Discord
310
+
311
+ For further support, and discussions on these models and AI in general, join us at:
312
+
313
+ [TheBloke AI's Discord server](https://discord.gg/theblokeai)
314
+
315
+ ## Thanks, and how to contribute
316
+
317
+ Thanks to the [chirper.ai](https://chirper.ai) team!
318
+
319
+ Thanks to Clay from [gpus.llm-utils.org](llm-utils)!
320
+
321
+ 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.
322
+
323
+ 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.
324
+
325
+ Donaters will get priority support on any and all AI/LLM/model questions and requests, access to a private Discord room, plus other benefits.
326
+
327
+ * Patreon: https://patreon.com/TheBlokeAI
328
+ * Ko-Fi: https://ko-fi.com/TheBlokeAI
329
+
330
+ **Special thanks to**: Aemon Algiz.
331
+
332
+ **Patreon special mentions**: Michael Levine, 阿明, Trailburnt, Nikolai Manek, John Detwiler, Randy H, Will Dee, Sebastain Graf, NimbleBox.ai, Eugene Pentland, Emad Mostaque, Ai Maven, Jim Angel, Jeff Scroggin, Michael Davis, Manuel Alberto Morcote, Stephen Murray, Robert, Justin Joy, Luke @flexchar, Brandon Frisco, Elijah Stavena, S_X, Dan Guido, Undi ., Komninos Chatzipapas, Shadi, theTransient, Lone Striker, Raven Klaugh, jjj, Cap'n Zoog, Michel-Marie MAUDET (LINAGORA), Matthew Berman, David, Fen Risland, Omer Bin Jawed, Luke Pendergrass, Kalila, OG, Erik Bjäreholt, Rooh Singh, Joseph William Delisle, Dan Lewis, TL, John Villwock, AzureBlack, Brad, Pedro Madruga, Caitlyn Gatomon, K, jinyuan sun, Mano Prime, Alex, Jeffrey Morgan, Alicia Loh, Illia Dulskyi, Chadd, transmissions 11, fincy, Rainer Wilmers, ReadyPlayerEmma, knownsqashed, Mandus, biorpg, Deo Leter, Brandon Phillips, SuperWojo, Sean Connelly, Iucharbius, Jack West, Harry Royden McLaughlin, Nicholas, terasurfer, Vitor Caleffi, Duane Dunston, Johann-Peter Hartmann, David Ziegler, Olakabola, Ken Nordquist, Trenton Dambrowitz, Tom X Nguyen, Vadim, Ajan Kanaga, Leonard Tan, Clay Pascal, Alexandros Triantafyllidis, JM33133, Xule, vamX, ya boyyy, subjectnull, Talal Aujan, Alps Aficionado, wassieverse, Ari Malik, James Bentley, Woland, Spencer Kim, Michael Dempsey, Fred von Graf, Elle, zynix, William Richards, Stanislav Ovsiannikov, Edmond Seymore, Jonathan Leane, Martin Kemka, usrbinkat, Enrico Ros
333
+
334
+
335
+ Thank you to all my generous patrons and donaters!
336
+
337
+ And thank you again to a16z for their generous grant.
338
+
339
+ <!-- footer end -->
340
+
341
+ <!-- original-model-card start -->
342
+ # Original model card: FBL's Una Cybertron 7B v2
343
+
344
+
345
+ # Model Card for una-cybertron-7b-v2-bf16 (UNA: Uniform Neural Alignment)
346
+
347
+ We strike back, introducing **Cybertron 7B v2** a 7B MistralAI based model, best on it's series. Trained on SFT, DPO and UNA (Unified Neural Alignment) on multiple datasets.
348
+ He scores [EXACTLY](https://huggingface.co/datasets/open-llm-leaderboard/details_fblgit__una-cybertron-7b-v2-bf16) **#1** with **69.67**+ score on HF LeaderBoard board, **#8** ALL SIZES top score.
349
+
350
+ * v1 Scoring **#1** at 2 December 2023 with 69.43 ..few models were releasse .. but only 1 can survive: CYBERTRON!
351
+ * v2 Scoring **#1** at 5 December 2023 with 69.67
352
+
353
+
354
+ | Model | Average | ARC (25-s) | HellaSwag (10-s) | MMLU (5-s) | TruthfulQA (MC) (0-s) | Winogrande (5-s) | GSM8K (5-s) |
355
+ | --- | --- | --- | --- | --- | --- | --- | --- |
356
+ | [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) | 60.97 | 59.98 | 83.31 | 64.16 | 42.15 | 78.37 | 37.83 |
357
+ | [Intel/neural-chat-7b-v3-2](https://huggingface.co/Intel/neural-chat-7b-v3-2) | 68.29 | 67.49 | 83.92 | 63.55 | 59.68 | 79.95 | 55.12 |
358
+ | [perlthoughts/Chupacabra-7B-v2](https://huggingface.co/perlthoughts/Chupacabra-7B-v2) | 63.54 | 66.47 | 85.17 | 64.49 | 57.6 | 79.16 | 28.35 |
359
+ | [fblgit/una-cybertron-7b-v1-fp16](https://huggingface.co/fblgit/una-cybertron-7b-v1-fp16) | **69.49** | **68.43** | **85.85** | 63.34 | **63.28** | **80.90** | **55.12** |
360
+ | [fblgit/una-cybertron-7b-v2-bf16](https://huggingface.co/fblgit/una-cybertron-7b-v2-bf16) | **69.67** | **68.26** | **85.?4** | 63.23 | **64.63** | **81.37** | **55.04** |
361
+
362
+ The model excels in mathematics, logic, reasoning, overall very smart. He can make a deep reasoning over the context and prompt, it gives the impression of not missing details around.
363
+
364
+
365
+ ## Model Details
366
+
367
+ Adiestrated with UNA: Uniform Neural Alignment technique (paper going out soon).
368
+ * What is **NOT** UNA? Its not a merged layers model. Is not SLERP or SLURP or similar.
369
+ * What **is** UNA? A formula & A technique to *TAME* models
370
+ * When will be released the code and paper? When have time, contribute and it'll be faster.
371
+
372
+ ### Model Description
373
+
374
+ - **Developed by:** [juanako.ai](https://juanako.ai)
375
+ - **Author:** [Xavier M.]([email protected])
376
+ - **Investors** [CONTACT HERE]([email protected])
377
+ - **Model type:** MistralAI 7B
378
+ - **Funded by Cybertron's H100's** with few hours training.
379
+
380
+ ### Prompt
381
+ The model is very good, works well on almost any prompt but ChatML format and Alpaca System gets the best
382
+ ```
383
+ <|im_start|>system
384
+ - You are a helpful assistant chatbot trained by MosaicML.
385
+ - You answer questions.
386
+ - You are excited to be able to help the user, but will refuse to do anything that could be considered harmful to the user.
387
+ - You are more than just an information source, you are also able to write poetry, short stories, and make jokes.<|im_end|>
388
+ <|im_start|>user
389
+ Explain QKV<|im_end|>
390
+ <|im_start|>assistant
391
+ ```
392
+ ```
393
+ ### Assistant: I am StableVicuna, a large language model created by CarperAI. I am here to chat!
394
+
395
+ ### Human: Explain QKV
396
+ ### Assistant:
397
+ ```
398
+ ```
399
+ [Round <|round|>]
400
+ 问:Explain QKV
401
+ 答:
402
+ ```
403
+ ```
404
+ [Round <|round|>]
405
+ Question:Explain QKV
406
+ Answer:
407
+ ```
408
+ ```
409
+ Question:Explain QKV
410
+ Answer:
411
+ ```
412
+
413
+
414
+ ### Framework versions
415
+
416
+ - Transformers 4.35.0-UNA
417
+ - Pytorch 2.1.0
418
+ - Datasets 2.14.6
419
+ - Tokenizers 0.14.1
420
+
421
+ ### Citations
422
+ If you find Cybertron, Juanako or any of our models useful, specially if you use it for your big brand.. or you clone/merge my modelsm, cite please:
423
+ ```
424
+ @misc{unacybertron7b,
425
+ title={Cybertron: Uniform Neural Alignment},
426
+ author={Xavier Murias},
427
+ year={2023},
428
+ publisher = {HuggingFace},
429
+ journal = {HuggingFace repository},
430
+ howpublished = {\url{https://huggingface.co/fblgit/una-cybertron-7b-v2-bf16}},
431
+ }
432
+ ```
433
+
434
+ Special thanks to @TheBloke & @bartowski for converting the models and their support to the community. Thank you!
435
+
436
+ <!-- original-model-card end -->