Skip to content

Commit

Permalink
Update the list of models
Browse files Browse the repository at this point in the history
Co-authored-by: Bc <[email protected]>
  • Loading branch information
jtpio and 767472021 committed Jul 10, 2024
1 parent 24a4500 commit 3ba6de3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,17 @@ class OllamaEmbeddingsProvider(BaseEmbeddingsProvider, OllamaEmbeddings):
id = "ollama"
name = "Ollama"
models = [
"gemma",
"gemma2",
"llama2",
"mistral:text",
"llama3",
"llama3:70b",
"phi3",
"mistral",
"tinyllama",
"qwen2",
"qwen2:7b",
"qwen2:72b",
]
model_id_key = "model"

Expand Down
8 changes: 7 additions & 1 deletion packages/jupyter-ai-magics/jupyter_ai_magics/providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -728,12 +728,18 @@ class OllamaProvider(BaseProvider, Ollama):
id = "ollama"
name = "Ollama"
model_id_key = "model"
# TODO: add more
models = [
"gemma",
"gemma2",
"llama2",
"llama3",
"llama3:70b",
"phi3",
"mistral",
"tinyllama",
"qwen2",
"qwen2:7b",
"qwen2:72b",
]


Expand Down

0 comments on commit 3ba6de3

Please sign in to comment.