Skip to content

Commit b9e542a

Browse files
MiriamScharnkeccreutzi
authored andcommitted
Change models used in Ollama.md
Changed phi-3 to mistral, and llava to moondream.
1 parent ef2f01a commit b9e542a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/Ollama.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ systemPrompt = "You are a sentiment analyser. You will look at a sentence and ou
4343
"His attitude was terribly discouraging to the team." + newline +...
4444
"negative" + newline + newline;
4545
46-
chat = ollamaChat("phi3",systemPrompt);
46+
chat = ollamaChat("mistral",systemPrompt);
4747
4848
% Generate a response, passing a new sentence for classification
4949
txt = generate(chat,"The team is feeling very motivated")
@@ -98,14 +98,14 @@ txt = generate(chat,"What is Model-Based Design and how is it related to Digital
9898

9999
## Understanding the content of an image
100100

101-
You can use multimodal models like `llava` to experiment with image understanding.
101+
You can use multimodal models like `moondream` to experiment with image understanding.
102102

103103
> [!TIP]
104104
> Many models available for Ollama allow you to include images in the prompt, even if the model does not support image inputs. In that case, the images are silently removed from the input. This can result in unexpected outputs.
105105
106106

107107
```matlab
108-
chat = ollamaChat("llava");
108+
chat = ollamaChat("moondream");
109109
image_path = "peppers.png";
110110
messages = messageHistory;
111111
messages = addUserMessageWithImages(messages,"What is in the image?",image_path);

0 commit comments

Comments
 (0)