alt.freeweights.vision / modernbert-ner-conll2003-ONNX
From: onnx-community <huggingface.co/onnx-community>Newsgroups: alt.freeweights.visionSubject:

modernbert-ner-conll2003-ONNX

Date: 2026-11-15Commit: feac255Signed: 2DC28CC7B26A283B ✓

Token classification model. Onnx weights, 1.94 GB in all. Published by onnx-community under Apache-2.0.

vision1.94GBmodernbert-ner-conll2003-ONNXonnxpermissive
FactsParamsnot statedSize1.94 GBFormatsonnxTasktoken classificationLicenseApache-2.0From sourcepermissive
$ fw get onnx-community/modernbert-ner-conll2003-ONNX
# manifest sha256 4c9a9fa18117… · 1.94 GB · 15 files
$ fw verify ./modernbert-ner-conll2003-ONNX onnx-community/modernbert-ner-conll2003-ONNX
From sourceHosted (signed)onnx-community/modernbert-ner-conll2003-ONNXLast check: 2026-11-15 05:26 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Quantized of modernbert-ner-conll2003.

Works with

Runs with

Ranked by fit to this model (onnx), then by GitHub stars.

Convert with

Scan with

Overview

Size
1.94 GB
Weights
140 MB (smallest of 8 ONNX variants)
Parameters
not stated
Formats
onnx
Task
token classification
License
Apache-2.0 (permissive)
Files
15, each with a sha256
Publisher
onnx-community
Added
2026-11-15
Section
alt.freeweights.vision
Lineage

Original release from the publisher.

Base model: IsmaelMousa/modernbert-ner-conll2003

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 05:26 UTCpassed

Model card

From the publisher at commit feac255. Shown as plain text with links; images open at the publisher.

modernbert-ner-conll2003 (ONNX)#

This is an ONNX version of IsmaelMousa/modernbert-ner-conll2003. It was automatically converted and uploaded using this Hugging Face Space.

Usage with Transformers.js#

See the pipeline documentation for token-classification: https://huggingface.co/docs/transformers.js/api/pipelines#module_pipelines.TokenClassificationPipeline


ModernBERT NER (CoNLL2003)#

This model is a fine-tuned version of answerdotai/ModernBERT-base on the conll2003 dataset for Named Entity Recognition (NER).

Robust performance on tasks involving the recognition of Persons, Organizations, and Locations.

It achieves the following results on the evaluation set:

  • Loss: 0.0992
  • Precision: 0.8349
  • Recall: 0.8563
  • F1: 0.8455
  • Accuracy: 0.9752

Model Details#

Training Data#

The model is fine-tuned on the CoNLL2003 dataset, a well-known benchmark for NER. This dataset provides a solid foundation for the model to generalize on general English text.

Example Usage#

Below is an example of how to use the model with the Hugging Face Transformers library:

from transformers import pipeline

ner = pipeline(task="token-classification", model="IsmaelMousa/modernbert-ner-conll2003", aggregation_strategy="max")

results = ner("Hi, I'm Ismael Mousa from Palestine working for NVIDIA inc.")

for entity in results:
    for key, value in entity.items():
        if key == "entity_group":
            print(f"{entity['word']} => {entity[key]}")

Results:

Ismael Mousa => PER
Palestine => LOC
NVIDIA => ORG
Training hyperparameters#

The following hyperparameters were used during training:

  • learning_rate: 1e-06
  • train_batch_size: 8
  • eval_batch_size: 8
  • seed: 42
  • optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
  • lr_scheduler_type: linear
  • num_epochs: 10
Training results#
Training LossEpochStepValidation LossPrecisionRecallF1Accuracy
0.23061.017560.22430.60740.64830.62720.9406
0.14152.035120.15830.72580.75360.73940.9583
0.11433.052680.13350.77310.79890.78580.9657
0.09134.070240.11450.79580.82560.81040.9699
0.08485.087800.10790.81200.84080.82610.9720
0.07286.0105360.10360.82140.84520.83310.9730
0.06237.0122920.10320.82580.84870.83710.9737
0.05998.0140480.09900.82890.85270.84060.9745
0.05589.0158040.09980.83310.85410.84340.9750
0.055910.0175600.09920.83490.85630.84550.9752
Framework versions#
  • Transformers 4.48.0.dev0
  • Pytorch 2.2.1+cu121
  • Datasets 3.2.0
  • Tokenizers 0.21.0

Files

