Instructions to use bullmount/hseBert-it-cased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bullmount/hseBert-it-cased with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="bullmount/hseBert-it-cased")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("bullmount/hseBert-it-cased") model = AutoModelForMaskedLM.from_pretrained("bullmount/hseBert-it-cased") - Notebooks
- Google Colab
- Kaggle
hseBERT
hseBert-it-cased is a BERT model obtained by MLM adaptive-tuning bert-base-italian-xxl-cased on texts of Italian regulation (Testo unico sulla sicurezza sul lavoro - D.lgs. 9 aprile 2008, n. 81, Codice dell'Ambiente - D.lgs. 3 aprile 2006, n. 152), approximately 7k sentences.
Usage
from transformers import AutoModel, AutoTokenizer
model_name = "bullmount/hseBert-it-cased"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModel.from_pretrained(model_name)
- Downloads last month
- 7