JonathanEGP
commited on
Update Anonimizador_Ner.py
Browse files- Anonimizador_Ner.py +1 -1
Anonimizador_Ner.py
CHANGED
@@ -2,7 +2,7 @@ from transformers import Pipeline, AutoModelForTokenClassification, AutoTokenize
|
|
2 |
|
3 |
class AnonymizationPipeline(Pipeline):
|
4 |
def __init__(self, model=None, tokenizer=None, **kwargs):
|
5 |
-
self.model_name = "JonathanEGP/
|
6 |
|
7 |
if model is None:
|
8 |
model = AutoModelForTokenClassification.from_pretrained(self.model_name)
|
|
|
2 |
|
3 |
class AnonymizationPipeline(Pipeline):
|
4 |
def __init__(self, model=None, tokenizer=None, **kwargs):
|
5 |
+
self.model_name = "JonathanEGP/RoBERTa_base_bn_ner"
|
6 |
|
7 |
if model is None:
|
8 |
model = AutoModelForTokenClassification.from_pretrained(self.model_name)
|