Spaces:
Sleeping
Sleeping
paragon-analytics
commited on
Commit
•
a4c7eed
1
Parent(s):
bda3b77
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ from transformers import RobertaTokenizer, RobertaModel
|
|
34 |
from transformers import AutoModelForSequenceClassification
|
35 |
from transformers import TFAutoModelForSequenceClassification
|
36 |
from transformers import AutoTokenizer
|
37 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
38 |
model = AutoModelForSequenceClassification.from_pretrained("paragon-analytics/bert_resil")
|
39 |
|
40 |
kw_extractor = yake.KeywordExtractor()
|
|
|
34 |
from transformers import AutoModelForSequenceClassification
|
35 |
from transformers import TFAutoModelForSequenceClassification
|
36 |
from transformers import AutoTokenizer
|
37 |
+
tokenizer = AutoTokenizer.from_pretrained("paragon-analytics/bert_resil")
|
38 |
model = AutoModelForSequenceClassification.from_pretrained("paragon-analytics/bert_resil")
|
39 |
|
40 |
kw_extractor = yake.KeywordExtractor()
|