Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,45 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
---
|
4 |
+
# Unam_tesis_beto_finnetuning: Unam's thesis classification with BETO
|
5 |
+
|
6 |
+
|
7 |
+
This model is created from the finetuning of the pre-model
|
8 |
+
for Spanish [BETO] (https://huggingface.co/dccuchile/bert-base-spanish-wwm-uncased), using PyTorch framework,
|
9 |
+
and trained with a set of theses at the Autonomous University of Mexico [UNAM](https://tesiunam.dgb.unam.mx/F?func=find-b-0&local_base=TES01).
|
10 |
+
The model classifies for five (Psychology, Law, Química Farmaceutico Biológica, Actuaría, Economy)
|
11 |
+
possible careers at the University of Mexico.
|
12 |
+
List of races from a text.
|
13 |
+
|
14 |
+
|
15 |
+
## Example of use
|
16 |
+
|
17 |
+
For further details on how to use unam_tesis_beto_finnetuning you can visit the Huggingface Transformers library, starting with the Quickstart section. Unam_tesis models can be accessed simply as 'inoid/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.
|
18 |
+
```python
|
19 |
+
|
20 |
+
tokenizer = AutoTokenizer.from_pretrained('inoid/unam_tesis_beto_finnetuning', use_fast=False)
|
21 |
+
model = AutoModelForSequenceClassification.from_pretrained(
|
22 |
+
'inoid/unam_tesis_beto_finnetuning', num_labels=5, output_attentions=False,
|
23 |
+
output_hidden_states=False)
|
24 |
+
pipe = TextClassificationPipeline(model=model, tokenizer=tokenizer, return_all_scores=True)
|
25 |
+
|
26 |
+
classificationResult = pipe("El objetivo de esta tesis es elaborar un estudio de las condiciones asociadas al aprendizaje desde casa")
|
27 |
+
|
28 |
+
```
|
29 |
+
|
30 |
+
To cite this resource in a publication please use the following:
|
31 |
+
|
32 |
+
|
33 |
+
## Citation
|
34 |
+
|
35 |
+
[UNAM's Tesis with BETO finetuning classify ](https://users.dcc.uchile.cl/~jperez/papers/pml4dc2020.pdf)
|
36 |
+
|
37 |
+
To cite this resource in a publication please use the following:
|
38 |
+
|
39 |
+
```
|
40 |
+
@inproceedings{SpanishNLPHackaton2022,
|
41 |
+
title={UNAM's Tesis with BETO finetunning classify },
|
42 |
+
author={Cañete, Isahías and López, Dionis and Clavel, Yisell},
|
43 |
+
booktitle={Somos NLP Hackaton 2022},
|
44 |
+
year={2022}
|
45 |
+
}
|