Spaces:
Running
Running
Pclanglais
commited on
Commit
•
75ec164
1
Parent(s):
82a9fe8
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ from FlagEmbedding import BGEM3FlagModel
|
|
17 |
model = BGEM3FlagModel('BAAI/bge-m3',
|
18 |
use_fp16=True) # Setting use_fp16 to True speeds up computation with a slight performance degradation
|
19 |
|
20 |
-
embeddings = np.load("
|
21 |
embeddings_data = pd.read_json("embeddings_tchap.json")
|
22 |
embeddings_text = embeddings_data["text_with_context"].tolist()
|
23 |
|
|
|
17 |
model = BGEM3FlagModel('BAAI/bge-m3',
|
18 |
use_fp16=True) # Setting use_fp16 to True speeds up computation with a slight performance degradation
|
19 |
|
20 |
+
embeddings = np.load("embeddings_tchap.npy")
|
21 |
embeddings_data = pd.read_json("embeddings_tchap.json")
|
22 |
embeddings_text = embeddings_data["text_with_context"].tolist()
|
23 |
|