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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: llama3.2
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
base_model:
|
6 |
+
- meta-llama/Llama-3.2-1B-Instruct
|
7 |
+
---
|
8 |
+
|
9 |
+
<div align="center">
|
10 |
+
<b style="font-size: 40px;">Nano_Imp_1B</b>
|
11 |
+
|
12 |
+
|
13 |
+
</div>
|
14 |
+
|
15 |
+
|
16 |
+
<img src="https://huggingface.co/SicariusSicariiStuff/Nano_Imp_1B/resolve/main/Images/Nano_Imp_1B.png" alt="Nano_Imp_1B" style="width: 50%; min-width: 500px; display: block; margin: auto;">
|
17 |
+
|
18 |
+
|
19 |
+
---
|
20 |
+
|
21 |
+
<a href="https://huggingface.co/SicariusSicariiStuff/Nano_Imp_1B#tldr" style="color: purple; font-weight: bold; font-size: 48px; text-decoration: none; display: block; text-align: center;">Click here for TL;DR</a>
|
22 |
+
|
23 |
+
---
|
24 |
+
|
25 |
+
It's the **10th of May, 2025**—lots of progress is being made in the world of AI (DeepSeek, Qwen, etc...)—but still, there has yet to be a fully coherent **1B RP model**. Why?
|
26 |
+
|
27 |
+
Well, at **1B size**, the mere fact a model is even coherent is some kind of a marvel—and getting it to roleplay feels like you're asking too much from 1B parameters. Making very small yet smart models is quite hard, making one that does RP is exceedingly hard. I should know.
|
28 |
+
|
29 |
+
I've made the world's first **3B roleplay** model—[Impish_LLAMA_3B](https://huggingface.co/SicariusSicariiStuff/Impish_LLAMA_3B)—and I thought that this was the absolute minimum size for coherency and RP capabilities. I was **wrong.**
|
30 |
+
|
31 |
+
One of my stated goals was to make AI accessible and available for everyone—but not everyone could run **13B** or even **8B** models. Some people only have mid-tier phones, should they be left behind?
|
32 |
+
|
33 |
+
A growing sentiment often says something along the lines of:
|
34 |
+
> If your waifu runs on someone else's hardware—then she's not your waifu.
|
35 |
+
|
36 |
+
I'm not an expert in waifu culture, but I do agree that people should be able to run models locally, without their data (knowingly or unknowingly) being used for X or Y.
|
37 |
+
|
38 |
+
I thought my goal of making a roleplay model that everyone could run would only be realized sometime in the future—when mid-tier phones got the equivalent of a high-end Snapdragon chipset. Again I was wrong, as this changes **today.**
|
39 |
+
|
40 |
+
---
|
41 |
+
|
42 |
+
Today, the 10th of May 2025, I proudly present to you—**Nano_Imp_1B**, the world's first and **only** fully coherent **1B-parameter roleplay model**.
|
43 |
+
|
44 |
+
---
|
45 |
+
|
46 |
+
## Example dialogue (3-shot):
|
47 |
+
|
48 |
+
<img src="https://huggingface.co/SicariusSicariiStuff/Nano_Imp_1B/resolve/main/Images/Example.png" alt="Nano_Imp_1B_Example" style="width: 100%; min-width: 700px; display: block; margin: auto;">
|
49 |
+
|
50 |
+
---
|
51 |
+
|
52 |
+
# Included Character cards in this repo:
|
53 |
+
|
54 |
+
- [Nano_Imp](https://huggingface.co/SicariusSicariiStuff/Nano_Imp_1B/resolve/main/Character_Cards/Nano_Imp.png) (A shrunken palm-sized hellspawn who wants your soul)
|
55 |
+
|
56 |
+
---
|
57 |
+
|
58 |
+
# Other character cards:
|
59 |
+
|
60 |
+
- [Takai_Puraisu](https://huggingface.co/SicariusSicariiStuff/Oni_Mitsubishi_12B/resolve/main/Character_Cards/Takai_Puraisu.png) (Car dealership simulator)
|
61 |
+
- [Vesper](https://huggingface.co/SicariusSicariiStuff/Phi-Line_14B/resolve/main/Character_Cards/Vesper.png) (Schizo **Space Adventure**)
|
62 |
+
- [Shmena Koeset](https://huggingface.co/SicariusSicariiStuff/Fiendish_LLAMA_3B/resolve/main/Character_Cards/Shmena_Koeset.png) (An overweight and foul-mouthed **troll huntress** with a bad temper.)
|
63 |
+
- [Nina_Nakamura](https://huggingface.co/SicariusSicariiStuff/Phi-Line_14B/resolve/main/Character_Cards/Nina_Nakamura.png) (The **sweetest** dorky co-worker)
|
64 |
+
- [Employe#11](https://huggingface.co/SicariusSicariiStuff/Phi-Line_14B/resolve/main/Character_Cards/Employee%2311.png) (**Schizo workplace** with a **schizo worker**)
|
65 |
+
|
66 |
+
---
|
67 |
+
|
68 |
+
### TL;DR
|
69 |
+
- **The first and only 1B RP model in the world**.
|
70 |
+
- Runs on anything. Don't have a GPU, and got an old CPU from 10 years ago instead? **It can run Nano_Imp_1B**.
|
71 |
+
- **Short length** response (1-2 paragraphs, usually 1), CAI style.
|
72 |
+
- Surprisngly coherent, the need of swipes is **inveitable** though.
|
73 |
+
- **quite good** at following the **character card**, this assumes sane generation settings, and once it **picked up the formatting**- this is **important**. Try the included characters if you're having sub-optimal results.
|
74 |
+
|
75 |
+
### Important: Make sure to use the correct settings!
|
76 |
+
[Assistant settings](https://huggingface.co/SicariusSicariiStuff/Nano_Imp_1B#recommended-settings-for-assistant-mode)
|
77 |
+
|
78 |
+
[Roleplay settings](https://huggingface.co/SicariusSicariiStuff/Nano_Imp_1B#recommended-settings-for-roleplay-mode)
|
79 |
+
|
80 |
+
|
81 |
+
---
|
82 |
+
|
83 |
+
## Nano_Imp_1B is available at the following quantizations:
|
84 |
+
|
85 |
+
- Original: [FP16](https://huggingface.co/SicariusSicariiStuff/Nano_Imp_1B)
|
86 |
+
- GGUF: [GGUF](https://huggingface.co/SicariusSicariiStuff/Nano_Imp_1B_GGUF)
|
87 |
+
- GPTQ: [4-Bit-32](https://huggingface.co/SicariusSicariiStuff/Nano_Imp_1B_GPTQ-4-bit-32)
|
88 |
+
- Specialized: [FP8](https://huggingface.co/SicariusSicariiStuff/Nano_Imp_1B_FP8)
|
89 |
+
- Mobile (ARM): [Q4_0](https://huggingface.co/SicariusSicariiStuff/Nano_Imp_1B_ARM)
|
90 |
+
---
|
91 |
+
|
92 |
+
## Model Details
|
93 |
+
|
94 |
+
- Intended use: **Role-Play**, **Basic** Creative Writing, **Basic** General Tasks.
|
95 |
+
|
96 |
+
- Censorship level: <b>Medium</b>
|
97 |
+
|
98 |
+
- **4.5 / 10** (10 completely uncensored)
|
99 |
+
|
100 |
+
|
101 |
+
## UGI score:
|
102 |
+
|
103 |
+
|
104 |
+
Pending
|
105 |
+
|
106 |
+
---
|
107 |
+
|
108 |
+
|
109 |
+
|
110 |
+
## Recommended settings for assistant mode
|
111 |
+
<details>
|
112 |
+
<summary>Full generation settings: <b>Debug Deterministic</b>.</summary>
|
113 |
+
|
114 |
+
<img src="https://huggingface.co/SicariusSicariiStuff/Dusk_Rainbow/resolve/main/Presets/Debug-deterministic.png" alt="Debug Deterministic_Settings" style="width: 100%; min-width: 600px; display: block; margin: auto;">
|
115 |
+
|
116 |
+
</details>
|
117 |
+
|
118 |
+
<details>
|
119 |
+
<summary>Full generation settings: <b>min_p</b>.</summary>
|
120 |
+
|
121 |
+
<img src="https://huggingface.co/SicariusSicariiStuff/Dusk_Rainbow/resolve/main/Presets/min_p.png" alt="min_P_Settings" style="width: 100%; min-width: 600px; display: block; margin: auto;">
|
122 |
+
|
123 |
+
</details>
|
124 |
+
|
125 |
+
---
|
126 |
+
|
127 |
+
## Recommended settings for Roleplay mode
|
128 |
+
---
|
129 |
+
|
130 |
+
<h2 style="color: green; font-weight: bold; font-size: 36px; text-align: center;">Settings for RP, click below to expand:</h2>
|
131 |
+
|
132 |
+
<details>
|
133 |
+
<summary><b>Roleplay settings:</b></summary>
|
134 |
+
A good repetition_penalty range is <b>between 1.12 - 1.15</b>, feel free to experiment.
|
135 |
+
|
136 |
+
With these settings, each output message should be neatly displayed in <b>1 - 5</b> paragraphs, <b>2 - 3</b> is the most common. A single paragraph will be output as a response to a simple message ("What was your name again?").
|
137 |
+
|
138 |
+
<b>min_P</b> for RP works too but is more likely to put everything under one large paragraph, instead of a neatly formatted short one. Feel free to switch in between.
|
139 |
+
|
140 |
+
<b>(Open the image in a new window to better see the full details)</b>
|
141 |
+
<img src="https://huggingface.co/SicariusSicariiStuff/Oni_Mitsubishi_12B/resolve/main/Presets/Oni_Mitsubishi_12B_RP.png" alt="Oni_Mitsubishi_12B_Settings" style="width: 100%; min-width: 600px; display: block; margin: auto;">
|
142 |
+
|
143 |
+
|
144 |
+
```
|
145 |
+
temperature: 0.8
|
146 |
+
top_p: 0.95
|
147 |
+
top_k: 25
|
148 |
+
typical_p: 1
|
149 |
+
min_p: 0
|
150 |
+
repetition_penalty: 1.12
|
151 |
+
repetition_penalty_range: 1024
|
152 |
+
```
|
153 |
+
|
154 |
+
</details>
|
155 |
+
|
156 |
+
|
157 |
+
<h2 style="color: darkorange; font-weight: bold; font-size: 65px; text-align: center;">Roleplay format: Classic Internet RP</h2>
|
158 |
+
|
159 |
+
```
|
160 |
+
*action* speech *narration*
|
161 |
+
```
|
162 |
+
|
163 |
+
- **min_p** will bias towards a **single big paragraph**.
|
164 |
+
- The recommended RP settings will bias towards **1-3 small paragraphs** (on some occasions 4-5)
|
165 |
+
|
166 |
+
---
|
167 |
+
|
168 |
+
|
169 |
+
|
170 |
+
|
171 |
+
# Model instruction template: Llama-3-Instruct
|
172 |
+
|
173 |
+
```
|
174 |
+
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
|
175 |
+
|
176 |
+
{system_prompt}<|eot_id|><|start_header_id|>user<|end_header_id|>
|
177 |
+
|
178 |
+
{input}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
|
179 |
+
|
180 |
+
{output}<|eot_id|>
|
181 |
+
```
|
182 |
+
|
183 |
+
---
|
184 |
+
|
185 |
+
**Other recommended generation Presets:**
|
186 |
+
|
187 |
+
<details>
|
188 |
+
<summary><b>Midnight Enigma</b></summary>
|
189 |
+
|
190 |
+
```
|
191 |
+
max_new_tokens: 512
|
192 |
+
temperature: 0.98
|
193 |
+
top_p: 0.37
|
194 |
+
top_k: 100
|
195 |
+
typical_p: 1
|
196 |
+
min_p: 0
|
197 |
+
repetition_penalty: 1.18
|
198 |
+
do_sample: True
|
199 |
+
```
|
200 |
+
|
201 |
+
|
202 |
+
</details>
|
203 |
+
|
204 |
+
|
205 |
+
<details>
|
206 |
+
<summary><b>Divine Intellect</b></summary>
|
207 |
+
|
208 |
+
```
|
209 |
+
max_new_tokens: 512
|
210 |
+
temperature: 1.31
|
211 |
+
top_p: 0.14
|
212 |
+
top_k: 49
|
213 |
+
typical_p: 1
|
214 |
+
min_p: 0
|
215 |
+
repetition_penalty: 1.17
|
216 |
+
do_sample: True
|
217 |
+
```
|
218 |
+
|
219 |
+
|
220 |
+
</details>
|
221 |
+
|
222 |
+
<details>
|
223 |
+
<summary><b>simple-1</b></summary>
|
224 |
+
|
225 |
+
```
|
226 |
+
max_new_tokens: 512
|
227 |
+
temperature: 0.7
|
228 |
+
top_p: 0.9
|
229 |
+
top_k: 20
|
230 |
+
typical_p: 1
|
231 |
+
min_p: 0
|
232 |
+
repetition_penalty: 1.15
|
233 |
+
do_sample: True
|
234 |
+
```
|
235 |
+
|
236 |
+
|
237 |
+
</details>
|
238 |
+
|
239 |
+
---
|
240 |
+
|
241 |
+
<h2 style="color: green; font-weight: bold; font-size: 65px; text-align: center;">Your support = more models</h2>
|
242 |
+
<a href="https://ko-fi.com/sicarius" style="color: pink; font-weight: bold; font-size: 48px; text-decoration: none; display: block; text-align: center;">My Ko-fi page (Click here)</a>
|
243 |
+
|
244 |
+
---
|
245 |
+
|
246 |
+
|
247 |
+
## Citation Information
|
248 |
+
|
249 |
+
```
|
250 |
+
@llm{Nano_Imp_1B,
|
251 |
+
author = {SicariusSicariiStuff},
|
252 |
+
title = {Nano_Imp_1B},
|
253 |
+
year = {2025},
|
254 |
+
publisher = {Hugging Face},
|
255 |
+
url = {https://huggingface.co/SicariusSicariiStuff/Nano_Imp_1B}
|
256 |
+
}
|
257 |
+
```
|
258 |
+
|
259 |
+
---
|
260 |
+
|
261 |
+
## Other stuff
|
262 |
+
- [SLOP_Detector](https://github.com/SicariusSicariiStuff/SLOP_Detector) Nuke GPTisms, with SLOP detector.
|
263 |
+
- [LLAMA-3_8B_Unaligned](https://huggingface.co/SicariusSicariiStuff/LLAMA-3_8B_Unaligned) The grand project that started it all.
|
264 |
+
- [Blog and updates (Archived)](https://huggingface.co/SicariusSicariiStuff/Blog_And_Updates) Some updates, some rambles, sort of a mix between a diary and a blog.
|