/ Модель

Характеристики

Лицензия
Apache 2.0
Архитектура
falcon_perception · dense
Библиотека
transformers
Опубликована
3 апр 2026

Falcon-Perception-300M

Генерация текстаТекст → текст3 профессии

Компактная модель TII обнаруживает объекты на изображениях по текстовым запросам и возвращает ограничивающие рамки.

433скачиваний за 30 дней14лайковвеса обновлены3 апр 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Falcon Perception 300M — компактная модель на 0,3 млрд параметров от TII для обнаружения объектов по изображениям и текстовым запросам. Она использует плотный Transformer с ранним объединением визуальных патчей и текстовых токенов: модель строит визуальный контекст и авторегрессионно выдаёт структурированные координаты ограничивающих рамок. По сравнению с полной Falcon Perception эта версия предназначена только для детекции и подходит для сценариев с ограниченными вычислительными ресурсами.

Модель принимает изображение и запрос на естественном языке и возвращает ноль или более найденных экземпляров с рамками. Её можно использовать для поиска объектов по свободному описанию, выбора элементов на изображении и обработки сцен с большим числом экземпляров. Лицензия — Apache 2.0.

Модель не предназначена для открытого диалога, длинной генерации или многошаговых визуальных вопросов и ответов; маски сегментации она не выдаёт. Возможны ложные срабатывания на сложных отрицательных примерах, а точность локализации снижается при низком разрешении; обнаружение мелкого текста затруднено.

Сценарии применения

  • Поиск объектов на изображении по запросу на естественном языке
  • Выбор и локализация элементов изображения для последующей обработки
  • Обнаружение множества экземпляров в загруженных сценах
  • Лёгкая детекция объектов на устройствах с ограниченными ресурсами

Ограничения

Модель не создаёт маски сегментации и не предназначена для общего визуального диалога или многошаговых вопросов и ответов. Возможны ложные срабатывания на сложных отрицательных примерах; мелкий текст и точная локализация в изображениях низкого разрешения затруднены.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

[!NOTE] This is the 300M parameter variant of Falcon Perception. It supports detection only (bounding boxes). For the full model with segmentation masks, see tiiuae/Falcon-Perception.

Falcon Perception 300M

Falcon Perception 300M is a 0.3B parameter early-fusion vision-language model for open-vocabulary grounding detection. Given an image and a natural language query, it returns zero, one, or many matching instances with accurate bounding boxes.

The model is built around a simple interface. Image patches and text tokens are processed together in a single Transformer using a hybrid attention mask: image tokens build bidirectional visual context, while text and task tokens decode causally conditioned on the image. For each detected instance, the model generates a short structured sequence of task tokens: <|coord|> then <|size|>, producing a center point and bounding box size in normalized coordinates.

Links

Quickstart

Installation

pip install "torch>=2.5" transformers pillow einops

This model requires PyTorch 2.5 or newer for FlexAttention. The first call can be slower because torch.compile may build optimized kernels.

Run open-vocabulary detection

import torch
from PIL import Image
from transformers import AutoModelForCausalLM

model = AutoModelForCausalLM.from_pretrained(
    "tiiuae/Falcon-Perception-300M",
    trust_remote_code=True,
    device_map={"": "cuda:0"},
)

image = Image.open("photo.jpg")
preds = model.generate(image, "cat")[0]

for p in preds:
    print(p["xy"], p["hw"])

Each prediction is a dict with normalized bounding box coordinates:

{
  "xy": {"x": float, "y": float},  # center in normalized coordinates (0 to 1)
  "hw": {"h": float, "w": float},  # size in normalized coordinates (0 to 1)
}

Visualize detections

from PIL import ImageDraw

draw = ImageDraw.Draw(image)
W, H = image.size

for p in preds:
    cx, cy = p["xy"]["x"] * W, p["xy"]["y"] * H
    bw, bh = p["hw"]["w"] * W, p["hw"]["h"] * H
    x0, y0 = cx - bw / 2, cy - bh / 2
    x1, y1 = cx + bw / 2, cy + bh / 2
    draw.rectangle([x0, y0, x1, y1], outline="lime", width=2)

image.save("output.jpg")

API

model.generate(images, queries, **kwargs)

ParameterTypeDefaultDescription
imagesPIL.Image or listrequiredSingle image or list of images
queriesstr or list[str]requiredQuery string(s), one per image
taskstr"detection"Task type. Only "detection" is supported by this model.
max_new_tokensint2048Maximum decoding steps
min_dimensionint256Minimum image side after resize
max_dimensionint1024Maximum image side after resize
compileboolTrueRun torch.compile on first call

Returns: list[list[dict]], one list per image.

Each detection dict contains:

{
  "xy": {"x": float, "y": float},  # center in normalized coordinates (0 to 1)
  "hw": {"h": float, "w": float},  # size in normalized coordinates (0 to 1)
}

[!NOTE] Requesting task="segmentation" on this model will raise a ValueError. Use the full tiiuae/Falcon-Perception model for segmentation masks.

What the model is for

Falcon Perception 300M is designed for open-vocabulary object detection where the main difficulty is localization under free-form text queries. Use cases include:

  • Natural language driven object selection in images
  • Lightweight bounding-box detection for downstream pipelines
  • Crowded scenes where the number of instances is large and variable
  • Edge or resource-constrained deployments where the full model is too large

It is not intended as a general-purpose vision-language assistant for open-ended reasoning, long-form generation, or multi-step VQA.

Model details (high level)

The architecture follows a single-stack early-fusion recipe:

  • One dense Transformer backbone processes image patches and text tokens in a shared space from the first layer
  • Hybrid attention masking: bidirectional among image tokens, causal for text and task tokens conditioned on the image
  • Chain-of-Perception decoding: <|coord|> then <|size|> per instance
  • Specialized heads for coordinates and size, with geometry conditioning via Fourier features

Comparison with the full model

Falcon-PerceptionFalcon-Perception-300M
Parameters~7B~0.3B
TasksDetection + SegmentationDetection only
OutputBounding boxes + pixel masksBounding boxes
Token sequence<|coord|> <|size|> <|seg|><|coord|> <|size|>

Limitations

  • Presence calibration remains a key limitation for autoregressive dense interfaces. False positives are more likely on hard negatives than in DETR-like detection models.
  • OCR-driven prompts depend on text size and image resolution. Small text and degraded scans are challenging.
  • Dense scenes benefit strongly from high resolution inputs. Low resolution can be sufficient to recognize that a concept is present, but insufficient to localize each instance precisely.
  • This variant does not produce segmentation masks. Use the full model if pixel-level masks are needed.

Citation

If you use Falcon Perception, please cite:

@article{bevli2026falcon,
  title   = {Falcon Perception},
  author  = {Bevli, Aviraj and Chaybouti, Sofian and Dahou, Yasser and Hacid, Hakim and Huynh, Ngoc Dung and Le Khac, Phuc H. and Narayan, Sanath and Para, Wamiq Reyaz and Singh, Ankit},
  journal = {arXiv preprint arXiv:2603.27365},
  year    = {2026},
  url     = {https://arxiv.org/abs/2603.27365}
}

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Можно запустить

Подбираем GPU…

Класс архитектуры
FalconPerceptionForSegmentation
Ревизия весов
3699368

0 моделей