/ Модель

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

Контекст
65 536 токенов
Размер весов
15,5 ГБ
Лицензия
Apache 2.0
Архитектура
patram15 · dense
Библиотека
transformers
Опубликована
13 окт 2026

Patram1.5-7B

Изображение и текст → текст15 профессий

Patram 1.5 7B — мультимодальная модель BharatGen для распознавания и анализа документов по изображениям страниц.

1 177скачиваний за 30 дней30лайковвеса обновлены26 ноя 2026

Бенчмарки

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

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

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

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

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

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

Patram 1.5 7B — мультимодальная модель BharatGen для понимания документов по их изображениям. Архитектура сочетает визуальный энкодер SigLIP 2 SO400M и языковой декодер Olmo 3 7B Instruct; всего модель содержит 7,8 млрд параметров. Она принимает страницы документов в виде изображений и работает с текстом на странице без отдельного этапа OCR.

Модель предназначена для извлечения и анализа содержимого сканов, форм, таблиц, диаграмм и страниц со смешанным языком. Она преобразует страницы в текст, Markdown, HTML или JSON, разбирает таблицы, формулы и диаграммы, отвечает на вопросы по документам, в том числе по нескольким изображениям и многошаговым запросам, и может воздержаться от ответа, если на странице нет нужной информации. В README также заявлены рукописный текст, сценический текст и кодовое переключение языков.

Модель доступна через Transformers и vLLM; репозиторий gated, для доступа необходимо принять условия на странице модели. Лицензия — Apache 2.0. README описывает собственные и публичные оценки, однако публичные бенчмарки использовали только англоязычные тестовые примеры.

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

  • извлечение текста из сканов и фотографий документов
  • преобразование страниц документов в Markdown, HTML или JSON
  • извлечение полей и значений из форм
  • разбор таблиц, диаграмм, формул и схем на страницах
  • ответы на вопросы по одному или нескольким документам
  • транскрибация рукописного и смешанного текста на изображениях

Ограничения

Доступ к репозиторию gated и требует принятия условий на странице модели. Публичные бенчмарки, описанные в README, проводились только на англоязычных тестовых примерах, поэтому результаты не подтверждают одинаковое качество для всех заявленных языков.

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

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

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

Также подходит для

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

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

Открыть на Hugging Face

Patram 1.5

Patram 1.5 7B from BharatGen is a multi-task vision foundation model, built in India. It reads documents as images, including scans, forms, tables, charts and pages with text in more than one language, and works from the page itself rather than from a separate OCR step. It parses pages, answers questions about them, extracts key-value data and transcribes on request, and it can decline to answer when a page does not contain the answer.

News

  • [2026-11-26] Released Patram 1.5, with two new capabilities: OCR 3.0 and abstention (see Capabilities).

Index

  1. News
  2. Capabilities
  3. Benchmarks
  4. Inference
  5. Citation
  6. Contact
  7. License

Capabilities

Patram 1.5 covers six capabilities, from reading a page to reasoning over it. OCR 3.0 and abstention are new in this release.

CapabilityWhat it does
Doc parsingConverts a page to plain text, Markdown, HTML or JSON, including handwritten, scene-text and code-mixed text.
Element parsingParses elements within a page: tables (including nested and complex tables), charts, formulas and diagrams.
Ask anythingAnswers questions about a document, including multi-image and multi-step questions.
Key-value extractionExtracts fields as JSON, either with a schema you provide or as printed, with normalised units.
OCR 3.0OCR that the prompt controls: which part of the page (by position or by meaning), which format, which details (text, structure, style, layout, image quality), whose labels, and what to leave out.
AbstentionSays "I don’t know", or marks what is unclear, when the document does not contain the answer, the text cannot be read as asked, the question is ambiguous or the evidence conflicts.

Benchmarks

