pleonova commited on
Commit
355826a
·
verified ·
1 Parent(s): 6c26292

Update model version

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,8 +8,8 @@ import logging
8
  app = FastAPI()
9
 
10
  # Load tokenizer and model
11
- tokenizer = AutoTokenizer.from_pretrained("BAAI/bge-small-en-v1")
12
- model = AutoModel.from_pretrained("BAAI/bge-small-en-v1")
13
 
14
  # Precompute embeddings for labels
15
  labels = ["Mathematics", "Language Arts", "Social Studies", "Science"]
 
8
  app = FastAPI()
9
 
10
  # Load tokenizer and model
11
+ tokenizer = AutoTokenizer.from_pretrained("BAAI/bge-small-en-v1.5")
12
+ model = AutoModel.from_pretrained("BAAI/bge-small-en-v1.5")
13
 
14
  # Precompute embeddings for labels
15
  labels = ["Mathematics", "Language Arts", "Social Studies", "Science"]