mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-21 09:05:23 -04:00
craete function ollama._types.ResponseError #170
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 @qq1273834091 on GitHub (Nov 27, 2024).
I prompted an error when using the create function
def createModelFile():
path="/root/data/finetuneFile/modelExport/modelgguf/mytest1.gguf"
modelfile = f"""
FROM {path}
"""
for response in create(model="exe", modelfile=modelfile, stream=True):
print(response['status'])
@ParthSareen commented on GitHub (Nov 27, 2024):
Hey! Seems like it's not able to find your gguf file - could you check the path again? Thanks