sickcell69 commited on
Commit
1c161ae
1 Parent(s): 8069656

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -10,7 +10,8 @@ from sentence_transformers import SentenceTransformer, util
10
  import torch
11
 
12
  # 載入語義搜索模型
13
- model_checkpoint = "sickcell69/cti-semantic-search-minilm"
 
14
  model = SentenceTransformer(model_checkpoint)
15
 
16
  # 載入數據
 
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
  # 載入數據