alt.freeweights.vision / yolos-base-signature-detection-ONNX
From: onnx-community <huggingface.co/onnx-community>Newsgroups: alt.freeweights.visionSubject:

yolos-base-signature-detection-ONNX

Date: 2026-11-15Commit: 0cfe1efSigned: 2DC28CC7B26A283B ✓

Object detection model. Onnx weights, 2.23 GB in all. Published by onnx-community under Apache-2.0.

vision2.23GByolos-base-signature-detection-ONNXonnxpermissive
FactsParamsnot statedSize2.23 GBFormatsonnxTaskobject detectionLicenseApache-2.0From sourcepermissive
$ fw get onnx-community/yolos-base-signature-detection-ONNX
# manifest sha256 7d617a335c0d… · 2.23 GB · 12 files
$ fw verify ./yolos-base-signature-detection-ONNX onnx-community/yolos-base-signature-detection-ONNX
From sourceHosted (signed)onnx-community/yolos-base-signature-detection-ONNXLast check: 2026-11-15 05:19 UTC

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

Quantized of yolos-base-signature-detection.

Works with

Runs with

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

Convert with

Scan with

Overview

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

Original release from the publisher.

Base model: mdefrance/yolos-base-signature-detection

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:19 UTCpassed

Model card

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

yolos-base-signature-detection (ONNX)#

This is an ONNX version of mdefrance/yolos-base-signature-detection. It was automatically converted and uploaded using this Hugging Face Space.

Usage with Transformers.js#

See the pipeline documentation for object-detection: https://huggingface.co/docs/transformers.js/api/pipelines#module_pipelines.ObjectDetectionPipeline


YOLOS (base-sized) Model For Handwritten Signature Detection#

