Spaces:
Sleeping
Sleeping
sickcell69
commited on
Commit
•
c64b53c
1
Parent(s):
1c161ae
Update app.py
Browse files
app.py
CHANGED
@@ -10,8 +10,8 @@ from sentence_transformers import SentenceTransformer, util
|
|
10 |
import torch
|
11 |
|
12 |
# 載入語義搜索模型
|
13 |
-
|
14 |
-
model_checkpoint = "sickcell69/bert-finetuned-ner"
|
15 |
model = SentenceTransformer(model_checkpoint)
|
16 |
|
17 |
# 載入數據
|
|
|
10 |
import torch
|
11 |
|
12 |
# 載入語義搜索模型
|
13 |
+
model_checkpoint = "sickcell69/cti-semantic-search-minilm"
|
14 |
+
#model_checkpoint = "sickcell69/bert-finetuned-ner"
|
15 |
model = SentenceTransformer(model_checkpoint)
|
16 |
|
17 |
# 載入數據
|