text-generation-webui / docs /Generation-parameters.md
yaoshining's picture
Add webui
ebf3d10

A newer version of the Gradio SDK is available: 5.5.0

Upgrade

Generation parameters

For a description of the generation parameters provided by the transformers library, see this link: https://huggingface.co/docs/transformers/main_classes/text_generation#transformers.GenerationConfig

llama.cpp

llama.cpp only uses the following parameters:

  • temperature
  • top_p
  • top_k
  • repetition_penalty
  • tfs
  • mirostat_mode
  • mirostat_tau
  • mirostat_eta

ExLlama

ExLlama only uses the following parameters:

  • temperature
  • top_p
  • top_k
  • repetition_penalty
  • typical_p

RWKV

RWKV only uses the following parameters when loaded through the old .pth weights:

  • temperature
  • top_p
  • top_k