CoolFace
Modelpublic

indigo-ai/BERTino

sourceHugging Facemitupdated 5y agoView on Hugging Face
17likes204downloads
Model Card

BERTino: an Italian DistilBERT model

This repository hosts BERTino, an Italian DistilBERT model pre-trained by indigo.ai on a large general-domain Italian corpus. BERTino is task-agnostic and can be fine-tuned for every downstream task.

Corpus

The pre-training corpus that we used is the union of the Paisa and ItWaC corpora. The final corpus counts 14 millions of sentences for a total of 12 GB of text.

Downstream Results

To validate the pre-training that we conducted, we evaluated BERTino on the Italian ParTUT, Italian ISDT, Italian WikiNER and multi-class sentence classification tasks. We report for comparison results obtained by the teacher model fine-tuned in the same tasks and for the same number of epochs.

Italian ISDT:

ModelF1 scoreFine-tuning timeEvaluation time
BERTino0,98019m, 4s3s
Teacher0,98316m, 28s5s

Italian ParTUT:

ModelF1 scoreFine-tuning timeEvaluation time
BERTino0,92681m, 18s1s
Teacher0,96882m, 18s1s

Italian WikiNER:

ModelF1 scoreFine-tuning timeEvaluation time
BERTino0,903835m, 35s3m, 1s
Teacher0,917867m, 8s5m, 16s

Multi-class sentence classification:

ModelF1 scoreFine-tuning timeEvaluation time
BERTino0,77884m, 40s6s
Teacher0,79868m, 52s9s