Text Classification
PyTorch
Safetensors
English
eurovoc
Inference Endpoints
scampion commited on
Commit
2e88644
1 Parent(s): 33116db

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -8,7 +8,7 @@ import torch
8
 
9
  from eurovoc import EurovocTagger
10
 
11
- BERT_MODEL_NAME = "nlpaueb/legal-bert-base-uncased"
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)