craete function ollama._types.ResponseError #170

Closed
opened 2026-02-15 16:28:28 -05:00 by yindo · 1 comment
Owner

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'])

image
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']) <img width="854" alt="image" src="https://github.com/user-attachments/assets/44ef4e2d-3e75-4eed-b3d9-0e5051e472a7">
yindo closed this issue 2026-02-15 16:28:28 -05:00
Author
Owner

@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

@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
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ollama/ollama-python#170