You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tools/main/README.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -296,6 +296,13 @@ Being experimental and unique, XTC is disabled by default. The recommended combi
296
296
297
297
Example usage: `--xtc-probability 0.5 --xtc-threshold 0.1`
298
298
299
+
### Smoothing / Quadratic Sampling
300
+
301
+
-`--smoothing-factor N`: Set the smoothing factor for smoothing / quadratic sampling (default: 0.0).
302
+
-`--smoothing-curve N`: Set the cubic transformation curve for smoothing / quadratic sampling (default: 1.0).
303
+
304
+
Smoothing / Quadratic Sampling is a sampler that modifies the probability of each token instead of removing tokens, similar to what temperature does. (TODO: finish this part)
305
+
299
306
### Top-nσ Sampling
300
307
301
308
-`--top-nsigma N`: Limit the next token selection to a subset of tokens with pre-softmax logits that are within n * σ less than the max logit (default: -1, -1 = disabled).
@@ -447,6 +449,10 @@ These words will not be included in the completion, so make sure to add them to
447
449
448
450
`xtc_threshold`: Set a minimum probability threshold for tokens to be removed via XTC sampler. Default: `0.1` (> `0.5` disables XTC)
449
451
452
+
`smoothing_factor`: Set the smoothing factor for smoothing / quadratic sampling. Default: `0.0`, which is disabled.
453
+
454
+
`smoothing_curve`: Set the cubic transformation curve for smoothing / quadratic sampling. Default: `1.0`, which makes it behaves like the original quadratic sampler.
455
+
450
456
`mirostat`: Enable Mirostat sampling, controlling perplexity during text generation. Default: `0`, where `0` is disabled, `1` is Mirostat, and `2` is Mirostat 2.0.
451
457
452
458
`mirostat_tau`: Set the Mirostat target entropy, parameter tau. Default: `5.0`
0 commit comments