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

Set ollama context lenght in example to 8192 to make it work #252

Merged
merged 3 commits into from
Jan 17, 2025

Conversation

RolandJAAI
Copy link
Contributor

Make smolagents useable with ollama: The ollama default context length is 2048 which is way to little for tasks involving more than 1 step. Fails horribly and the CodingAgent tends to start calculating the age of the pope as a second step - if you haven't read the system prompts this will be a very weird experience 😂.

Adding this important hint in the docs will help many people getting started with local agents.

@aymeric-roucher
Copy link
Collaborator

Thank you @RolandJAAI, and very nice link for VRAM calculation, I didn't know that Space!

@aymeric-roucher aymeric-roucher merged commit e30ec8a into huggingface:main Jan 17, 2025
4 checks passed
@RolandJAAI RolandJAAI deleted the ollama_num_ctx branch January 18, 2025 05:39
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