Run this model with HF Jobs
Run agentlans/mmBERT-small-safetensors on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/agentlans/mmBERT-small-safetensors. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/agentlans/mmBERT-small-safetensors on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use agentlans/mmBERT-small-safetensors with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use agentlans/mmBERT-small-safetensors with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="agentlans/mmBERT-small-safetensors")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("agentlans/mmBERT-small-safetensors") model = AutoModel.from_pretrained("agentlans/mmBERT-small-safetensors", device_map="auto") - Notebooks
- Google Colab
- Kaggle
mmBERT-small (Safetensors Format)
This repository provides an unofficial Safetensors-converted version of jhu-clsp/mmBERT-small. Converting the weights to Safetensors improves loading security and allows you to use the model with recent versions of the transformers library without requiring trust_remote_code=True.
Overview
mmBERT-small is a state-of-the-art multilingual encoder trained on 3T+ tokens across 1,800+ languages, utilizing novel techniques for learning low-resource languages during the annealing/decay phase.
Usage
from transformers import AutoModel, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("agentlans/mmBERT-small-safetensors")
model = AutoModel.from_pretrained("agentlans/mmBERT-small-safetensors")
Citation
If you use mmBERT in your research, please cite the original authors:
@misc{marone2025mmbertmodernmultilingualencoder,
title={mmBERT: A Modern Multilingual Encoder with Annealed Language Learning},
author={Marc Marone and Orion Weller and William Fleshman and Eugene Yang and Dawn Lawrie and Benjamin Van Durme},
year={2025},
eprint={2509.06888},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2509.06888},
}
- Downloads last month
- 48
Model tree for agentlans/mmBERT-small-safetensors
Base model
jhu-clsp/mmBERT-small