Model: prachuryyaIITG/SampurNER_Bengali_MuRIL
Task: Fine-grained Bengali Named Entity Recognition (Few-NERD 133 labels)
Base: google/muril-large-cased (BertForTokenClassification, 24 layers, hidden 1024, vocab 197285)
Hardware: Huawei Ascend 910B npu:0 via torch_npu
Route: token-classification – logits → argmax → word_ids aggregation → span decode

pip install -r requirements.txt
python inference.pyinference.py loads weights from local ./sampur_model (downloaded via HF_ENDPOINT=https://hf-mirror.com), runs Bengali sentences:
রবীন্দ্রনাথ ঠাকুর কলকাতায় জন্মগ্রহণ করেন।শেখ হাসিনা ঢাকায় বাংলাদেশের প্রধানমন্ত্রী হিসেবে দায়িত্ব পালন করছেন।সচিন তেন্ডুলকর মুম্বাইয়ে জন্মগ্রহণ করেছিলেন এবং ভারতের হয়ে ক্রিকেট খেলেছেন।It prints device proofs (next(model.parameters()).device, input_ids.device, logits.device), span results, and performance (sentences/s after torch.npu.synchronize()).
[(রবীন্দ্রনাথ ঠাকুর, person-artist/author), (কলকাতায়, location-GPE)] etc.argmax ids exactly match (e.g., [132, 50, 116, 20, ...])npu:0 Ascend910_9362, free HBM ~60 GiB