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

Stop sequences parameter in gpt.py should be None? #19

Open
zrquan opened this issue Feb 13, 2025 · 2 comments · May be fixed by #24
Open

Stop sequences parameter in gpt.py should be None? #19

zrquan opened this issue Feb 13, 2025 · 2 comments · May be fixed by #24

Comments

@zrquan
Copy link

zrquan commented Feb 13, 2025

When I use the OpenAI Chat Completions API provided by Ollama, the content returned by LLM is empty. And when the stop parameter is set to None, LLM can respond normally.

@clairew
Copy link
Collaborator

clairew commented Feb 13, 2025

Hey, appreciate the feedback. We didn't test the framework with Ollama. Infrastructure for using models is ultimately up to the user - we simply provided the model wrappers we used in our experiments as an example.

If you'd like - you can make a pull request to include generalized Ollama support! Thanks.

@zrquan zrquan linked a pull request Feb 28, 2025 that will close this issue
@zrquan
Copy link
Author

zrquan commented Feb 28, 2025

Sorry for the late response! I've added a simple implementation.

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 a pull request may close this issue.

2 participants