Instructions to use mynoguti/BERTimbau_Legal with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mynoguti/BERTimbau_Legal with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="mynoguti/BERTimbau_Legal")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("mynoguti/BERTimbau_Legal") model = AutoModelForMaskedLM.from_pretrained("mynoguti/BERTimbau_Legal") - Notebooks
- Google Colab
- Kaggle
How to use:
>>> from transformers import AutoTokenizer, AutoModelForMaskedLM
>>> tokenizer = AutoTokenizer.from_pretrained("mynoguti/BERTimbau_Legal")
>>> model = AutoModelForMaskedLM.from_pretrained("mynoguti/BERTimbau_Legal")
Citation:
@inproceedings{Noguti_2023,
title={A Small Claims Court for the NLP: Judging Legal Text Classification Strategies With Small Datasets},
url={http://dx.doi.org/10.1109/SMC53992.2023.10394189},
DOI={10.1109/smc53992.2023.10394189},
booktitle={2023 IEEE International Conference on Systems, Man, and Cybernetics (SMC)},
publisher={IEEE},
author={Noguti, Mariana and Vellasques, Eduardo and Oliveira, Luiz S.},
year={2023},
month=oct, pages={1840–1845} }
- Downloads last month
- 6