New Tool Radar

Local AI

How to Save and Load Generation Presets in Text Generation WebUI

Save a combination of generation parameters as a named preset in Text Generation WebUI, then load it again whenever you want the same settings back.

Schematic diagram with three steps: load a built-in preset for your mode, save your own combination under a name, then pick that name from the menu to reuse it.

Tuning temperature, top-p, top-k, and the repetition penalty by hand every session is slow, and a combination that worked well is easy to lose. The preset menu in the Parameters tab exists for exactly this: it can be used to save and load combinations of parameters for reuse. Load a built-in preset to start from, save your own when you find settings you like, and load it again whenever you want them back.

Load a built-in preset first

Open the Parameters tab and look at the preset menu. The project’s own docs list the built-in presets, which were chosen after a blind contest called “Preset Arena” where hundreds of people voted. The docs’ key takeaway is that the best presets are different for the two modes: for Instruct, Divine Intellect, Big O, and simple-1; for Chat, Midnight Enigma, Yara, and Shortwave. The other presets are Mirostat, a special decoding technique first implemented in llama.cpp and then adapted into this project for all loaders; LLaMA-Precise, a legacy preset that was the default for the web UI before the Preset Arena; and Debug-deterministic, which disables sampling and is useful for debugging, or if you intentionally want to use greedy decoding. Pick the preset that matches the mode you are using and watch the parameter fields change to that preset’s values.

Save your own combination

Set the parameters to values you like — for example a temperature, top_p, top_k, and repetition_penalty combination that gave good replies — then use the preset menu to save the current combination under a name of your own. Switch to a different preset, then pick your saved name from the menu again: the values should return to the ones you saved. If you are stuck in a loop of bad generations after several “Regenerate” attempts, try the dice button in the preset menu instead: it creates a random yet interpretable preset, with only one parameter from each category — top_p and top_k are not mixed, and neither are repetition_penalty and frequency_penalty.

Check What you should see If you do not see it
Built-in loads Picking “simple-1” for Instruct or “Midnight Enigma” for Chat changes the parameter fields to that preset’s values You picked a preset whose values already match the current ones — try a different one
Debug-deterministic With sampling disabled, the same prompt twice gives the same reply You are not on Debug-deterministic — check the preset menu
Saved Your preset name appears in the preset menu It was not saved — save the combination again from the preset menu
Restored After switching away and back, your temperature, top_p, top_k, and repetition_penalty are the values you saved You loaded a different preset — pick your saved name again

Expected result. We checked Text Generation WebUI’s own Parameters Tab docs for the preset menu, the dice button, and the built-in preset list with the Preset Arena results. We did not run Text Generation WebUI.

Limits

A preset only stores generation parameters — not the model, the character, or the instruction template, which are set elsewhere. The built-in preset names are the docs’ own, and the docs list different best presets for Instruct and Chat, so a preset that works well for chat may be wrong for instruct mode. The dice button’s preset is random, so treat it as a starting point to break out of bad generations, not as a recommendation. We did not run Text Generation WebUI, so no setting here is a recorded result.

Sources

See all