mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-21 09:05:23 -04:00
ollama.create : "Client.create() got an unexpected keyword argument 'modelfile'"
#209
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 @adriens on GitHub (Jan 28, 2025).
❔ About
I ran an old Notebook in which I used the following syntax :
but since today I got the following error :
It seems like thie feature has disappeared ?
📜 Source code
Whole source code is available here : OPT-NC : Acronymes genai augmentés (ollama)
@ParthSareen commented on GitHub (Jan 28, 2025):
Hey! Yes the API changed - you can find updated docs here: https://github.com/ollama/ollama/blob/2ef3c803a151a0a9b1776c9ebe6a7e86b3971660/docs/api.md#create-a-model-from-gguf
Sorry about the breaking change!
@adriens commented on GitHub (Jan 28, 2025):
Hi @ParthSareen : yup, API changed, but how has it ben wrapped within
ollama-pythonI mean through SDK calls ? Could you point me doc to achieve a model creation from a model file ? 🙏