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

modernbert-ner-conll2003

Date: 2026-11-15Commit: 40b4c98Signed: 2DC28CC7B26A283B ✓

Token classification model with 150M parameters. Safetensors weights, 602 MB in all. Published by IsmaelMousa under Apache-2.0.

150M params602MBmodernbert-ner-conll2003safetensorspermissive
FactsParams150MSize602 MBFormatssafetensorsTasktoken classificationLicenseApache-2.0From sourcepermissive
$ fw get IsmaelMousa/modernbert-ner-conll2003
# manifest sha256 92198bb73c6c… · 602 MB · 9 files
$ fw verify ./modernbert-ner-conll2003 IsmaelMousa/modernbert-ner-conll2003
From sourceHosted (signed)IsmaelMousa/modernbert-ner-conll2003Last check: 2026-11-15 03:40 UTC

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

Fine-tune of ModernBERT-base.

Works with

Runs with

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

Overview

Size
602 MB
Weights
598 MB (safetensors)
Parameters
150M
Formats
safetensors
Task
token classification
License
Apache-2.0 (permissive)
Files
9, each with a sha256
Publisher
IsmaelMousa
Added
2026-11-15
Section
alt.freeweights.vision
Lineage

Original release from the publisher.

Base model: answerdotai/ModernBERT-base

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 03:40 UTCpassed

Model card

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

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

9 files · 602 MBWeights 598 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 9 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md3.93 KB08c202e2bcd8388ec5de6bed12f4e55b6aa1d9985af15b7df11cd2f898b12a6e
config.json1.62 KB6a6b8a1dc8e9d459fae396960fac426b4b215eda0629151d2730cf1ae551df07
model.safetensors598 MB776e921d3b21944180744e5d0a94209a8959ee6647a0011a1e72d11d35ba1210
runs/Jan07_20-04-16_ip-10-192-11-87/events.out.tfevents.1736280259.ip-10-192-11-87.30133.018.5 KB2685e70970381714705b644099559860dfc05497a9582f9d7cdc66a27debdd37
special_tokens_map.json694 Bea97ecdbcc73713039d8d64dbb05e3689495c96657fbd9a18f5bed381be81049
tokenizer.json3.58 MB6c8aaa9a542084f2457eab775d4eeb51f92a70c0fd9de28d5edb0ddec3c08d30
tokenizer_config.json20.9 KB9654072f7c873161814043cf08cb5ed72f71d0b935abcd4e267935cb34352c21
training_args.bin5.37 KBbd8e15d77cbad4256a5b3edec98bb4d6cd1707dacaaef33b81f30e74a61595c0
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
40b4c980c3 pinned now2026-11-15 03:40 UTC9 files · 602 MB

Use it

$ fw get IsmaelMousa/modernbert-ner-conll2003
# manifest sha256 92198bb73c6c… · 602 MB · 9 files
$ fw verify ./modernbert-ner-conll2003 IsmaelMousa/modernbert-ner-conll2003
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/IsmaelMousa/modernbert-ner-conll2003.json --dir ./modernbert-ner-conll2003 $ python3 fw.py verify ./modernbert-ner-conll2003 ./IsmaelMousa__modernbert-ner-conll2003.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download IsmaelMousa/modernbert-ner-conll2003 --revision 40b4c980c346c99f14a7ff41c027af7f40355f56 --local-dir ./modernbert-ner-conll2003

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
08c202e2bcd8388ec5de6bed12f4e55b6aa1d9985af15b7df11cd2f898b12a6e
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: IsmaelMousa <huggingface.co/IsmaelMousa>Newsgroups: alt.freeweights.visionSubject: modernbert-ner-conll2003Date: 2026-11-15Commit: 40b4c98Signed: 2DC28CC7B26A283B ✓
Upstream
IsmaelMousa/modernbert-ner-conll2003
Pinned commit
40b4c980c346c99f14a7ff41c027af7f40355f56
Manifest
modernbert-ner-conll2003.json · .minisig
Manifest sha256
92198bb73c6c6e72e68207c3a216060dbe9e42a9e9c9c264dbf73a5a9da480b4
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:40 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/IsmaelMousa/modernbert-ner-conll2003.json $ curl -O https://freeweights.allternit.com/manifests/IsmaelMousa/modernbert-ner-conll2003.json.minisig $ minisign -Vm modernbert-ner-conll2003.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

answerdotai/ModernBERT-base · this model is a finetune of it

1 model in the catalog name this one as their parent.

Quantizations
1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download IsmaelMousa/modernbert-ner-conll2003
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.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of modernbert-ner-conll2003. Each has its own license check and page.

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