Sina1138
commited on
Commit
·
b9e007f
1
Parent(s):
daf8827
update topic model path to use Sina1138/SciDeberta_Review
Browse files
glimpse-ui/interface/Demo.py
CHANGED
@@ -146,7 +146,7 @@ def summarize(text1, text2, text3, focus, mode, rationality=1.0, iterations=1):
|
|
146 |
|
147 |
|
148 |
# Load topic model and tokenizer (SciBERT)
|
149 |
-
topic_model_path = "
|
150 |
topic_tokenizer = AutoTokenizer.from_pretrained(topic_model_path)
|
151 |
topic_model = AutoModelForSequenceClassification.from_pretrained(topic_model_path)
|
152 |
topic_model.eval()
|
|
|
146 |
|
147 |
|
148 |
# Load topic model and tokenizer (SciBERT)
|
149 |
+
topic_model_path = "Sina1138/SciDeberta_Review"
|
150 |
topic_tokenizer = AutoTokenizer.from_pretrained(topic_model_path)
|
151 |
topic_model = AutoModelForSequenceClassification.from_pretrained(topic_model_path)
|
152 |
topic_model.eval()
|