CoolFace
Modelpublic

liaad/srl-pt_bertimbau-base

sourceHugging Faceapache-2.0updated 5y agoView on Hugging Face
2likes66downloads
Model Card

BERTimbau base fine-tuned on Portuguese semantic role labeling

Model description

This model is the `neuralmind/bert-base-portuguese-cased` fine-tuned on Portuguese semantic role labeling data. This is part of a project from which resulted the following models:

For more information, please see the accompanying article (See BibTeX entry and citation info below) and the project's github.

Intended uses & limitations

How to use

To use the transformers portion of this model:

python
from transformers import AutoTokenizer, AutoModel

tokenizer = AutoTokenizer.from_pretrained("liaad/srl-pt_bertimbau-base")
model = AutoModel.from_pretrained("liaad/srl-pt_bertimbau-base")

To use the full SRL model (transformers portion + a decoding layer), refer to the project's github.

Training procedure

The model was trained on the PropBank.Br datasets, using 10-fold Cross-Validation. The 10 resulting models were tested on the folds as well as on a smaller opinion dataset "Buscapé". For more information, please see the accompanying article (See BibTeX entry and citation info below) and the project's github.

Eval results

Model NameF<sub>1</sub> CV PropBank.Br (in domain)F<sub>1</sub> Buscapé (out of domain)
srl-pt_bertimbau-base76.3073.33
srl-pt_bertimbau-large77.4274.85
srl-pt_xlmr-base75.2272.82
srl-pt_xlmr-large77.5973.84
srl-pt_mbert-base72.7666.89
srl-en_xlmr-base66.5965.24
srl-en_xlmr-large67.6064.94
srl-en_mbert-base63.0758.56
srl-enpt_xlmr-base76.5073.74
srl-enpt_xlmr-large78.2274.55
srl-enpt_mbert-base74.8869.19
ud_srl-pt_bertimbau-large77.5374.49
ud_srl-pt_xlmr-large77.6974.91
ud_srl-enpt_xlmr-large77.9775.05

BibTeX entry and citation info

bibtex
@misc{oliveira2021transformers,
      title={Transformers and Transfer Learning for Improving Portuguese Semantic Role Labeling}, 
      author={Sofia Oliveira and Daniel Loureiro and Alípio Jorge},
      year={2021},
      eprint={2101.01213},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}