Downloads · 30 days
20
4% of all-time downloads
AndreaSimeri/LamBERTa_v5
LamBERTa_v5 is a text classification model from AndreaSimeri. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as cc-by-nc-nd-4.0.
DISCLAIMER: This model is trained on a subset of the dataset. In particular, it is trained on th first 60 articles of the Italian Civil Code's book 2.
Downloads · 30 days
20
4% of all-time downloads
All-time downloads
501
Public
Repo size
884 MB
Likes
1
Public
Click a slice to open those files.
.bin442 MB · 100%
From the Hugging Face model README
*DISCLAIMER: This model is trained on a subset of the dataset. In particular, it is trained on th first 60 articles of the Italian Civil Code's book 2.
Modeling law search and retrieval as prediction problems has recently emerged as a predominant approach in law intelligence. Focusing on the law article retrieval task, we present a deep learning framework named LamBERTa, which is designed for civil-law codes, and specifically trained on the Italian civil code. To our knowledge, this is the first study proposing an advanced approach to law article prediction for the Italian legal system based on a BERT (Bidirectional Encoder Representations from Transformers) learning framework, which has recently attracted increased attention among deep learning approaches, showing outstanding effectiveness in several natural language processing and learning tasks. We define LamBERTa models by fine-tuning an Italian pre-trained BERT on the Italian civil code or its portions, for law article retrieval as a classification task. One key aspect of our LamBERTa framework is that we conceived it to address an extreme classification scenario, which is characterized by a high number of classes, the few-shot learning problem, and the lack of test query benchmarks for Italian legal prediction tasks. To solve such issues, we define different methods for the unsupervised labeling of the law articles, which can in principle be applied to any law article code system. We provide insights into the explainability and interpretability of our LamBERTa models, and we present an extensive experimental analysis over query sets of different type, for single-label as well as multi-label evaluation tasks. Empirical evidence has shown the effectiveness of LamBERTa, and also its superiority against widely used deep-learning text classifiers and a few-shot learner conceived for an attribute-aware prediction task.

@article{Lamberta,
author = {Andrea Tagarelli and Andrea Simeri},
title = {{Unsupervised law article mining based on deep pre-trained language representation models with application to the Italian civil code}},
journal = {Artif. Intell. Law},
volume = {30(3)},
pages = {417--473. Published: 15 September 2021},
year = {2022},
doi ={10.1007/s10506-021-09301-8}
}