JBGruber / rollama

https://jbgruber.github.io/rollama/
GNU General Public License v3.0
87 stars 1 forks source link

Error when pulling models from ollama #14

Closed sadettindemirel closed 4 months ago

sadettindemirel commented 4 months ago

Hello, First of all thank you for this great package, lately I am doing some experimentation with this package. Instead of just run pull_model(), I tried to pull llama3:instruct model but I got this error:

Error: lexical error: invalid char in json text. 8f220ff6e389f6f8ef87a01d77c{"status":"pulling manifest"} (right here) ------^

Since I am having this error, how can I pull other models such as mixtral to reproduce your text classification work here

sadettindemirel commented 4 months ago

Hello, First of all thank you for this great package, lately I am doing some experimentation with this package. Instead of just run pull_model(), I tried to pull llama3:instruct model but I got this error:

Error: lexical error: invalid char in json text. 8f220ff6e389f6f8ef87a01d77c{"status":"pulling manifest"} (right here) ------^

Since I am having this error, how can I pull other models such as mixtral to reproduce your text classification work here

After restarting R, the error is gone, you may close the issue.

JBGruber commented 4 months ago

This error occurs while printing the status messages. I fixed an issue that looks very similar a couple of days ago. Restarting R fixes it, but you can also just install the new version or turn off the progress messages completely using options("rollama_verbose" = FALSE).