Instructions to use dlicari/Italian-Legal-BERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dlicari/Italian-Legal-BERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="dlicari/Italian-Legal-BERT")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("dlicari/Italian-Legal-BERT") model = AutoModelForMaskedLM.from_pretrained("dlicari/Italian-Legal-BERT") - Inference
- Notebooks
- Google Colab
- Kaggle
Update README.md
#1
by dlicari - opened
README.md
CHANGED
|
@@ -6,9 +6,8 @@ widget:
|
|
| 6 |
---
|
| 7 |
|
| 8 |
<img src="https://huggingface.co/dlicari/Italian-Legal-BERT/resolve/main/ITALIAN_LEGAL_BERT.jpg" width="500"/>
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
based on
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
Italian BERT in different domain-specific tasks.
|
|
|
|
| 6 |
---
|
| 7 |
|
| 8 |
<img src="https://huggingface.co/dlicari/Italian-Legal-BERT/resolve/main/ITALIAN_LEGAL_BERT.jpg" width="500"/>
|
| 9 |
+
<h1> ITALIAN-LEGAL-BERT:A pre-trained Transformer Language Model for Italian Law </h1>
|
| 10 |
+
|
| 11 |
+
ITALIAN-LEGAL-BERT is based on <a href="https://huggingface.co/dbmdz/bert-base-italian-xxl-cased">bert-base-italian-xxl-cased</a>,trained by the MDZ Digital Library team at the Bavarian State Library,
|
| 12 |
+
with additional pre-training of the Italian BERT model on Italian civil law corpora.
|
| 13 |
+
It achieves better results than the ‘general-purpose’ Italian BERT in different domain-specific tasks.
|
|
|