Spaces:
Sleeping
Sleeping
Sandaruth
commited on
Commit
•
47a9554
1
Parent(s):
9dbd819
Add model.py file
Browse files
model.py
CHANGED
@@ -22,7 +22,7 @@ model_name = "BAAI/bge-large-en"
|
|
22 |
|
23 |
embedding = HuggingFaceBgeEmbeddings(
|
24 |
model_name = model_name,
|
25 |
-
model_kwargs = {'device':'cuda'},
|
26 |
encode_kwargs = {'normalize_embeddings': True}
|
27 |
)
|
28 |
|
|
|
22 |
|
23 |
embedding = HuggingFaceBgeEmbeddings(
|
24 |
model_name = model_name,
|
25 |
+
# model_kwargs = {'device':'cuda'},
|
26 |
encode_kwargs = {'normalize_embeddings': True}
|
27 |
)
|
28 |
|