JonathanEGP commited on
Commit
df891cf
·
verified ·
1 Parent(s): 9490472

Update Anonimizador_Ner.py

Browse files
Files changed (1) hide show
  1. 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/Beto_Ner"
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)