DeBERTinha: A Multistep Approach to Adapt DebertaV3 XSmall for Brazilian Portuguese Natural Language Processing Task
Israel Campiotti, Matheus Rodrigues, Yuri Albuquerque, Rafael Azevedo,, Alyson Andrade

TL;DR
DeBERTinha is a multistep adapted version of DebertaV3 XSmall, fine-tuned for Brazilian Portuguese NLP tasks, achieving competitive results with fewer parameters by leveraging pre-trained English weights and a custom vocabulary.
Contribution
The paper introduces a novel multistep adaptation process for transforming DebertaV3 XSmall into a Portuguese-specific model, including vocabulary creation and targeted fine-tuning.
Findings
DeBERTinha outperforms BERTimbau-Large in two NLP tasks.
The model achieves effective performance with only 40M parameters.
Multistep adaptation enhances cross-lingual transfer for NLP models.
Abstract
This paper presents an approach for adapting the DebertaV3 XSmall model pre-trained in English for Brazilian Portuguese natural language processing (NLP) tasks. A key aspect of the methodology involves a multistep training process to ensure the model is effectively tuned for the Portuguese language. Initial datasets from Carolina and BrWac are preprocessed to address issues like emojis, HTML tags, and encodings. A Portuguese-specific vocabulary of 50,000 tokens is created using SentencePiece. Rather than training from scratch, the weights of the pre-trained English model are used to initialize most of the network, with random embeddings, recognizing the expensive cost of training from scratch. The model is fine-tuned using the replaced token detection task in the same format of DebertaV3 training. The adapted model, called DeBERTinha, demonstrates effectiveness on downstream tasks like…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques · Topic Modeling · Sentiment Analysis and Opinion Mining
MethodsByte Pair Encoding · SentencePiece
