How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("fill-mask", model="nreimers/mMiniLMv2-L12-H384-distilled-from-XLMR-Large")
# Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM

tokenizer = AutoTokenizer.from_pretrained("nreimers/mMiniLMv2-L12-H384-distilled-from-XLMR-Large")
model = AutoModelForMaskedLM.from_pretrained("nreimers/mMiniLMv2-L12-H384-distilled-from-XLMR-Large", device_map="auto")
Quick Links

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Multilingual MiniLMv2

This is a MiniLMv2 model from: https://github.com/microsoft/unilm

Downloads last month
2,843
Inference Providers NEW
Examples
Mask token: <mask>

Model tree for nreimers/mMiniLMv2-L12-H384-distilled-from-XLMR-Large

Finetunes
4 models
Quantizations
2 models