---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://mixpeek.com/.well-known/search?q={query}"
  method: GET
  documentation: "https://mixpeek.com/llms.txt"
---

[Models](/models)/[Detection & Recognition](/models?category=detection)/hustvl/yolos-tiny

HFObject Detectionapache-2.0

# yolos-tiny

by hustvl

You Only Look at One Sequence, ViT-based real-time object detection

158Kdl/month

282likes

6Mparams

[HuggingFace](https://huggingface.co/hustvl/yolos-tiny)[Run it on your own data, free](https://studio.mixpeek.com/namespaces/create?mode=managed&utm_source=homepage&utm_medium=model_page&utm_campaign=mvs_onramp)

Identifiers

Model ID

`hustvl/yolos-tiny`

## Deploy yolos-tiny

Single-tenant

Mixpeek has no managed extractor for this model. On a single-tenant deployment you upload the weights and a custom plugin serves them next to the rest of your pipeline.

[Read the customer-hosted guide](https://mixpeek.com/docs/customer-hosted/overview) [Talk to us about single-tenant](/demo)

## Overview

YOLOS adapts the Vision Transformer (ViT) architecture for object detection by simply appending detection tokens to the input sequence. It demonstrates that a pure transformer can perform object detection without any convolutional components.

On Mixpeek, YOLOS Tiny provides a lightweight, fast alternative to DETR for object detection tasks where speed is prioritized over maximum accuracy.

## Architecture

Vision Transformer (ViT-Tiny) with 12 layers. Appends 100 learnable detection tokens to the image patch sequence. Uses bipartite matching loss like DETR.

## How it runs

.dataflow-R15f6b .df-packets-static{display:none} @media (prefers-reduced-motion: reduce){ .dataflow-R15f6b .df-packets-anim{display:none} .dataflow-R15f6b .df-packets-static{display:inline} .dataflow-R15f6b .df-toggle{display:none} }

Pause

Inference INPUT MODEL OUTPUT Image object yolos-tiny mp.inference Detections vector Vector store MVS yolos-tiny → embeddings, indexed for search

yolos-tiny takes image, and Mixpeek indexes what it emits.

## Mixpeek SDK Integration

IngestRetrieve

// No extractor parameter takes a Hugging Face model id (checked against
// GET /v1/discovery/extractors, which returns 13), so yolos-tiny runs
// on your side and the output is upserted through POST
// /v1/namespaces/{namespace\_id}/documents/upsert. On Enterprise the other
// path is to upload the weights instead: POST /v1/namespaces/{id}/models
// accepts the huggingface format and a custom plugin loads them.
const res = await fetch(
  "https://api.mixpeek.com/v1/namespaces/ns\_your\_namespace/documents/upsert",
  {
    method: "POST",
    headers: {
      Authorization: "Bearer API\_KEY",
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      collection\_id: "col\_your\_collection",
      documents: \[
        {
          document\_id: "asset-00412",
          // Boxes, masks, depth maps and anomaly scores are structured
          // results, not vectors. They go in payload and are reachable
          // through pre\_filters on a retriever, not through similarity.
          payload: {
            detections: modelOutput,
            source\_key: "archive/2026/asset-00412",
          },
        },
      \],
    }),
  },
);

// No managed alternative for an open label set. Two extractors do emit a
// bbox, for the one thing each detects: document\_graph\_extractor@v1 per
// layout block, face\_identity\_extractor@v1 per face. Nothing ships that
// returns masks, depth maps or anomaly scores.

## Capabilities

*   Lightweight ViT-based object detection
*   Fast inference suitable for real-time processing
*   COCO object categories
*   Pure transformer architecture (no CNN backbone)

## Use Cases on Mixpeek

Real-time video analysis where low latency is critical

Edge deployment scenarios with limited compute

High-throughput batch processing of large video archives

## Benchmarks

Dataset

Metric

Score

Source

COCO val2017

AP (box)

30.4

Fang et al., 2021: Table 1

COCO val2017

AP50

48.6

Fang et al., 2021: Table 1

## Performance

Input Size512×864 px

GPU Latency~6ms / image (A100)

CPU Latency~55ms / image

GPU Throughput~165 images/sec (A100)

GPU Memory~0.4 GB

6.5M params: optimized for edge and high-throughput scenarios

## Common Pipeline Companions

[

openai/clip-vit-large-patch14

Visual embedding after detection

](/model/openai/clip-vit-large-patch14)[

google/siglip-base-patch16-224

Zero-shot classification of detections

](/model/google/siglip-base-patch16-224)

## Explore on Mixpeek

[

More Detection & Recognition models

Compare alternatives in this category

](/models?category=detection)[

Best Computer Vision APIs

Hand-picked tools & platforms compared

](/curated-lists/best-computer-vision-apis)[

Open-Vocabulary Object Detection

Deep-dive technical guide

](/guides/open-vocabulary-object-detection)[

Feature Extractors

See how Mixpeek runs models as extractors

](/extractors)[

Mixpeek Vector Store

Store & search embeddings at scale

](/mvs)[

Pricing

Usage-based pricing for pipelines

](/pricing)[

All Curated Lists

Compare models, APIs & infrastructure

](/curated-lists)

### Specification

FrameworkHF

Organizationhustvl

FeatureObject Detection

Outputbbox + label

Modalitiesvideo, image

RetrieverObject Filter

Parameters6M

Licenseapache-2.0

Downloads/mo158K

Likes282

[

### Research Paper

You Only Look at One Sequence

arxiv.org](https://arxiv.org/abs/2106.00666)

### Build a pipeline with yolos-tiny

Add this model to a processing pipeline alongside other extractors. Combine with retrieval stages for end-to-end search.

[Run it on your own data, free](https://studio.mixpeek.com/namespaces/create?mode=managed&utm_source=homepage&utm_medium=model_page&utm_campaign=mvs_onramp)

### Alternative Models

[

facebook/detr-resnet-50

Object Detection

](/model/facebook/detr-resnet-50)[

ultralytics/yolov8n

Object Detection

](/model/ultralytics/yolov8n)[

AILab-CVC/YOLO-World-L

Object Detection

](/model/AILab-CVC/YOLO-World-L)[

IDEA-Research/grounding-dino-base

Object Detection

](/model/IDEA-Research/grounding-dino-base)

### Related in Detection & Recognition

[

deepinsight/insightface-retinaface-r50

Face Detection

](/model/deepinsight/insightface-retinaface-r50)[

timesler/facenet-pytorch

Face Detection

](/model/timesler/facenet-pytorch)[

fal/AuraFace-v1

Face Detection

](/model/fal/AuraFace-v1)[

Idiap/EdgeFace-S-GAMMA

Face Detection

](/model/Idiap/EdgeFace-S-GAMMA)