parameters guide
samplers guide
model generation
role play settings
quant selection
arm quants
iq quants vs q quants
optimal model setting
gibberish fixes
coherence
instructing following
quality generation
chat settings
quality settings
llamacpp server
llamacpp
lmstudio
sillytavern
koboldcpp
backyard
ollama
model generation steering
steering
model generation fixes
text generation webui
ggufs
exl2
full precision
quants
imatrix
neo imatrix
llama
llama-3
gemma
gemma2
gemma3
llama-2
llama-3.1
llama-3.2
mistral
Mixture of Experts
mixture of experts
mixtral
Update README.md
Browse files
README.md
CHANGED
|
@@ -232,15 +232,21 @@ DRY
|
|
| 232 |
- https://www.reddit.com/r/KoboldAI/comments/1e49vpt/dry_sampler_questionsthat_im_sure_most_of_us_are/
|
| 233 |
- https://www.reddit.com/r/KoboldAI/comments/1eo4r6q/dry_settings_questions/
|
| 234 |
|
| 235 |
-
Samplers
|
| 236 |
|
| 237 |
-
|
| 238 |
|
| 239 |
-
|
| 240 |
|
| 241 |
-
|
| 242 |
|
| 243 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 244 |
|
| 245 |
LLAMACPP-SERVER EXE:
|
| 246 |
|
|
@@ -248,6 +254,10 @@ https://github.com/ggerganov/llama.cpp/blob/master/examples/server/README.md
|
|
| 248 |
|
| 249 |
I have also added notes too in the sections below as well.
|
| 250 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 251 |
---
|
| 252 |
|
| 253 |
<h2>Class 1, 2, 3 and 4 model critical notes:</h2>
|
|
@@ -316,7 +326,7 @@ Generally it is recommended to run the highest quant(s) you can on your machine
|
|
| 316 |
|
| 317 |
The smaller the size of model, the greater the contrast between the smallest quant and largest quant in terms of operation, quality, nuance and general overall function.
|
| 318 |
|
| 319 |
-
There is an exception to this , see "Neo Imatrix" below.
|
| 320 |
|
| 321 |
IMATRIX:
|
| 322 |
|
|
@@ -356,6 +366,32 @@ The Imatrix process has NO effect on Q8 or F16 quants.
|
|
| 356 |
|
| 357 |
F16 is full precision, just in GGUF format.
|
| 358 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 359 |
<B>NEO Imatrix Quants / Neo Imatrix X Quants</B>
|
| 360 |
|
| 361 |
NEO Imatrix quants are specialized and specifically "themed" datasets used to slightly alter the weights in a model. All Imatrix datasets do this to some degree or another, however NEO Imatrix datasets
|
|
|
|
| 232 |
- https://www.reddit.com/r/KoboldAI/comments/1e49vpt/dry_sampler_questionsthat_im_sure_most_of_us_are/
|
| 233 |
- https://www.reddit.com/r/KoboldAI/comments/1eo4r6q/dry_settings_questions/
|
| 234 |
|
| 235 |
+
Samplers:
|
| 236 |
|
| 237 |
+
https://gist.github.com/kalomaze/4473f3f975ff5e5fade06e632498f73e
|
| 238 |
|
| 239 |
+
Creative Writing :
|
| 240 |
|
| 241 |
+
https://www.reddit.com/r/LocalLLaMA/comments/1c36ieb/comparing_sampling_techniques_for_creative/
|
| 242 |
|
| 243 |
+
General Parameters:
|
| 244 |
+
|
| 245 |
+
https://arxiv.org/html/2408.13586v1
|
| 246 |
+
|
| 247 |
+
Benchmarking-and-Guiding-Adaptive-Sampling-Decoding
|
| 248 |
+
|
| 249 |
+
https://github.com/ZhouYuxuanYX/Benchmarking-and-Guiding-Adaptive-Sampling-Decoding-for-LLMs
|
| 250 |
|
| 251 |
LLAMACPP-SERVER EXE:
|
| 252 |
|
|
|
|
| 254 |
|
| 255 |
I have also added notes too in the sections below as well.
|
| 256 |
|
| 257 |
+
OTHER:
|
| 258 |
+
|
| 259 |
+
Depending on the AI/LLM "apps" you are using, additional reference material for parameters / samplers may also exist.
|
| 260 |
+
|
| 261 |
---
|
| 262 |
|
| 263 |
<h2>Class 1, 2, 3 and 4 model critical notes:</h2>
|
|
|
|
| 326 |
|
| 327 |
The smaller the size of model, the greater the contrast between the smallest quant and largest quant in terms of operation, quality, nuance and general overall function.
|
| 328 |
|
| 329 |
+
There is an exception to this , see "Neo Imatrix" below and "all quants" (cpu only operation).
|
| 330 |
|
| 331 |
IMATRIX:
|
| 332 |
|
|
|
|
| 366 |
|
| 367 |
F16 is full precision, just in GGUF format.
|
| 368 |
|
| 369 |
+
CPU ONLY CONSIDERATIONS:
|
| 370 |
+
|
| 371 |
+
This section DOES NOT apply to most "Macs" because of the difference in O/S Memory, Vram and motherboard VS other frameworks)
|
| 372 |
+
|
| 373 |
+
Running quants on CPU will be a lot slower than running them on a video card(s).
|
| 374 |
+
|
| 375 |
+
In this special case however it may be preferred to run AS SMALL a quant as possible for token per second generation reasons.
|
| 376 |
+
|
| 377 |
+
On a top, high end (and relatively new) CPU expect token per second speeds to be 1/4 (or less) a standard middle of the road video card.
|
| 378 |
+
|
| 379 |
+
Older machines/cpus will be a lot slower - but models will STILL run on these as long as you have enough ram.
|
| 380 |
+
|
| 381 |
+
Here are some rough comparisons:
|
| 382 |
+
|
| 383 |
+
On my video card (Nvidia 16GB 4060TI) I get 160-190 tokens per second with 1B LLama 3.2 Instruct, CPU speeds are 50-60 token per second.
|
| 384 |
+
|
| 385 |
+
On my much older machine (8 years old)(2 core), token per second speed (same 1B model) is in the 10ish token per second (CPU).
|
| 386 |
+
|
| 387 |
+
Roughly 8B-12B models are limit for CPU only operation (in terms of "usable" tokens/second) - at the moment.
|
| 388 |
+
|
| 389 |
+
This is changing as new cpus come out, designed for AI usage.
|
| 390 |
+
|
| 391 |
+
ARM QUANTS:
|
| 392 |
+
|
| 393 |
+
These are new quants that are specifically for computers/devices that can run "ARM" quants. If you try to run these on a "non arm" machine/device, the token per second will be VERY SLOW.
|
| 394 |
+
|
| 395 |
<B>NEO Imatrix Quants / Neo Imatrix X Quants</B>
|
| 396 |
|
| 397 |
NEO Imatrix quants are specialized and specifically "themed" datasets used to slightly alter the weights in a model. All Imatrix datasets do this to some degree or another, however NEO Imatrix datasets
|