How to use Mattia2700/ModernBERT-base_AllDataSources_5e-05_constant_512_flattening with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="Mattia2700/ModernBERT-base_AllDataSources_5e-05_constant_512_flattening")
# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("Mattia2700/ModernBERT-base_AllDataSources_5e-05_constant_512_flattening") model = AutoModelForMaskedLM.from_pretrained("Mattia2700/ModernBERT-base_AllDataSources_5e-05_constant_512_flattening")
The community tab is the place to discuss and collaborate with the HF community!