Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -48,8 +48,7 @@ El presente conjunto de datos favorecerá la búsqueda e investigación relacion
|
|
48 |
- Ximena Yeraldin López López ([Ximyer](https://huggingface.co/Ximyer))
|
49 |
"""
|
50 |
|
51 |
-
|
52 |
-
tokenizer = AutoTokenizer.from_pretrained('GavinQiangLi/my-new-BertTokenizerFast-tokenizer', use_fast=False)
|
53 |
#model = AutoModelForSequenceClassification.from_pretrained(
|
54 |
# 'hackathon-pln-es/unam_tesis_BETO_finnetuning', num_labels=5, output_attentions=False, output_hidden_states=False)
|
55 |
#pipe = TextClassificationPipeline(model=model, tokenizer=tokenizer, return_all_scores=True)
|
|
|
48 |
- Ximena Yeraldin López López ([Ximyer](https://huggingface.co/Ximyer))
|
49 |
"""
|
50 |
|
51 |
+
tokenizer = AutoTokenizer.from_pretrained('hiiamsid/BETO_es_binary_classification', use_fast=False)
|
|
|
52 |
#model = AutoModelForSequenceClassification.from_pretrained(
|
53 |
# 'hackathon-pln-es/unam_tesis_BETO_finnetuning', num_labels=5, output_attentions=False, output_hidden_states=False)
|
54 |
#pipe = TextClassificationPipeline(model=model, tokenizer=tokenizer, return_all_scores=True)
|