Skip to content

Add a option to force the token end of text apears even on interative, and also shows loading porcentage - #1058

Open
jeffersoncgo wants to merge 3 commits into
ggml-org:masterfrom
jeffersoncgo:more_responsive
Open

jeffersoncgo wants to merge 3 commits into
ggml-org:masterfrom
jeffersoncgo:more_responsive

Conversation

@jeffersoncgo

Copy link
Copy Markdown

No description provided.

@DannyDaemonic

DannyDaemonic commented Apr 20, 2023 •

Copy link
Copy Markdown
Contributor

This adds both [end of text] and [model ready] tags, so maybe another name would be better?

[end of text] will be displayed with --forceendtoken in interactive mode but [model ready] will now be displayed in interactive mode even without --forceendtoken. [model ready] is new, so it should probably only show up when using the --forceendtoken option, although, again, another name might be better.

Also, if you're looking for a "start" token, the initialization token for LLaMA models is the first space - that's my understanding of it anyway. Might want to turn that first space that's always generated into the [start of text] instead of just printing [model ready] which isn't significant.

Another thing to consider is using a switch with multiple options, like --show-signal-tokens=auto,always,never. auto could be the way it's current done, and always and never show or hide the special tokens. With proper control over them, there might even be an argument to be made that they should go to stdout instead of stderr.

I don't know how I feel about this commit as it currently is.

arthw pushed a commit to arthw/llama.cpp that referenced this pull request Feb 26, 2025
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
phuongncn pushed a commit to phuongncn/llama.cpp-gx10-dgx-sparks-deepseekv4 that referenced this pull request Apr 28, 2026
ljubomirj pushed a commit to ljubomirj/llama.cpp that referenced this pull request May 6, 2026
my-other-github-account pushed a commit to my-other-github-account/llama.cpp that referenced this pull request May 15, 2026
AlexiAlp pushed a commit to minghaop/llama.cpp that referenced this pull request Jun 2, 2026
AlexiAlp pushed a commit to minghaop/llama.cpp that referenced this pull request Jun 2, 2026
fukuro-kun pushed a commit to fukuro-kun/fukuro-llama-cpp-turboquant that referenced this pull request Jul 5, 2026
zommiommy pushed a commit to zommiommy/llama.cpp that referenced this pull request Aug 18, 2026
frostyautumnleaf pushed a commit to frostyautumnleaf/llama.cpp that referenced this pull request Oct 5, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants