Commit
·
03f879f
1
Parent(s):
e3657e8
Update files/functions.py
Browse files- files/functions.py +1 -1
files/functions.py
CHANGED
@@ -57,7 +57,7 @@ sep_box = cls_box
|
|
57 |
from transformers import AutoTokenizer, AutoModelForTokenClassification
|
58 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
59 |
|
60 |
-
model_id = "pierreguillou/lilt-xlm-roberta-base-finetuned-
|
61 |
|
62 |
API_TOKEN = "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"
|
63 |
tokenizer = AutoTokenizer.from_pretrained(model_id, use_auth_token=API_TOKEN)
|
|
|
57 |
from transformers import AutoTokenizer, AutoModelForTokenClassification
|
58 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
59 |
|
60 |
+
model_id = "pierreguillou/lilt-xlm-roberta-base-finetuned-DocLayNet-base_paragraphs_ml512-v4"
|
61 |
|
62 |
API_TOKEN = "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"
|
63 |
tokenizer = AutoTokenizer.from_pretrained(model_id, use_auth_token=API_TOKEN)
|