Triangle104
commited on
Commit
•
10eaa45
1
Parent(s):
f890946
Update README.md
Browse files
README.md
CHANGED
@@ -111,6 +111,83 @@ model-index:
|
|
111 |
This model was converted to GGUF format from [`invisietch/MiS-Firefly-v0.2-22B`](https://huggingface.co/invisietch/MiS-Firefly-v0.2-22B) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
112 |
Refer to the [original model card](https://huggingface.co/invisietch/MiS-Firefly-v0.2-22B) for more details on the model.
|
113 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
114 |
## Use with llama.cpp
|
115 |
Install llama.cpp through brew (works on Mac and Linux)
|
116 |
|
|
|
111 |
This model was converted to GGUF format from [`invisietch/MiS-Firefly-v0.2-22B`](https://huggingface.co/invisietch/MiS-Firefly-v0.2-22B) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
112 |
Refer to the [original model card](https://huggingface.co/invisietch/MiS-Firefly-v0.2-22B) for more details on the model.
|
113 |
|
114 |
+
---
|
115 |
+
Model details:
|
116 |
+
-
|
117 |
+
This is a fix for the quantization issue in Firefly v0.1.
|
118 |
+
|
119 |
+
Firefly is a Mistral Small 22B finetune designed for creative writing and roleplay. The model is largely uncensored and should support context up to 32,768 tokens.
|
120 |
+
|
121 |
+
The model has been tested in various roleplay scenarios up to 16k context, as well as in a role as an assistant. It shows a broad competency & coherence across various scenarios.
|
122 |
+
|
123 |
+
Special thanks to SicariusSicariiStuff for bouncing ideas back & forth on training, and SytanSD for quants.
|
124 |
+
|
125 |
+
Feedback
|
126 |
+
-
|
127 |
+
I appreciate all feedback on any of my models, you can use:
|
128 |
+
|
129 |
+
My Discord server - requires Discord.
|
130 |
+
The Community tab - requires HF login.
|
131 |
+
Discord DMs to invisietch.
|
132 |
+
|
133 |
+
Your feedback is how I improve these models for future versions.
|
134 |
+
|
135 |
+
Disclaimer
|
136 |
+
-
|
137 |
+
This model is extensively uncensored. It can generate explicit, disturbing or offensive responses. Use responsibly. I am not responsible for your use of this model.
|
138 |
+
|
139 |
+
This model is a finetune of Mistral Small 22B (2409) and usage must follow the terms of Mistral's license. By downloading this model, you agree not to use it for commercial purposes unless you have a valid Mistral commercial license. See the base model card for more details.
|
140 |
+
|
141 |
+
Prompting Format
|
142 |
+
-
|
143 |
+
I'd recommend Mistral v2 & v3 prompting format:
|
144 |
+
|
145 |
+
<s>[INST] User message here.[/INST] Bot response here</s>[INST] User message 2 here.[/INST]
|
146 |
+
|
147 |
+
If you're using SillyTavern, make sure the story string is set correctly to Mistral v2 & v3 (not v3 Tekken):
|
148 |
+
|
149 |
+
[INST] {{#if system}}{{system}}
|
150 |
+
{{/if}}{{#if wiBefore}}{{wiBefore}}
|
151 |
+
{{/if}}{{#if description}}{{description}}
|
152 |
+
{{/if}}{{#if personality}}{{personality}}
|
153 |
+
{{/if}}{{#if scenario}}{{scenario}}
|
154 |
+
{{/if}}{{#if wiAfter}}{{wiAfter}}
|
155 |
+
{{/if}}{{#if persona}}{{persona}}
|
156 |
+
{{/if}}{{trim}}[/INST] Understood.</s>
|
157 |
+
|
158 |
+
The model seems very sensitive to wrong prompting formats.
|
159 |
+
|
160 |
+
Sampler Settings
|
161 |
+
-
|
162 |
+
I'm running the following sampler settings but this is an RC and they may not be optimal.
|
163 |
+
|
164 |
+
Temperature: 1
|
165 |
+
Min-P: 0.1
|
166 |
+
Rep Pen: 1.08
|
167 |
+
Rep Pen Range: 1536
|
168 |
+
XTC: 0.1/0.15
|
169 |
+
|
170 |
+
If you get completely incoherent responses, feel free to use these as a starting point.
|
171 |
+
|
172 |
+
High temperature settings (above 1) tend to create less coherent responses.
|
173 |
+
|
174 |
+
Training Strategy
|
175 |
+
-
|
176 |
+
I started with a finetune of Mistral Small 22B which had been trained on the Gutenberg dataset: nbeerbower/Mistral-Small-Gutenberg-Doppel-22B.
|
177 |
+
|
178 |
+
The first stage of my training was a single epoch at low LR over a 474 million token text completion dataset.
|
179 |
+
|
180 |
+
I followed this up with a coherence, decensorship & roleplay finetune over a 172 million token instruct dataset over two epochs.
|
181 |
+
|
182 |
+
I did a slerp merge of epoch 1 into epoch 2 at a light weight which resolved the name-spelling issues on quantized versions of Firefly v0.1.
|
183 |
+
|
184 |
+
Total training time was about 32hrs on 4x Nvidia A100 80GB.
|
185 |
+
|
186 |
+
Built with Axolotl
|
187 |
+
|
188 |
+
# [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard) Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/details_invisietch__MiS-Firefly-v0.2-22B)
|
189 |
+
|
190 |
+
---
|
191 |
## Use with llama.cpp
|
192 |
Install llama.cpp through brew (works on Mac and Linux)
|
193 |
|