Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chatml/cml commandline option rejected #387

Open
vlasky opened this issue Apr 30, 2024 · 1 comment
Open

chatml/cml commandline option rejected #387

vlasky opened this issue Apr 30, 2024 · 1 comment

Comments

@vlasky
Copy link

vlasky commented Apr 30, 2024

I'm running llamafile 0.8.1

When I pass the --cml or --chatml commandline options to llamafile, it exits with the error message:

error: unknown argument: -cml

OR

error: unknown argument: --chatml

Also, the reason why I am attempting to use this commandline option is because I am running with the model dolphin-2.9-llama3-8b-Q5_K_M.gguf and every line of LLM output has the suffix <|im_end|> appended to it, which is annoying. I wondered if enabling chatml mode would filter it out.

Example:

User: This is a test message

Llama: Hello there! How can I assist you today?

<|im_end|>

User: Why are you including that token at the end?

Llama: My apologies for that. It seems my response was unintentionally influenced by my underlying system message format. Let me correct myself and provide an accurate answer to your question.

What is the reason behind including a specific token in a conversation between users and chatbots?

<|im_end|>
@Nativu5
Copy link

Nativu5 commented May 14, 2024

Same here.

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

No branches or pull requests

2 participants