15 files · 1.94 GBWeights 140 MB (smallest of 8 ONNX variants). Sizes and sha256 from the signed manifest.
Hide all 15 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md4.45 KB6e0b5a8e1a508e8acb39235242e8075038c45acd30413eb81869156bdc9d75bb
config.json1.70 KB0ec300a15cafb7d78bd7a7352770b1a417640ec6c7ecf65aebda9bcb1d390369
onnx/model.onnx599 MB520bab15c914fc02fc236896aaeae277d0c4810e5a6981df4021ea9b81f1b3d1
onnx/model_bnb4.onnx218 MBae9c75b823191609bfc89aae81eb9720bfdb6f13af0163c5a896b4751f5036eb
onnx/model_fp16.onnx300 MBc30407494c95a7a0f163a7664c793947a6f4da998285e54974d519e013c3b954
onnx/model_int8.onnx151 MB8c59898f0778e8f5839438ebf0cde85cfc72dd6b008d523218aa4ce0ccdc1b52
onnx/model_q4.onnx225 MBe05b7a3fc922ff9c22b3cef7b2485208e57fed4c24e397589994803f00d5932f
onnx/model_q4f16.onnx140 MBb65bd14dc1b3b17202fd7bda091492ccc5db0e760f607467dbcb713295ba7695
onnx/model_quantized.onnx151 MB8c59898f0778e8f5839438ebf0cde85cfc72dd6b008d523218aa4ce0ccdc1b52
onnx/model_uint8.onnx151 MBd710cada60ad5a89e4a591ecdb1bcb7b65b7e1f0b290e10f9e524831f69ba8cb
quantize_config.json310 B9b60b5877b9a1687b5cddbc06124a974cb7536af9dbf5295279bf73c3823170c
special_tokens_map.json694 Bea97ecdbcc73713039d8d64dbb05e3689495c96657fbd9a18f5bed381be81049
tokenizer.json3.58 MB6c8aaa9a542084f2457eab775d4eeb51f92a70c0fd9de28d5edb0ddec3c08d30
tokenizer_config.json20.9 KBac9ca2f23ff8426df059d636f730014e18a6947ad0402a9b5aa1a35a6c450ec6
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
feac255159 pinned now2026-11-15 05:26 UTC15 files · 1.94 GB

Use it

$ fw get onnx-community/modernbert-ner-conll2003-ONNX
# manifest sha256 4c9a9fa18117… · 1.94 GB · 15 files
$ fw verify ./modernbert-ner-conll2003-ONNX onnx-community/modernbert-ner-conll2003-ONNX
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/onnx-community/modernbert-ner-conll2003-ONNX.json --dir ./modernbert-ner-conll2003-ONNX $ python3 fw.py verify ./modernbert-ner-conll2003-ONNX ./onnx-community__modernbert-ner-conll2003-ONNX.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/modernbert-ner-conll2003-ONNX --revision feac2551592e650f9d952fe23839ca052b6fa096 --local-dir ./modernbert-ner-conll2003-ONNX

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
6e0b5a8e1a508e8acb39235242e8075038c45acd30413eb81869156bdc9d75bb
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: onnx-community <huggingface.co/onnx-community>Newsgroups: alt.freeweights.visionSubject: modernbert-ner-conll2003-ONNXDate: 2026-11-15Commit: feac255Signed: 2DC28CC7B26A283B ✓
Upstream
onnx-community/modernbert-ner-conll2003-ONNX
Pinned commit
feac2551592e650f9d952fe23839ca052b6fa096
Manifest
modernbert-ner-conll2003-ONNX.json · .minisig
Manifest sha256
4c9a9fa181178f9706e45cf51e44424b75cc522ff821d492101bc0229b64ad86
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:26 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/onnx-community/modernbert-ner-conll2003-ONNX.json $ curl -O https://freeweights.allternit.com/manifests/onnx-community/modernbert-ner-conll2003-ONNX.json.minisig $ minisign -Vm modernbert-ner-conll2003-ONNX.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

IsmaelMousa/modernbert-ner-conll2003 · this model is a quantization of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/modernbert-ner-conll2003-ONNX
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. modernbert-ner-conll2003-ONNX.json. Provenance. Takedown history: none.
From: dima806 <huggingface.co/dima806>Subject: ai_vs_real_image_detection
From: legekka <huggingface.co/legekka>Subject: AI-Anime-Image-Detector-ViT
From: onnx-community <huggingface.co/onnx-community>Subject: AI-Anime-Image-Detector-ViT-ONNX
From: AICodexLab <huggingface.co/AICodexLab>Subject: answerdotai-ModernBERT-base-ai-detector
From: onnx-community <huggingface.co/onnx-community>Subject: answerdotai-ModernBERT-base-ai-detector-ONNX
From: onnx-community <huggingface.co/onnx-community>Subject: bart-large-cnn-ONNX