Fill-Mask
Transformers
Safetensors
English
modernbert
distillation
knowledge-distillation
model-compression
Instructions to use codechrl/modernbert-lite with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use codechrl/modernbert-lite with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="codechrl/modernbert-lite")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("codechrl/modernbert-lite") model = AutoModelForMaskedLM.from_pretrained("codechrl/modernbert-lite", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from codechrl/modernbert-lite: direct link, hf CLI and curl.
- Browser
- Download file 299 MB
-
https://huggingface.co/codechrl/modernbert-lite/resolve/main/model.safetensors
- Command line
-
hf download hf://codechrl/modernbert-lite/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/codechrl/modernbert-lite/resolve/main/model.safetensors
299 MB
- Xet hash:
- 51328747adf01889c6d7e103df22fd8e379f7d19c35e39510687b1efbe918ebd
- Size of remote file:
- 299 MB
- SHA256:
- 62c86d300ca9f4cb374dd4ac1e237bc570a30afc1a5baf24b0a56416eef423f8
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.