Home assistant ollama import

#1
by danielpetrica - opened

Hi I'm trying to import it into ollama with this Modelfile:

FROM Home-1B-v2.q5_k_m.gguf
PARAMETER num_ctx 2048
PARAMETER temperature 0.1
PARAMETER top_k 40
PARAMETER top_p 0.95
PARAMETER stop "<|endoftext|>"
PARAMETER stop "<|im_end|>"

but the command " ollama create home-1B-v2:q4_k_m -f Modelfile "

returns this error message and I can't understand it:

transferring model data
creating model layer
Error: invalid file magic

I'm sure I'm doing something wrong but don't know what. Can someone help me understand what I'm doing wrong please.

I'm sorry it was indeed my problem. I didn't manage to download the data correctly with git lfs
after downloading it again it works

danielpetrica changed discussion status to closed

Sign up or log in to comment