YOLOS model finetuned to detect handwritten signatures in document images using [tech4humans/signature-detection](https://huggingface.co/datasets/tech4humans/signature-detection) dataset.

Original YOLOS was introduced in the paper You Only Look at One Sequence: Rethinking Transformer in Vision through Object Detection by Fang et al. and first released in this repository.

Model description#

YOLOS is a Vision Transformer (ViT) trained using the DETR loss. Despite its simplicity, a base-sized YOLOS model is able to achieve 42 AP on COCO validation 2017 (similar to DETR and more complex frameworks such as Faster R-CNN).

Uses#

This model is designed for detecting handwritten signatures in scanned documents, contracts, or forms.

You can try it instantly in your browser here: HF Space

Direct Use#

Here is how to use this model:

from datasets import load_dataset
from transformers import pipeline

# Load the tech4humans signature dataset
dataset = load_dataset("samuellimabraz/signature-detection")

# Load the finetuned model
yolos = pipeline(
    task="object-detection",
    model="mdefrance/yolos-base-signature-detection",
    device_map="auto",
)

# Inference on test sample
prediction = yolos(dataset["test"][0].get("image"))

Currently, both the image processor and model support PyTorch.

Out-of-Scope Use#
  • Fraudulent Use: This model must not be used for forging signatures or any illegal activity. It’s meant for legitimate signature detection in documents.
  • Other Objects: Not suitable for detecting non-signature elements in documents.
  • Critical Decisions: Should not be solely relied on for high-stakes decisions (e.g., legal or financial) without human validation.

Bias, Risks, and Limitations#

  • Bias: May not generalize well if training data lacks diversity in signature styles or cultural context.
  • Risks: False positives/negatives can occur, impacting document validation.
  • Limitations: Performance may degrade on poor-quality images or in challenging visual conditions (e.g., noise, lighting).
Recommendations#
  • Improve Training Data: Fine-tune with diverse and representative samples to reduce bias.
  • Human Oversight: Always include a human review step for critical use cases.
  • Image Quality: Use clean, high-resolution images; apply preprocessing if needed.
  • Ethical Use: Follow legal and ethical standards, ensuring privacy and responsible deployment.

Training Details#

Training Data#

| Dataset on HF

The training utilized a dataset built from two public datasets: Tobacco800 and signatures-xc8up, unified and processed in Roboflow. The processed dataset was created by Samuel Lima Braz, and all credit for the dataset preparation goes to him.

Dataset Summary:

  • Training: 1,980 images (70%)
  • Validation: 420 images (15%)
  • Testing: 419 images (15%)
  • Format: COCO JSON
  • Resolution: 640x640 pixels
Training Procedure#

See mdefrance/signature-detection for details on training procedure.

Metrics#

Performances computed on the testing set:

Metricyolos-base-signature-detectionyolos-small-signature-detectionyolos-tiny-signature-detection
Inference Time - CPU (s)2.2500.7870.262
Inference Time - GPU (s)1.4640.0230.014
Parameters127.73M30.65M6.47M
mAP500.8870.8590.856
mAP50-950.4950.4190.395

Inference times are computed on a laptop with following specs:

  • CPU: Intel Core i7-9750H
  • GPU: NVIDIA GeForce GTX 1650

License Comparison#

GNU Affero General Public License v3.0 (AGPL-3.0)#

AGPL-3.0 is a strong copyleft license designed to keep software and its modifications open-source, especially for web apps and network services.

  • Strong Copyleft: Modified versions must also be AGPL-licensed.
  • Network Use: Users must get the source code, even if they only interact with the software over a network.
  • Commercial Use: Allowed, but any changes must be shared under AGPL-3.0.
  • Patent Protection: Includes safeguards against patent and trademark claims.
Apache License 2.0#

Apache 2.0 is a permissive license that offers flexibility for both open-source and proprietary use.

  • Permissive: Modifications and derivatives don’t need to be open-source.
  • Commercial Use: Fully allowed with no requirement to share changes.
  • Patent Protection: Includes strong patent clauses.
  • Compatibility: Easy to combine with other licenses and projects.
Summary: Why Apache 2.0 Offers More Flexibility#

While AGPL-3.0 ensures openness, Apache 2.0 is better suited for businesses and closed-source use:

  • No obligation to disclose modified code.
  • Easier to integrate into proprietary systems.
  • More flexible for commercial applications.

For full license texts, see:

Citation#

This model is a finetuned version of the YOLOS model introduced in the following paper. If you use this model, please cite the original work:

BibTeX:

@article{DBLP:journals/corr/abs-2106-00666,
  author    = {Yuxin Fang and
               Bencheng Liao and
               Xinggang Wang and
               Jiemin Fang and
               Jiyang Qi and
               Rui Wu and
               Jianwei Niu and
               Wenyu Liu},
  title     = {You Only Look at One Sequence: Rethinking Transformer in Vision through
               Object Detection},
  journal   = {CoRR},
  volume    = {abs/2106.00666},
  year      = {2021},
  url       = {https://arxiv.org/abs/2106.00666},
  eprinttype = {arXiv},
  eprint    = {2106.00666},
  timestamp = {Fri, 29 Apr 2022 19:49:16 +0200},
  biburl    = {https://dblp.org/rec/journals/corr/abs-2106-00666.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}
Additional Resources#

Acknowledgements#

This model is finetuned for handwritten signature detection using the [tech4humans/signature-detection](https://huggingface.co/datasets/tech4humans/signature-detection) Dataset. The finetuning process and additional resources can be found in the GitHub Repository mdefrance/signature-detection.

Author#

| Mario DEFRANCE Mario DEFRANCE Data Scientist / AI Engineer

|

Responsibilities in this Project#

🔬 Model development and training

⚙️ Performance evaluation

📝 Technical documentation and model card

Files

12 files · 2.23 GBWeights 208 MB (smallest of 8 ONNX variants). Sizes and sha256 from the signed manifest.
Hide all 12 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md10.2 KB3c47452977c74868f38a35b3fa3b9313018816871525d061a767b0318ec560a4
config.json820 B104352dc474ae69766464e9f0167bba4fdd2a38f7a1bc3e3f82a2041d8ccfc8e
onnx/model.onnx511 MB3d89ae57c333a82ccb1b363702f53a911f83fe663e68f2e4ffb4a129d8b2ef57
onnx/model_bnb4.onnx217 MBe81993b915f1d97c849e5360197b64facdd1988db467d45d9e8ed4fa29b3ac6c
onnx/model_fp16.onnx333 MB2d8d6fdca4f271068887834da31a03a0c042b8ad72a0f9100e6dec520c7ce6a7
onnx/model_int8.onnx248 MBa1be5f76423efc3405e7bc0627d107ee339dfe37335bb580773e75d2dc75b663
onnx/model_q4.onnx217 MBe81993b915f1d97c849e5360197b64facdd1988db467d45d9e8ed4fa29b3ac6c
onnx/model_q4f16.onnx208 MB3b65f736835983c3f58d7338caebb5c0f31f034162456bebe80acf4a031012b6
onnx/model_quantized.onnx248 MBa1be5f76423efc3405e7bc0627d107ee339dfe37335bb580773e75d2dc75b663
onnx/model_uint8.onnx248 MB0450056af8e834da3674c7f5df729eb4e2cc52692ef6f57afa23a89dd74cb073
preprocessor_config.json441 B2723351e75bfcfb9a47656a8b46e259e3649ae7b2545c9deb2ce8a0f3a840d18
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
0cfe1efc33 pinned now2026-11-15 05:19 UTC12 files · 2.23 GB

Use it

$ fw get onnx-community/yolos-base-signature-detection-ONNX
# manifest sha256 7d617a335c0d… · 2.23 GB · 12 files
$ fw verify ./yolos-base-signature-detection-ONNX onnx-community/yolos-base-signature-detection-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/yolos-base-signature-detection-ONNX.json --dir ./yolos-base-signature-detection-ONNX $ python3 fw.py verify ./yolos-base-signature-detection-ONNX ./onnx-community__yolos-base-signature-detection-ONNX.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/yolos-base-signature-detection-ONNX --revision 0cfe1efc3388fd0063109739c8403b5802324431 --local-dir ./yolos-base-signature-detection-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
3c47452977c74868f38a35b3fa3b9313018816871525d061a767b0318ec560a4
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: yolos-base-signature-detection-ONNXDate: 2026-11-15Commit: 0cfe1efSigned: 2DC28CC7B26A283B ✓
Upstream
onnx-community/yolos-base-signature-detection-ONNX
Pinned commit
0cfe1efc3388fd0063109739c8403b5802324431
Manifest
yolos-base-signature-detection-ONNX.json · .minisig
Manifest sha256
7d617a335c0dd3363aefc9ded8a036b621334b254c8d46c169bd7ce5304d6a66
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:19 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/onnx-community/yolos-base-signature-detection-ONNX.json $ curl -O https://freeweights.allternit.com/manifests/onnx-community/yolos-base-signature-detection-ONNX.json.minisig $ minisign -Vm yolos-base-signature-detection-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

mdefrance/yolos-base-signature-detection · 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/yolos-base-signature-detection-ONNX
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. yolos-base-signature-detection-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