AhmedSSabir
commited on
Commit
•
4e74afc
1
Parent(s):
db30631
Update app.py
Browse files
app.py
CHANGED
@@ -14,8 +14,8 @@ import requests
|
|
14 |
|
15 |
from sentence_transformers import SentenceTransformer, util
|
16 |
|
17 |
-
model_sts = SentenceTransformer('stsb-distilbert-base')
|
18 |
-
|
19 |
#batch_size = 1
|
20 |
#scorer = LMScorer.from_pretrained('gpt2' , device=device, batch_size=batch_size)
|
21 |
|
|
|
14 |
|
15 |
from sentence_transformers import SentenceTransformer, util
|
16 |
|
17 |
+
#model_sts = SentenceTransformer('stsb-distilbert-base')
|
18 |
+
model_sts = SentenceTransformer('roberta-large-nli-stsb-mean-tokens')
|
19 |
#batch_size = 1
|
20 |
#scorer = LMScorer.from_pretrained('gpt2' , device=device, batch_size=batch_size)
|
21 |
|