Downloads · 30 days
0
somosnlp-hackathon-2022/unam_tesis_ROBERTA_GOB_finnetuning
unam_tesis_ROBERTA_GOB_finnetuning is a machine learning model from somosnlp-hackathon-2022. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
This model is created from the finetuning of the pre-model for RoBERTa large trained with data from the National Library of Spain (BNE) [ PlanTL-GOB-ES] (https://huggingface.co/PlanTL-GOB-ES/roberta-large-bne), using…
Downloads · 30 days
0
Access
Public
Updated Apr 4, 2022
Repo size
—
Likes
0
Public
Click a slice to open those files.
.md3 KB · 71%
From the Hugging Face model README
This model is created from the finetuning of the pre-model for RoBERTa large trained with data from the National Library of Spain (BNE) [ PlanTL-GOB-ES] (https://huggingface.co/PlanTL-GOB-ES/roberta-large-bne), using PyTorch framework, and trained with a set of theses of the National Autonomous University of Mexico UNAM. The model classifies for five (Psicología, Derecho, Química Farmacéutico Biológica, Actuaría, Economía) possible careers at the University of Mexico. List of careers from a text.
1000 documents (Thesis introduction, Author´s first name, Author´s last name, Thesis title, Year, Career )
| Careers | Size |
|---|---|
| Actuaría | 200 |
| Derecho | 200 |
| Economía | 200 |
| Psicología | 200 |
| Química Farmacéutico Biológica | 200 |
For further details on how to use unam_tesis_ROBERTA_GOB_finnetuning you can visit the Huggingface Transformers library, starting with the Quickstart section. Unam_tesis models can be accessed simply as 'hackathon-pln-e/unam_tesis_beto_finnetuning' by using the Transformers library. An example of how to download and use the models on this page can be found in this colab notebook.
tokenizer = AutoTokenizer.from_pretrained('PlanTL-GOB-ES/roberta-large-bne', use_fast=False)
model = AutoModelForSequenceClassification.from_pretrained(
'hackathon-pln-e/unam_tesis_ROBERTA_GOB_finnetuning', num_labels=5, output_attentions=False,
output_hidden_states=False)
pipe = TextClassificationPipeline(model=model, tokenizer=tokenizer, return_all_scores=True)
classificationResult = pipe("El objetivo de esta tesis es elaborar un estudio de las condiciones asociadas al aprendizaje desde casa")
To cite this resource in a publication please use the following:
UNAM's Tesis with PlanTL-GOB-ES/roberta-large-bne
To cite this resource in a publication please use the following:
@inproceedings{SpanishNLPHackaton2022,
title={Unam's thesis with PlanTL-GOB-ES/roberta-large-bne classify },
author={López López, Isaac Isaías and López Ramos, Dionis and Clavel Quintero, Yisel and López López, Ximena Yeraldin },
booktitle={Somos NLP Hackaton 2022},
year={2022}
}