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

yolos-base-signature-detection

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

Object detection model with 128M parameters. Safetensors weights, 511 MB in all. Published by mdefrance under Apache-2.0.

128M params511MByolos-base-signature-detectionsafetensorspermissive
FactsParams128MSize511 MBFormatssafetensorsTaskobject detectionLicenseApache-2.0From sourcepermissive
$ fw get mdefrance/yolos-base-signature-detection
# manifest sha256 d61d5b74e567… · 511 MB · 5 files
$ fw verify ./yolos-base-signature-detection mdefrance/yolos-base-signature-detection
From sourceHosted (signed)mdefrance/yolos-base-signature-detectionLast check: 2026-11-15 03:37 UTC

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

Works with

Runs with

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

Overview

Size
511 MB
Weights
511 MB (safetensors)
Parameters
128M
Formats
safetensors
Task
object detection
License
Apache-2.0 (permissive)
Files
5, each with a sha256
Publisher
mdefrance
Added
2026-11-15
Section
alt.freeweights.vision
Lineage

Original release from the publisher.

Base model: hustvl/yolos-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:37 UTCpassed

Model card

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

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

5 files · 511 MBWeights 511 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 5 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md9.63 KB8fba1815e51972a76aff5e6a7f24f72db370768553254a610b302ae19416f8c4
config.json826 Baf3618e73bbbd46057ef083d820ce53184fbd0c506e12249de2182ab5bcf039c
model.safetensors511 MBf009746ce70ba3381951928260cd1787c4f38bfbef9aac770144e3b4d029dc3b
preprocessor_config.json441 B2723351e75bfcfb9a47656a8b46e259e3649ae7b2545c9deb2ce8a0f3a840d18
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
c8e2c680f6 pinned now2026-11-15 03:37 UTC5 files · 511 MB

Use it

$ fw get mdefrance/yolos-base-signature-detection
# manifest sha256 d61d5b74e567… · 511 MB · 5 files
$ fw verify ./yolos-base-signature-detection mdefrance/yolos-base-signature-detection
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/mdefrance/yolos-base-signature-detection.json --dir ./yolos-base-signature-detection $ python3 fw.py verify ./yolos-base-signature-detection ./mdefrance__yolos-base-signature-detection.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download mdefrance/yolos-base-signature-detection --revision c8e2c680f667a517b11564b98967a049f2d45d17 --local-dir ./yolos-base-signature-detection

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
8fba1815e51972a76aff5e6a7f24f72db370768553254a610b302ae19416f8c4
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: mdefrance <huggingface.co/mdefrance>Newsgroups: alt.freeweights.visionSubject: yolos-base-signature-detectionDate: 2026-11-15Commit: c8e2c68Signed: 2DC28CC7B26A283B ✓
Upstream
mdefrance/yolos-base-signature-detection
Pinned commit
c8e2c680f667a517b11564b98967a049f2d45d17
Manifest
yolos-base-signature-detection.json · .minisig
Manifest sha256
d61d5b74e567d85d5c62abd613033ba04505e314194f948b90080d8db969afed
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:37 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

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

hustvl/yolos-base (not in this catalog) · 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 mdefrance/yolos-base-signature-detection
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.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of yolos-base-signature-detection. 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