Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -8,7 +8,7 @@ import torch
|
|
8 |
|
9 |
from eurovoc import EurovocTagger
|
10 |
|
11 |
-
BERT_MODEL_NAME = "
|
12 |
MAX_LEN = 512
|
13 |
TEXT_MAX_LEN = MAX_LEN * 50
|
14 |
tokenizer = AutoTokenizer.from_pretrained(BERT_MODEL_NAME)
|
|
|
8 |
|
9 |
from eurovoc import EurovocTagger
|
10 |
|
11 |
+
BERT_MODEL_NAME = "EuropeanParliament/EUBERT"
|
12 |
MAX_LEN = 512
|
13 |
TEXT_MAX_LEN = MAX_LEN * 50
|
14 |
tokenizer = AutoTokenizer.from_pretrained(BERT_MODEL_NAME)
|