Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infinity: large update, bump to v2, new models #23

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ OWL_DB_DIR=db
OWL_LOG_DIR=logs
DOCIO_WORKERS=1
DOCIO_DEVICE=cpu
EMBEDDING_MODEL=sentence-transformers/all-MiniLM-L6-v2
RERANKER_MODEL=cross-encoder/ms-marco-TinyBERT-L-2
EMBEDDING_MODEL=BAAI/bge-small-en-v1.5
RERANKER_MODEL=mixedbread-ai/mxbai-rerank-xsmall-v1
OWL_CONCURRENT_ROWS_BATCH_SIZE=3
OWL_CONCURRENT_COLS_BATCH_SIZE=5
OWL_CONCURRENT_COLS_BATCH_SIZE=5
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ jobs:
run: |
set -e
export API_DEVICE=cpu
export EMBEDDING_MODEL=sentence-transformers/all-MiniLM-L6-v2
export RERANKER_MODEL=cross-encoder/ms-marco-TinyBERT-L-2
export EMBEDDING_MODEL=BAAI/bge-small-en-v1.5
export RERANKER_MODEL=mixedbread-ai/mxbai-rerank-xsmall-v1

# Edit .env file
ORGS=$(printenv | grep API_KEY | xargs -I {} echo {} | cut -d '=' -f 1)
Expand Down
2 changes: 1 addition & 1 deletion docker/compose.cpu.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
infinity:
image: michaelf34/infinity:0.0.32
image: michaelf34/infinity:0.0.63
container_name: jamai_infinity
entrypoint:
[
Expand Down
12 changes: 6 additions & 6 deletions services/api/src/owl/configs/models.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@
"owned_by": "cohere"
},
{
"id": "ellm/sentence-transformers/all-MiniLM-L6-v2",
"litellm_id": "openai/sentence-transformers/all-MiniLM-L6-v2",
"context_length": 8192,
"id": "ellm/BAAI/bge-small-en-v1.5",
"litellm_id": "openai/BAAI/bge-small-en-v1.5",
"context_length": 512,
"embedding_size": 1024,
"languages": ["mul"],
"api_base": "http://infinity:6909",
Expand All @@ -149,10 +149,10 @@
{ "id": "cohere/rerank-english-v3.0", "context_length": 512, "languages": ["en"], "owned_by": "cohere" },
{ "id": "cohere/rerank-multilingual-v3.0", "context_length": 512, "languages": ["mul"], "owned_by": "cohere" },
{
"id": "ellm/cross-encoder/ms-marco-TinyBERT-L-2",
"context_length": 8192,
"id": "ellm/mixedbread-ai/mxbai-rerank-xsmall-v1",
"context_length": 512,
"languages": ["mul"],
"api_base": "http://infinity:6919",
"api_base": "http://infinity:6909",
"owned_by": "ellm"
}
]
Expand Down