Spaces:
Running
Running
change model to finetune e5
Browse files
app.py
CHANGED
@@ -29,8 +29,8 @@ api = Api(AIRTABLE_API_KEY)
|
|
29 |
table = api.table(BASE_ID, TABLE_NAME)
|
30 |
|
31 |
# Load model
|
32 |
-
model = SentenceTransformer('
|
33 |
-
collection_name = "
|
34 |
|
35 |
# Load whitelist
|
36 |
with open("keyword_whitelist.pkl", "rb") as f:
|
|
|
29 |
table = api.table(BASE_ID, TABLE_NAME)
|
30 |
|
31 |
# Load model
|
32 |
+
model = SentenceTransformer('e5_finetuned')
|
33 |
+
collection_name = "product_E5_finetune"
|
34 |
|
35 |
# Load whitelist
|
36 |
with open("keyword_whitelist.pkl", "rb") as f:
|