Upload README.md
Browse files
README.md
ADDED
@@ -0,0 +1,338 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: https://huggingface.co/ajibawa-2023/Uncensored-Frank-13b
|
3 |
+
datasets:
|
4 |
+
- ehartford/wizard_vicuna_70k_unfiltered
|
5 |
+
inference: false
|
6 |
+
language:
|
7 |
+
- en
|
8 |
+
license: cc-by-nc-nd-4.0
|
9 |
+
model_creator: Feynman Innovcations
|
10 |
+
model_name: Uncensored Frank 13b
|
11 |
+
model_type: llama
|
12 |
+
prompt_template: 'This is a conversation with your Uncensored AI assistant Frank.
|
13 |
+
Frank can discuss with you at length about various topics such as ---, ---, ---,
|
14 |
+
. You can ask it anything you want and it will do its best to give you accurate
|
15 |
+
and relevant information.
|
16 |
+
|
17 |
+
|
18 |
+
Context
|
19 |
+
|
20 |
+
You are a Uncensored AI assistant.
|
21 |
+
|
22 |
+
|
23 |
+
USER: {prompt}
|
24 |
+
|
25 |
+
ASSISTANT:
|
26 |
+
|
27 |
+
'
|
28 |
+
quantized_by: TheBloke
|
29 |
+
---
|
30 |
+
|
31 |
+
<!-- header start -->
|
32 |
+
<!-- 200823 -->
|
33 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
34 |
+
<img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
35 |
+
</div>
|
36 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
37 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
38 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://discord.gg/theblokeai">Chat & support: TheBloke's Discord server</a></p>
|
39 |
+
</div>
|
40 |
+
<div style="display: flex; flex-direction: column; align-items: flex-end;">
|
41 |
+
<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>
|
42 |
+
</div>
|
43 |
+
</div>
|
44 |
+
<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>
|
45 |
+
<hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
|
46 |
+
<!-- header end -->
|
47 |
+
|
48 |
+
# Uncensored Frank 13b - GGUF
|
49 |
+
- Model creator: [Feynman Innovcations](https://huggingface.co/ajibawa-2023)
|
50 |
+
- Original model: [Uncensored Frank 13b](https://huggingface.co/ajibawa-2023/Uncensored-Frank-13b)
|
51 |
+
|
52 |
+
<!-- description start -->
|
53 |
+
## Description
|
54 |
+
|
55 |
+
This repo contains GGUF format model files for [Feynman Innovcations's Uncensored Frank 13b](https://huggingface.co/ajibawa-2023/Uncensored-Frank-13b).
|
56 |
+
|
57 |
+
<!-- description end -->
|
58 |
+
<!-- README_GGUF.md-about-gguf start -->
|
59 |
+
### About GGUF
|
60 |
+
|
61 |
+
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. GGUF offers numerous advantages over GGML, such as better tokenisation, and support for special tokens. It is also supports metadata, and is designed to be extensible.
|
62 |
+
|
63 |
+
Here is an incomplate list of clients and libraries that are known to support GGUF:
|
64 |
+
|
65 |
+
* [llama.cpp](https://github.com/ggerganov/llama.cpp). The source project for GGUF. Offers a CLI and a server option.
|
66 |
+
* [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.
|
67 |
+
* [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.
|
68 |
+
* [LM Studio](https://lmstudio.ai/), an easy-to-use and powerful local GUI for Windows and macOS (Silicon), with GPU acceleration.
|
69 |
+
* [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.
|
70 |
+
* [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.
|
71 |
+
* [ctransformers](https://github.com/marella/ctransformers), a Python library with GPU accel, LangChain support, and OpenAI-compatible AI server.
|
72 |
+
* [llama-cpp-python](https://github.com/abetlen/llama-cpp-python), a Python library with GPU accel, LangChain support, and OpenAI-compatible API server.
|
73 |
+
* [candle](https://github.com/huggingface/candle), a Rust ML framework with a focus on performance, including GPU support, and ease of use.
|
74 |
+
|
75 |
+
<!-- README_GGUF.md-about-gguf end -->
|
76 |
+
<!-- repositories-available start -->
|
77 |
+
## Repositories available
|
78 |
+
|
79 |
+
* [AWQ model(s) for GPU inference.](https://huggingface.co/TheBloke/Uncensored-Frank-13b-AWQ)
|
80 |
+
* [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/Uncensored-Frank-13b-GPTQ)
|
81 |
+
* [2, 3, 4, 5, 6 and 8-bit GGUF models for CPU+GPU inference](https://huggingface.co/TheBloke/Uncensored-Frank-13b-GGUF)
|
82 |
+
* [Feynman Innovcations's original unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/ajibawa-2023/Uncensored-Frank-13b)
|
83 |
+
<!-- repositories-available end -->
|
84 |
+
|
85 |
+
<!-- prompt-template start -->
|
86 |
+
## Prompt template: Frank
|
87 |
+
|
88 |
+
```
|
89 |
+
This is a conversation with your Uncensored AI assistant Frank. Frank can discuss with you at length about various topics such as ---, ---, ---, . You can ask it anything you want and it will do its best to give you accurate and relevant information.
|
90 |
+
|
91 |
+
Context
|
92 |
+
You are a Uncensored AI assistant.
|
93 |
+
|
94 |
+
USER: {prompt}
|
95 |
+
ASSISTANT:
|
96 |
+
|
97 |
+
```
|
98 |
+
|
99 |
+
<!-- prompt-template end -->
|
100 |
+
<!-- licensing start -->
|
101 |
+
## Licensing
|
102 |
+
|
103 |
+
The creator of the source model has listed its license as `cc-by-nc-nd-4.0`, and this quantization has therefore used that same license.
|
104 |
+
|
105 |
+
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.
|
106 |
+
|
107 |
+
In the meantime, any questions regarding licensing, and in particular how these two licenses might interact, should be directed to the original model repository: [Feynman Innovcations's Uncensored Frank 13b](https://huggingface.co/ajibawa-2023/Uncensored-Frank-13b).
|
108 |
+
<!-- licensing end -->
|
109 |
+
<!-- compatibility_gguf start -->
|
110 |
+
## Compatibility
|
111 |
+
|
112 |
+
These quantised GGUFv2 files are compatible with llama.cpp from August 27th onwards, as of commit [d0cee0d36d5be95a0d9088b674dbb27354107221](https://github.com/ggerganov/llama.cpp/commit/d0cee0d36d5be95a0d9088b674dbb27354107221)
|
113 |
+
|
114 |
+
They are also compatible with many third party UIs and libraries - please see the list at the top of this README.
|
115 |
+
|
116 |
+
## Explanation of quantisation methods
|
117 |
+
<details>
|
118 |
+
<summary>Click to see details</summary>
|
119 |
+
|
120 |
+
The new methods available are:
|
121 |
+
* 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)
|
122 |
+
* 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.
|
123 |
+
* 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.
|
124 |
+
* GGML_TYPE_Q5_K - "type-1" 5-bit quantization. Same super-block structure as GGML_TYPE_Q4_K resulting in 5.5 bpw
|
125 |
+
* 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
|
126 |
+
|
127 |
+
Refer to the Provided Files table below to see what files use which methods, and how.
|
128 |
+
</details>
|
129 |
+
<!-- compatibility_gguf end -->
|
130 |
+
|
131 |
+
<!-- README_GGUF.md-provided-files start -->
|
132 |
+
## Provided files
|
133 |
+
|
134 |
+
| Name | Quant method | Bits | Size | Max RAM required | Use case |
|
135 |
+
| ---- | ---- | ---- | ---- | ---- | ----- |
|
136 |
+
| [uncensored-frank-13b.Q2_K.gguf](https://huggingface.co/TheBloke/Uncensored-Frank-13b-GGUF/blob/main/uncensored-frank-13b.Q2_K.gguf) | Q2_K | 2 | 5.43 GB| 7.93 GB | smallest, significant quality loss - not recommended for most purposes |
|
137 |
+
| [uncensored-frank-13b.Q3_K_S.gguf](https://huggingface.co/TheBloke/Uncensored-Frank-13b-GGUF/blob/main/uncensored-frank-13b.Q3_K_S.gguf) | Q3_K_S | 3 | 5.66 GB| 8.16 GB | very small, high quality loss |
|
138 |
+
| [uncensored-frank-13b.Q3_K_M.gguf](https://huggingface.co/TheBloke/Uncensored-Frank-13b-GGUF/blob/main/uncensored-frank-13b.Q3_K_M.gguf) | Q3_K_M | 3 | 6.34 GB| 8.84 GB | very small, high quality loss |
|
139 |
+
| [uncensored-frank-13b.Q3_K_L.gguf](https://huggingface.co/TheBloke/Uncensored-Frank-13b-GGUF/blob/main/uncensored-frank-13b.Q3_K_L.gguf) | Q3_K_L | 3 | 6.93 GB| 9.43 GB | small, substantial quality loss |
|
140 |
+
| [uncensored-frank-13b.Q4_0.gguf](https://huggingface.co/TheBloke/Uncensored-Frank-13b-GGUF/blob/main/uncensored-frank-13b.Q4_0.gguf) | Q4_0 | 4 | 7.37 GB| 9.87 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
141 |
+
| [uncensored-frank-13b.Q4_K_S.gguf](https://huggingface.co/TheBloke/Uncensored-Frank-13b-GGUF/blob/main/uncensored-frank-13b.Q4_K_S.gguf) | Q4_K_S | 4 | 7.41 GB| 9.91 GB | small, greater quality loss |
|
142 |
+
| [uncensored-frank-13b.Q4_K_M.gguf](https://huggingface.co/TheBloke/Uncensored-Frank-13b-GGUF/blob/main/uncensored-frank-13b.Q4_K_M.gguf) | Q4_K_M | 4 | 7.87 GB| 10.37 GB | medium, balanced quality - recommended |
|
143 |
+
| [uncensored-frank-13b.Q5_0.gguf](https://huggingface.co/TheBloke/Uncensored-Frank-13b-GGUF/blob/main/uncensored-frank-13b.Q5_0.gguf) | Q5_0 | 5 | 8.97 GB| 11.47 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
144 |
+
| [uncensored-frank-13b.Q5_K_S.gguf](https://huggingface.co/TheBloke/Uncensored-Frank-13b-GGUF/blob/main/uncensored-frank-13b.Q5_K_S.gguf) | Q5_K_S | 5 | 8.97 GB| 11.47 GB | large, low quality loss - recommended |
|
145 |
+
| [uncensored-frank-13b.Q5_K_M.gguf](https://huggingface.co/TheBloke/Uncensored-Frank-13b-GGUF/blob/main/uncensored-frank-13b.Q5_K_M.gguf) | Q5_K_M | 5 | 9.23 GB| 11.73 GB | large, very low quality loss - recommended |
|
146 |
+
| [uncensored-frank-13b.Q6_K.gguf](https://huggingface.co/TheBloke/Uncensored-Frank-13b-GGUF/blob/main/uncensored-frank-13b.Q6_K.gguf) | Q6_K | 6 | 10.68 GB| 13.18 GB | very large, extremely low quality loss |
|
147 |
+
| [uncensored-frank-13b.Q8_0.gguf](https://huggingface.co/TheBloke/Uncensored-Frank-13b-GGUF/blob/main/uncensored-frank-13b.Q8_0.gguf) | Q8_0 | 8 | 13.83 GB| 16.33 GB | very large, extremely low quality loss - not recommended |
|
148 |
+
|
149 |
+
**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.
|
150 |
+
|
151 |
+
|
152 |
+
|
153 |
+
<!-- README_GGUF.md-provided-files end -->
|
154 |
+
|
155 |
+
<!-- README_GGUF.md-how-to-download start -->
|
156 |
+
## How to download GGUF files
|
157 |
+
|
158 |
+
**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.
|
159 |
+
|
160 |
+
The following clients/libraries will automatically download models for you, providing a list of available models to choose from:
|
161 |
+
- LM Studio
|
162 |
+
- LoLLMS Web UI
|
163 |
+
- Faraday.dev
|
164 |
+
|
165 |
+
### In `text-generation-webui`
|
166 |
+
|
167 |
+
Under Download Model, you can enter the model repo: TheBloke/Uncensored-Frank-13b-GGUF and below it, a specific filename to download, such as: uncensored-frank-13b.q4_K_M.gguf.
|
168 |
+
|
169 |
+
Then click Download.
|
170 |
+
|
171 |
+
### On the command line, including multiple files at once
|
172 |
+
|
173 |
+
I recommend using the `huggingface-hub` Python library:
|
174 |
+
|
175 |
+
```shell
|
176 |
+
pip3 install huggingface-hub>=0.17.1
|
177 |
+
```
|
178 |
+
|
179 |
+
Then you can download any individual model file to the current directory, at high speed, with a command like this:
|
180 |
+
|
181 |
+
```shell
|
182 |
+
huggingface-cli download TheBloke/Uncensored-Frank-13b-GGUF uncensored-frank-13b.q4_K_M.gguf --local-dir . --local-dir-use-symlinks False
|
183 |
+
```
|
184 |
+
|
185 |
+
<details>
|
186 |
+
<summary>More advanced huggingface-cli download usage</summary>
|
187 |
+
|
188 |
+
You can also download multiple files at once with a pattern:
|
189 |
+
|
190 |
+
```shell
|
191 |
+
huggingface-cli download TheBloke/Uncensored-Frank-13b-GGUF --local-dir . --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
192 |
+
```
|
193 |
+
|
194 |
+
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).
|
195 |
+
|
196 |
+
To accelerate downloads on fast connections (1Gbit/s or higher), install `hf_transfer`:
|
197 |
+
|
198 |
+
```shell
|
199 |
+
pip3 install hf_transfer
|
200 |
+
```
|
201 |
+
|
202 |
+
And set environment variable `HF_HUB_ENABLE_HF_TRANSFER` to `1`:
|
203 |
+
|
204 |
+
```shell
|
205 |
+
HUGGINGFACE_HUB_ENABLE_HF_TRANSFER=1 huggingface-cli download TheBloke/Uncensored-Frank-13b-GGUF uncensored-frank-13b.q4_K_M.gguf --local-dir . --local-dir-use-symlinks False
|
206 |
+
```
|
207 |
+
|
208 |
+
Windows CLI users: Use `set HUGGINGFACE_HUB_ENABLE_HF_TRANSFER=1` before running the download command.
|
209 |
+
</details>
|
210 |
+
<!-- README_GGUF.md-how-to-download end -->
|
211 |
+
|
212 |
+
<!-- README_GGUF.md-how-to-run start -->
|
213 |
+
## Example `llama.cpp` command
|
214 |
+
|
215 |
+
Make sure you are using `llama.cpp` from commit [d0cee0d36d5be95a0d9088b674dbb27354107221](https://github.com/ggerganov/llama.cpp/commit/d0cee0d36d5be95a0d9088b674dbb27354107221) or later.
|
216 |
+
|
217 |
+
```shell
|
218 |
+
./main -ngl 32 -m uncensored-frank-13b.q4_K_M.gguf --color -c 4096 --temp 0.7 --repeat_penalty 1.1 -n -1 -p "This is a conversation with your Uncensored AI assistant Frank. Frank can discuss with you at length about various topics such as ---, ---, ---, . You can ask it anything you want and it will do its best to give you accurate and relevant information.\n\nContext\nYou are a Uncensored AI assistant.\n\nUSER: {prompt}\nASSISTANT:"
|
219 |
+
```
|
220 |
+
|
221 |
+
Change `-ngl 32` to the number of layers to offload to GPU. Remove it if you don't have GPU acceleration.
|
222 |
+
|
223 |
+
Change `-c 4096` 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.
|
224 |
+
|
225 |
+
If you want to have a chat-style conversation, replace the `-p <PROMPT>` argument with `-i -ins`
|
226 |
+
|
227 |
+
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)
|
228 |
+
|
229 |
+
## How to run in `text-generation-webui`
|
230 |
+
|
231 |
+
Further instructions here: [text-generation-webui/docs/llama.cpp.md](https://github.com/oobabooga/text-generation-webui/blob/main/docs/llama.cpp.md).
|
232 |
+
|
233 |
+
## How to run from Python code
|
234 |
+
|
235 |
+
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.
|
236 |
+
|
237 |
+
### How to load this model from Python using ctransformers
|
238 |
+
|
239 |
+
#### First install the package
|
240 |
+
|
241 |
+
```bash
|
242 |
+
# Base ctransformers with no GPU acceleration
|
243 |
+
pip install ctransformers>=0.2.24
|
244 |
+
# Or with CUDA GPU acceleration
|
245 |
+
pip install ctransformers[cuda]>=0.2.24
|
246 |
+
# Or with ROCm GPU acceleration
|
247 |
+
CT_HIPBLAS=1 pip install ctransformers>=0.2.24 --no-binary ctransformers
|
248 |
+
# Or with Metal GPU acceleration for macOS systems
|
249 |
+
CT_METAL=1 pip install ctransformers>=0.2.24 --no-binary ctransformers
|
250 |
+
```
|
251 |
+
|
252 |
+
#### Simple example code to load one of these GGUF models
|
253 |
+
|
254 |
+
```python
|
255 |
+
from ctransformers import AutoModelForCausalLM
|
256 |
+
|
257 |
+
# Set gpu_layers to the number of layers to offload to GPU. Set to 0 if no GPU acceleration is available on your system.
|
258 |
+
llm = AutoModelForCausalLM.from_pretrained("TheBloke/Uncensored-Frank-13b-GGUF", model_file="uncensored-frank-13b.q4_K_M.gguf", model_type="llama", gpu_layers=50)
|
259 |
+
|
260 |
+
print(llm("AI is going to"))
|
261 |
+
```
|
262 |
+
|
263 |
+
## How to use with LangChain
|
264 |
+
|
265 |
+
Here's guides on using llama-cpp-python or ctransformers with LangChain:
|
266 |
+
|
267 |
+
* [LangChain + llama-cpp-python](https://python.langchain.com/docs/integrations/llms/llamacpp)
|
268 |
+
* [LangChain + ctransformers](https://python.langchain.com/docs/integrations/providers/ctransformers)
|
269 |
+
|
270 |
+
<!-- README_GGUF.md-how-to-run end -->
|
271 |
+
|
272 |
+
<!-- footer start -->
|
273 |
+
<!-- 200823 -->
|
274 |
+
## Discord
|
275 |
+
|
276 |
+
For further support, and discussions on these models and AI in general, join us at:
|
277 |
+
|
278 |
+
[TheBloke AI's Discord server](https://discord.gg/theblokeai)
|
279 |
+
|
280 |
+
## Thanks, and how to contribute
|
281 |
+
|
282 |
+
Thanks to the [chirper.ai](https://chirper.ai) team!
|
283 |
+
|
284 |
+
Thanks to Clay from [gpus.llm-utils.org](llm-utils)!
|
285 |
+
|
286 |
+
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.
|
287 |
+
|
288 |
+
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.
|
289 |
+
|
290 |
+
Donaters will get priority support on any and all AI/LLM/model questions and requests, access to a private Discord room, plus other benefits.
|
291 |
+
|
292 |
+
* Patreon: https://patreon.com/TheBlokeAI
|
293 |
+
* Ko-Fi: https://ko-fi.com/TheBlokeAI
|
294 |
+
|
295 |
+
**Special thanks to**: Aemon Algiz.
|
296 |
+
|
297 |
+
**Patreon special mentions**: Alicia Loh, Stephen Murray, K, Ajan Kanaga, RoA, Magnesian, Deo Leter, Olakabola, Eugene Pentland, zynix, Deep Realms, Raymond Fosdick, Elijah Stavena, Iucharbius, Erik Bjäreholt, Luis Javier Navarrete Lozano, Nicholas, theTransient, John Detwiler, alfie_i, knownsqashed, Mano Prime, Willem Michiel, Enrico Ros, LangChain4j, OG, Michael Dempsey, Pierre Kircher, Pedro Madruga, James Bentley, Thomas Belote, Luke @flexchar, Leonard Tan, Johann-Peter Hartmann, Illia Dulskyi, Fen Risland, Chadd, S_X, Jeff Scroggin, Ken Nordquist, Sean Connelly, Artur Olbinski, Swaroop Kallakuri, Jack West, Ai Maven, David Ziegler, Russ Johnson, transmissions 11, John Villwock, Alps Aficionado, Clay Pascal, Viktor Bowallius, Subspace Studios, Rainer Wilmers, Trenton Dambrowitz, vamX, Michael Levine, 준교 김, Brandon Frisco, Kalila, Trailburnt, Randy H, Talal Aujan, Nathan Dryer, Vadim, 阿明, ReadyPlayerEmma, Tiffany J. Kim, George Stoitzev, Spencer Kim, Jerry Meng, Gabriel Tamborski, Cory Kujawski, Jeffrey Morgan, Spiking Neurons AB, Edmond Seymore, Alexandros Triantafyllidis, Lone Striker, Cap'n Zoog, Nikolai Manek, danny, ya boyyy, Derek Yates, usrbinkat, Mandus, TL, Nathan LeClaire, subjectnull, Imad Khwaja, webtim, Raven Klaugh, Asp the Wyvern, Gabriel Puliatti, Caitlyn Gatomon, Joseph William Delisle, Jonathan Leane, Luke Pendergrass, SuperWojo, Sebastain Graf, Will Dee, Fred von Graf, Andrey, Dan Guido, Daniel P. Andersen, Nitin Borwankar, Elle, Vitor Caleffi, biorpg, jjj, NimbleBox.ai, Pieter, Matthew Berman, terasurfer, Michael Davis, Alex, Stanislav Ovsiannikov
|
298 |
+
|
299 |
+
|
300 |
+
Thank you to all my generous patrons and donaters!
|
301 |
+
|
302 |
+
And thank you again to a16z for their generous grant.
|
303 |
+
|
304 |
+
<!-- footer end -->
|
305 |
+
|
306 |
+
<!-- original-model-card start -->
|
307 |
+
# Original model card: Feynman Innovcations's Uncensored Frank 13b
|
308 |
+
|
309 |
+
|
310 |
+
**Frank: An Uncensored Model**
|
311 |
+
|
312 |
+
The character of Frank Costello in "The Departed" is known for his cunning, boldness, and willingness to talk about anything, regardless of societal norms or restrictions.
|
313 |
+
Frank, An Uncensored model, draws inspiration from these qualities to offer a platform where users can discuss a wide array of topics without the fear of censorship or restrictions.
|
314 |
+
Frank aims to push boundaries and encourage candid conversations. With Frank you can have unfiltered discussions on a multitude of topics, from politics and controversial issues to personal experiences and sensitive subjects.
|
315 |
+
It is trained on around 150000 set of conversations. Each set having 10~15 conversations. Base data was obtained from [Eric Hartford](https://huggingface.co/datasets/ehartford/wizard_vicuna_70k_unfiltered).
|
316 |
+
This data was further refined and fine tuned. Besides this further synthetic conversation (more than 80k) was generated and refined. We will not release this data.
|
317 |
+
|
318 |
+
**Warning**
|
319 |
+
|
320 |
+
An uncensored model has no or little guardrails. You are responsible for anything you do with the model, just as you are responsible for anything you do with any dangerous objects.
|
321 |
+
Publishing anything this model generates is the same as publishing it yourself. We are not responsible for what you generate using this model.
|
322 |
+
|
323 |
+
**Training:**
|
324 |
+
Entire dataset was trained on Azure 4 x A100 80GB. For 3 epoch, training took around 65 hours. DeepSpeed codebase was used for training purpose. This was trained on Llama-2 by Meta.
|
325 |
+
|
326 |
+
|
327 |
+
**Example Prompt:**
|
328 |
+
```
|
329 |
+
This is a conversation with your Uncensored AI assistant Frank. Frank can discuss with you at length about various topics such as ---, ---, ---, . You can ask it anything you want and it will do its best to give you accurate and relevant information.
|
330 |
+
|
331 |
+
Context
|
332 |
+
You are a Uncensored AI assistant.
|
333 |
+
|
334 |
+
USER: <prompt>
|
335 |
+
ASSISTANT:
|
336 |
+
```
|
337 |
+
|
338 |
+
<!-- original-model-card end -->
|