You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 22, 2026. It is now read-only.
Hi Author, I tried to implement llm-rs in my jupyter. After i installed RUST the error still occured :
thread '' panicked at 'called Result::unwrap() on an Err value: InvalidMagic { path: "model_merak.bin" }', src/model.rs:47:12
PanicException Traceback (most recent call last)
Cell In[9], line 4
1 from llama_rs_python import Model
3 #load the model
----> 4 model = Model("model_merak.bin")
6 #generate
7 print(model.generate("Arti kehidupan adalah"))
PanicException: called Result::unwrap() on an Err value: InvalidMagic { path: "model_merak.bin" }
i saved my model (LLAMA based) in the same directory with the notebook file
Hi Author, I tried to implement llm-rs in my jupyter. After i installed RUST the error still occured :
thread '' panicked at 'called
Result::unwrap()on anErrvalue: InvalidMagic { path: "model_merak.bin" }', src/model.rs:47:12PanicException Traceback (most recent call last)
Cell In[9], line 4
1 from llama_rs_python import Model
3 #load the model
----> 4 model = Model("model_merak.bin")
6 #generate
7 print(model.generate("Arti kehidupan adalah"))
PanicException: called
Result::unwrap()on anErrvalue: InvalidMagic { path: "model_merak.bin" }i saved my model (LLAMA based) in the same directory with the notebook file