Instructions to use KRLabsOrg/ModernBERT-base-hu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KRLabsOrg/ModernBERT-base-hu with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="KRLabsOrg/ModernBERT-base-hu")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("KRLabsOrg/ModernBERT-base-hu") model = AutoModelForMaskedLM.from_pretrained("KRLabsOrg/ModernBERT-base-hu") - Notebooks
- Google Colab
- Kaggle
Hungarian ModernBERT
We've used the transtokenizer repo to create a mapped ModernBERT-base model to Hungarian. To create the data, we've used the OpenSubtitles corpus to obtain EN-HU parallel sentences to train the mapping.
- Downloads last month
- 6
Model tree for KRLabsOrg/ModernBERT-base-hu
Base model
answerdotai/ModernBERT-base