Update app.py
Browse files
app.py
CHANGED
@@ -22,14 +22,13 @@ def_model = 'knowhate/counterhate-youtube-hateberttuga'
|
|
22 |
|
23 |
model_list = [
|
24 |
def_model,
|
25 |
-
"knowhate/counterhate-youtube-bertimbau"
|
|
|
|
|
|
|
|
|
26 |
]
|
27 |
|
28 |
-
# "knowhate/counterhate-twitter-xlmrobertabase",
|
29 |
-
# "knowhate/counterhate-twitter-bertbasemultilingualcased",
|
30 |
-
# "knowhate/counterhate-twitter-hateberttuga",
|
31 |
-
# "knowhate/counterhate-youtube-hateberttuga",
|
32 |
-
|
33 |
kw_to_hf = {"knowhate/counterhate-twitter-bertimbau": "neuralmind/bert-base-portuguese-cased",
|
34 |
"knowhate/counterhate-youtube-bertimbau": "neuralmind/bert-base-portuguese-cased",
|
35 |
"knowhate/counterhate-twitter-xlmrobertabase": "xlm-roberta-base",
|
|
|
22 |
|
23 |
model_list = [
|
24 |
def_model,
|
25 |
+
"knowhate/counterhate-youtube-bertimbau",
|
26 |
+
"knowhate/counterhate-twitter-xlmrobertabase",
|
27 |
+
"knowhate/counterhate-twitter-bertbasemultilingualcased",
|
28 |
+
"knowhate/counterhate-twitter-hateberttuga",
|
29 |
+
"knowhate/counterhate-twitter-bertimbau"
|
30 |
]
|
31 |
|
|
|
|
|
|
|
|
|
|
|
32 |
kw_to_hf = {"knowhate/counterhate-twitter-bertimbau": "neuralmind/bert-base-portuguese-cased",
|
33 |
"knowhate/counterhate-youtube-bertimbau": "neuralmind/bert-base-portuguese-cased",
|
34 |
"knowhate/counterhate-twitter-xlmrobertabase": "xlm-roberta-base",
|