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

Why does a double BOS token get added to my InferenceResource.chat_completion calls and cause and check_double_bos_eos error? #55

Open
thaddavis opened this issue Dec 3, 2024 · 1 comment
Labels
question Further information is requested

Comments

@thaddavis
Copy link

When I make this call I get an error?

client.inference.chat_completion(
        messages=[
            UserMessage(
                content="hello world, write me a 3 word poem about the moon",
                role="user",
            ),
        ],
        model_id="meta-llama/Llama-3.2-1B-Instruct",
        stream=False,
    )
Screenshot 2024-12-02 at 8 51 41 PM
@yanxi0830
Copy link
Contributor

Wondering what is the inference provider you are using? It looks like ollama from the logs, if using ollama, which model are you using from ollama run?

@yanxi0830 yanxi0830 added the question Further information is requested label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants