readme : list possible token healing values

This commit is contained in:
mare5x 2024-07-08 15:53:23 +02:00
parent b317368191
commit 940ab81784

View file

@ -436,7 +436,7 @@ node index.js
`json_schema`: Set a JSON schema for grammar-based sampling (e.g. `{"items": {"type": "string"}, "minItems": 10, "maxItems": 100}` of a list of strings, or `{}` for any JSON). See [tests](../../tests/test-json-schema-to-grammar.cpp) for supported features. Default: no JSON schema.
`token_healing`: Set token healing strategy. Default: `0`, which is disabled.
`token_healing`: Set the token healing strategy. Default: `0`, which is disabled. Possible values: `1` to replace one token, `d1` to replace the longest suffix with a single token, `d` to replace the longest suffix, `rN` to roll back N tokens (e.g. `r3`). See [here](../main/README.md#token-healing) for more details.
`seed`: Set the random number generator (RNG) seed. Default: `-1`, which is a random seed.