Skip to content

Commit

Permalink
minor fix to ollama model, update to qwen2.5 3B
Browse files Browse the repository at this point in the history
  • Loading branch information
noobHappylife committed Nov 29, 2024
1 parent 1479672 commit 3e92251
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docker/compose.cpu.ollama.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ services:
echo 'ollama serve did not start in time'; \
exit 1; \
fi; \
ollama pull phi3.5 && ollama cp phi3.5 microsoft/Phi3.5-mini-instruct; \
ollama pull qwen2.5:3b && ollama cp qwen2.5:3b Qwen/Qwen2.5-3B-Instruct; \
tail -f /dev/null",
]
restart: unless-stopped
healthcheck:
test: ["CMD", "sh", "-c", "ollama show microsoft/Phi3.5-mini-instruct || exit 1"]
test: ["CMD", "sh", "-c", "ollama show Qwen/Qwen2.5-3B-Instruct || exit 1"]
interval: 20s
timeout: 2s
retries: 20
Expand Down
2 changes: 1 addition & 1 deletion docker/ollama.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
services:
owl:
environment:
- OWL_MODELS_CONFIG="models_ollama.json"
- OWL_MODELS_CONFIG=models_ollama.json
10 changes: 5 additions & 5 deletions services/api/src/owl/configs/models_ollama.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@
]
},
{
"id": "ellm/microsoft/Phi3.5-mini-instruct",
"name": "ELLM Phi3.5 mini instruct (3.8B)",
"context_length": 131072,
"id": "ellm/Qwen/Qwen2.5-3B-Instruct",
"name": "ELLM Qwen2.5 (3B)",
"context_length": 32000,
"languages": ["en"],
"capabilities": ["chat"],
"deployments": [
{
"litellm_id": "ollama_chat/microsoft/Phi3.5-mini-instruct",
"api_base": "http://ollama:11434",
"litellm_id": "openai/Qwen/Qwen2.5-3B-Instruct",
"api_base": "http://ollama:11434/v1",
"provider": "ellm"
}
]
Expand Down

0 comments on commit 3e92251

Please sign in to comment.