Instructions to use DeepMount00/ModernBERT-base-ita with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DeepMount00/ModernBERT-base-ita with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="DeepMount00/ModernBERT-base-ita")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("DeepMount00/ModernBERT-base-ita") model = AutoModelForMaskedLM.from_pretrained("DeepMount00/ModernBERT-base-ita") - Notebooks
- Google Colab
- Kaggle
Difference with Italian-ModernBERT-base?
#2
by mapto - opened
What is the difference between this model and DeepMount00/Italian-ModernBERT-base.
It is not immediately clear to me from the description.
Hi @mapto
The difference is in the tokenizer ,the tokenizer of DeepMount00/ModernBERT-base-ita is the same of answerdotai/ModernBERT-base so it is in English.
The italian one (DeepMount00/Italian-ModernBERT-base) has the italian tokenizer, and was trained from scratch.
Thanks!
mapto changed discussion status to closed