Downloads · 30 days
61
0% of all-time downloads
dlicari/lsg16k-Italian-Legal-BERT
lsg16k-Italian-Legal-BERT is a fill-mask model from dlicari. Use it when you need the model to fill a missing word. It is set up for transformers. The card lists the license as afl-3.0.
<img src="https://huggingface.co/dlicari/lsg16k-Italian-Legal-BERT/resolve/main/ITALIANLEGALBERT-LSG.jpg" width="600"/
Downloads · 30 days
61
0% of all-time downloads
All-time downloads
16.7K
Public
Repo size
988 MB
Likes
5
Public
Click a slice to open those files.
.bin495 MB · 100%
From the Hugging Face model README
Local-Sparse-Global version of ITALIAN-LEGAL-BERT by replacing the full attention in the encoder part using the LSG converter script (https://github.com/ccdv-ai/convert\_checkpoint\_to\_lsg). We used the LSG attention with 16,384 maximum sequence length, 7 global tokens, 128 local block size, 128 sparse block size, 2 sparsity factors, 'norm' sparse selection pattern (select the highest norm tokens).