Spaces:
Sleeping
Sleeping
AhmedSSabir
commited on
Commit
•
6d56bc4
1
Parent(s):
b196c77
Update app.py
Browse files
app.py
CHANGED
@@ -18,8 +18,8 @@ import numpy as np
|
|
18 |
|
19 |
from sentence_transformers import SentenceTransformer, util
|
20 |
|
21 |
-
|
22 |
-
model_sts = SentenceTransformer('roberta-large-nli-stsb-mean-tokens')
|
23 |
#batch_size = 1
|
24 |
#scorer = LMScorer.from_pretrained('gpt2' , device=device, batch_size=batch_size)
|
25 |
|
|
|
18 |
|
19 |
from sentence_transformers import SentenceTransformer, util
|
20 |
|
21 |
+
model_sts = SentenceTransformer('stsb-distilbert-base')
|
22 |
+
#model_sts = SentenceTransformer('roberta-large-nli-stsb-mean-tokens')
|
23 |
#batch_size = 1
|
24 |
#scorer = LMScorer.from_pretrained('gpt2' , device=device, batch_size=batch_size)
|
25 |
|