mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-21 09:05:23 -04:00
ollama._types.ResponseError: model 'llama2' not found #82
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nahidalam on GitHub (May 7, 2024).
I tried testing this basic script below but it throws error that model llama2 is not found
If I do
model='llama3', it works fine@n-vent commented on GitHub (May 8, 2024):
Try to pull the llama2 model first from the ollama library:
In the shell:
Or in Python:
@immmor commented on GitHub (Jan 2, 2025):
Got the same error. Have you fixed?