Run this model with HF Jobs
Run FrontiersMind/NandiBERT-450M 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/FrontiersMind/NandiBERT-450M. 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/FrontiersMind/NandiBERT-450M 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 FrontiersMind/NandiBERT-450M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FrontiersMind/NandiBERT-450M with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="FrontiersMind/NandiBERT-450M", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("FrontiersMind/NandiBERT-450M", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Sync config defaults and docstrings with the actual checkpoint
configuration_nandi_encoder.py's hardcoded __init__ defaults (and the class docstring, and a docstring in modeling_nandi_encoder.py) described a different, smaller architecture than this checkpoint actually is: e.g. hidden_size=832/num_hidden_layers=16/mlm_head="tied_factorized" as Python defaults, vs the real config.json values (hidden_size: 1024, num_hidden_layers: 28, mlm_head: "dense"). Since from_pretrained always passes the full saved config.json as kwargs, this never affected loading this checkpoint, but it's misleading if anyone reads the source as documentation, or instantiates NandiEncoderConfig() directly expecting the 450M defaults it claims to have. Updated the defaults and docstrings to match this checkpoint's actual config, and verified by instantiating the fixed class with no arguments and diffing every field against the real config.json; everything matches now. Also added transformers_version to config.json, which NandiBERT-150M has but this one was missing.