Most local AI apps only do chat: you ask a question, the model answers. Text Generation WebUI (oobabooga) has a different tab for a different job. Its Notebook tab is for free-form text generation outside of chat turns — you write the start of a passage and the model continues it, in the same text box. That is the right tool when you are drafting a story, a paragraph, or a piece of prose and want the model to carry the text forward, not to answer you.
Open the Notebook tab
The project offers three interface modes: default (two columns), notebook, and chat. Load a model in the Model tab first, then switch to the Notebook tab. The Notebook tab is precisely the same thing as the Default tab, with one difference: the output appears in the same text box as the input, instead of in a separate Output box. The project’s own README describes the Notebook tab as free-form text generation outside of chat turns.
You can also launch straight into notebook mode from the command line: the --notebook flag launches the web UI in notebook mode, where the output is written to the same text box as the input.
Type the start of a passage and generate
Type an unfinished passage — not a question. For a practice check, type this opening line:
The lighthouse keeper named Mara checked the lamp at noon, and then
Then click Generate, which starts a new generation. The continuation appears in the same text box, directly after your opening line, so the passage reads as one piece of text. The number on the lower right of the input box counts the tokens in the input, which tells you how much of the model’s context your passage is using.
Continue, or regenerate from the same start
To carry the passage further, click Continue: it starts a new generation taking as input the text already in the box, so the model extends what it just wrote. If the continuation went in a direction you do not like, the Notebook tab has an extra button the Default tab does not: Regenerate uses your previous input for generation while discarding the last output, so you get a fresh continuation from the same opening line.
| Check | What you should see | If you do not see it |
|---|---|---|
| Tab | One text box holding your opening line, with Generate, Continue, and Regenerate below it | You are in the Chat tab — switch to the Notebook tab, which has no chat turns |
| Generated | The continuation appears in the same box, after “and then” | The model did not load — check the Model tab before generating |
| Continued | Continue extends the passage further in the same box | You clicked Generate again from the start — use Continue to extend, Generate to start fresh |
| Regenerated | Regenerate discards the last output and writes a new continuation from your opening line | The old continuation is still there — Regenerate is the Notebook tab’s own button, not the Chat tab’s |
Expected result. We checked the Text Generation WebUI wiki’s Default tab page for the Notebook tab, its Generate, Continue, and Regenerate buttons, and the project’s README for the three interface modes and the –notebook flag. We did not run Text Generation WebUI.
Limits
Notebook mode continues text; it does not answer questions. Handing it a question gets you a continuation of the question, not a chat reply — use the Chat tab for that. The continuation’s wording changes from run to run, and the model can drift off topic or repeat itself on a long passage; edit the text and generate again from the point you like. A chat prompt can also be sent to the Notebook tab from the Chat tab’s hover menu (“Send to Notebook”), which is handy when a conversation produced a passage worth continuing. We did not run Text Generation WebUI, so no continuation here is a recorded result.
Sources
- Text Generation WebUI wiki, Default tab page — Notebook tab is precisely the same as the Default tab except the output appears in the same text box as the input, Generate starts a new generation, Continue takes the text in the Output box as input, Regenerate uses the previous input while discarding the last output
- Text Generation WebUI README — three interface modes: default (two columns), notebook, and chat; Notebook tab for free-form text generation outside of chat turns; –notebook launches in notebook mode where the output is written to the same text box as the input
