From 6cefb101191bdcacfcc4d39f3961e14162b4cf06 Mon Sep 17 00:00:00 2001 From: Eric Pugh Date: Tue, 17 Sep 2024 11:55:47 -0400 Subject: [PATCH] Temporarily disable the finetuned till we get it working again. This is preventing the embedding service from starting. Via the web browser you will still get a big error if you pick one of the fine tuned models. --- embeddings/app/main.py | 6 +++--- embeddings/requirements.txt | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/embeddings/app/main.py b/embeddings/app/main.py index 27ea6ff..f0da4eb 100644 --- a/embeddings/app/main.py +++ b/embeddings/app/main.py @@ -1,11 +1,11 @@ from fastapi import FastAPI from clipL14 import router as router_clip from minilm import router as router_minilm -from finetuned import router as router_finetuned +#from finetuned import router as router_finetuned app = FastAPI() app.include_router(router_clip.router, prefix="/clip") app.include_router(router_minilm.router, prefix="/minilm") -app.include_router(router_finetuned.sbert_router, prefix="/ftbert") -app.include_router(router_finetuned.clip_router, prefix="/ftclip") +#app.include_router(router_finetuned.sbert_router, prefix="/ftbert") +#app.include_router(router_finetuned.clip_router, prefix="/ftclip") diff --git a/embeddings/requirements.txt b/embeddings/requirements.txt index 7241179..56b84c3 100644 --- a/embeddings/requirements.txt +++ b/embeddings/requirements.txt @@ -1,3 +1,4 @@ +docarray==0.21.0 # See https://github.com/querqy/chorus/issues/169 sentence-transformers fastapi uvicorn[standard]