News for hackers. Stuff that matters.
Re:Many options for running Mistral models in your terminal ... by bitdeep on Monday December 18, 2023 @03:18PM (#38687612)
You missed ollama option
Re:Many options for running Mistral models in your terminal ... by simonw on Monday December 18, 2023 @03:59PM (#38688187)
I was hoping I could run my LLM CLI tool against Ollama via their localhost API, but it looks like they don't offer an OpenAI-compatible endpoint yet.

If they add that it will work out of the box: https://llm.datasette.io/en/stable/other-models.html#openai-...

Otherwise someone would need to write a plugin for it, which would probably be pretty simple - I imagine it would look a bit like the llm-mistral plugin but adapted for the Ollama API design: https://github.com/simonw/llm-mistral/blob/main/llm_mistral....

Re:Many options for running Mistral models in your terminal ... by M4v3R on Monday December 18, 2023 @03:29PM (#38687749)
Which honestly is the easiest option of them all if you own an Apple Silicon based Mac. You just download the ollama and then run `ollama run mixtral` (or choose a quantization from their models page if you don't have enough ram to run the defalt q4 model) and that's it.
Re:Many options for running Mistral models in your terminal ... by eurekin on Monday December 18, 2023 @03:48PM (#38688003)
I tried an hour ago and had a can't load model error. Everything up to date. Is there any special step?
Re:Many options for running Mistral models in your terminal ... by mmcclure on Monday December 18, 2023 @03:53PM (#38688098)
Tried `ollama pull mixtral` just now and it seems to be working, albeit pretty slowly.
Re:Many options for running Mistral models in your terminal ... by Casteil on Monday December 18, 2023 @04:20PM (#38688467)
How much RAM do you have? Mixtral is a beast and the non quantized model wants 40GB+ of memory.
Re:Many options for running Mistral models in your terminal ... by eurekin on Monday December 18, 2023 @06:05PM (#38689652)
Ah, that might be it! I have only 32
Re:Many options for running Mistral models in your terminal ... by ukuina on Tuesday December 19, 2023 @11:58PM (#38705605)
The q2 should fit.