Patram 1.5 was evaluated on PatramBench, BharatGen's own benchmark (15 tasks), and on 34 public benchmarks, against 27 other models: 20 vision-language models and 7 OCR and parsing systems. Every score is from our own run with the same settings. The overall score is the mean of the PatramBench and public results, weighted equally. Public benchmarks use English test items only.

Overall score, 21 vision-language models. Models with the same score share a place.

Patram 1.5 sets the Pareto front in accuracy versus model size.

For every benchmark and the full results, refer to the blog.

PropertyDetails
Vision encodergoogle/siglip2-so400m-patch14-384
Language decoderallenai/Olmo-3-7B-Instruct
Parameters7.8B
Context length32,768 tokens
LanguagesEnglish and code-mixed pages
LicenseApache 2.0

Inference

Environment

pip install torch==2.10.0 torchvision transformers==4.57.6 accelerate einops pillow huggingface_hub
# the repository is gated: accept the access conditions on the model page, then
export HF_TOKEN=hf_........

Tested with torch 2.10.0 and transformers 4.57.6. Models load with trust_remote_code=True.

Load the model with Hugging Face, then run the sample questions with one call to run_examples. The sample files (examples/assets/ in this repository) are downloaded from the Hub, each question is printed with the model's answer, and the answer to expect is in the comment under each question in examples/hf_examples.py. Use greedy decoding (do_sample=False).

import os

import torch
from transformers import AutoModelForImageTextToText, AutoProcessor

MODEL_ID = os.environ.get("PATRAM_MODEL", "bharatgenai/Patram1.5-7B")  # a Hub id or a local folder
HF_TOKEN = os.environ.get("HF_TOKEN")  # needed only while the repository is gated
DEVICE = "cuda:0" if torch.cuda.is_available() else "cpu"

processor = AutoProcessor.from_pretrained(MODEL_ID, trust_remote_code=True, token=HF_TOKEN)
model = AutoModelForImageTextToText.from_pretrained(
    MODEL_ID, trust_remote_code=True, torch_dtype=torch.bfloat16, device_map=DEVICE, token=HF_TOKEN
).eval()

# Run the sample questions (run this from the repository folder)
from examples.hf_examples import run_examples
run_examples(model, processor, MODEL_ID, HF_TOKEN)

Note: If you're trying this on an Apple Silicon (M1/M2/M3/M4/...) chip, please follow the official documentation by PyTorch and Hugging Face for installing dependencies:

Quick start:

export HF_TOKEN=<your token>

# 1. Download (~16 GB, includes the vLLM patch and examples)
hf download bharatgenai/Patram1.5-7B --local-dir ./Patram1.5-7B --token $HF_TOKEN

# 2. Start the server: bash launch_vllm.sh <gpu_id> <port> <model_dir>
bash ./Patram1.5-7B/vllm_patch/launch_vllm.sh 0 8000 ./Patram1.5-7B
docker logs -f patram15-vllm-gpu0-$USER        # wait for "Application startup complete" (~2-3 min)

# 3. Test it
curl http://localhost:8000/v1/models           # should list "patram"
pip install requests
python ./Patram1.5-7B/examples/vllm_examples.py --url http://localhost:8000 --assets ./Patram1.5-7B/examples/assets

# 4. Stop
docker rm -f patram15-vllm-gpu0-$USER

If docker's bridge network is broken (veth... Device does not exist), put HOST_NET=1 in front of the bash command in step 2.

Try Patram 1.5 now in the playground.

To get API access, join the API waitlist.

Citation

@misc{bharatgen_patram1_5_2026,
  title        = {Introducing Patram 1.5},
  author       = {{BharatGen Team}},
  year         = {2026},
  howpublished = {\url{https://bharatgen.com/blogs/introducing-patram-1-5}},
  note         = {Accessed: 26/11/2026}
}

Contact

License

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

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

GPU в ailist

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

Нельзя запустить

Модели нужен код из репозитория; запуск откроется после проверки совместимости.

Класс архитектуры
Patram15ForConditionalGeneration
Ревизия весов
02bef1f

0 моделей