/ Модель

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

Контекст
2 048 токенов
Параметры
6,6 млрд
Размер весов
16,1 ГБ
Лицензия
Своя лицензия
Архитектура
llava · dense
Библиотека
transformers
Опубликована
12 авг 2026

railway-lisa-7b-semantic-reasoning-clip

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

Модель LISA 7B, адаптированная для сегментации маршрута поезда и анализа стрелочных сцен на железнодорожных изображениях.

15скачиваний за 30 дней0лайковвеса обновлены13 авг 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Это объединённый BF16-чекпойнт LISA 7B, адаптированный проектом Railway Perception для сегментации железнодорожных сцен с языковым управлением и рассуждениями о стрелочных переводах. Модель объединяет семантическое обучение на железнодорожных данных, сегментацию маршрута по текстовому запросу и структурированное обучение рассуждениям о стрелках. Архитектура — LLaVA-подобная LISAForCausalLM с 6,6 млрд параметров; в составе используются SAM для сегментации и CLIP ViT-L/14 как визуальный энкодер. Контекст — 2048 токенов.

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

Для инференса требуются репозиторий проекта, полный каталог модели вместе с отдельной папкой vision_tower и NVIDIA GPU; обычные интерфейсы Hugging Face pipeline и AutoModel не поддерживаются, а квантованный и CPU-инференс не проверены. Лицензия указана как other; использование и распространение должны учитывать лицензии базовых компонентов и RailSem19, изображения и аннотации которого в репозитории модели не распространяются.

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

  • Выделение маршрута, по которому следует поезд, на изображении железнодорожной сцены
  • Сегментация путевого полотна по текстовому запросу
  • Анализ геометрии стрелочного перевода для определения активного маршрута

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

Railway-adapted LISA 7B — semantic + reasoning

This is the merged BF16 checkpoint for the Rail-finetuned LISA — semantic + reasoning row in Table 1 of the Railway Perception Foundation Model repository. It combines railway semantic supervision with language-guided ego-route segmentation and structured switch-reasoning supervision.

This checkpoint requires the project repository and container. It is not a drop-in model for the generic Hugging Face pipeline() or AutoModel APIs.

Reported results

Scores are percentages on the 2,000-image held-out evaluation described in the repository. CIoU pools intersection and union over each subset; GIoU is mean image-level IoU.

PromptScene subsetCIoUGIoU
Reasoning-orientedSwitch-independent89.0088.34
Reasoning-orientedSwitch-dependent90.4990.33
GenericSwitch-independent65.5865.94
GenericSwitch-dependent57.8758.89

Prompts:

  • Reasoning-oriented: By examining rail continuity and switch geometry, segment the active ego-route the train is following in this image.
  • Generic: Segment the track bed in this image.

Files

The root contains the merged LISA model, tokenizer, configuration, and weight shards. The tuned CLIP model and processor are stored separately under vision_tower/; the entire folder is required for inference.

Inference

Use chat_batch.py through the supplied demo_LISA.sbatch. The launcher accepts either one image or a flat image directory through TEST_IMAGE_SUBDIR.

Download the complete snapshot into a checkpoint directory whose model-folder name contains clip, then run:

# Replace the repository ID and host paths first.
hf download m-vakili75/railway-lisa-7b-semantic-reasoning-clip \
  --local-dir /path/to/checkpoints/railway-lisa-7b-semantic-reasoning-clip

PROC_CKPT=/path/to/checkpoints \
PROC_CODE=/path/to/Railway_Perception_FoundationModel \
PROC_DATA=/path/to/data \
PROC_OUTPUT=/path/to/outputs \
MODEL_NAME=railway-lisa-7b-semantic-reasoning-clip \
TEST_IMAGE_SUBDIR=test/images \
LISA_PROMPT='By examining rail continuity and switch geometry, segment the active ego-route the train is following in this image.' \
sbatch demo_LISA.sbatch

The launcher explicitly supplies both the model root and its sibling vision_tower/. Masks are saved under the selected output run; generated text is written to the Slurm log.

Compatibility notes

  • The current local vision-tower builder accepts a saved directory only when its full path contains clip. Keep clip in the downloaded model path and use demo_LISA.sbatch, which passes that path explicitly.
  • The exported generation_config.json contains legacy BOS/EOS metadata. The supported chat_batch.py path replaces it at runtime from the bundled tokenizer under Transformers 4.31, yielding BOS 1, EOS 2, and PAD 0. Direct generation through a different loader or Transformers version is not validated.
  • The model was exported in BF16 and the supported inference path requires an NVIDIA GPU. Quantized and CPU inference are not validated.
  • A generated mask requires the model output to contain [SEG]. If no mask is written, inspect the generated text in the job log and confirm that the complete checkpoint, tokenizer, and saved vision tower were loaded together.

Intended use and limitations

The checkpoint is a research artifact for railway ego-route segmentation and switch-scene reasoning. Generated masks and rationales may be incorrect or mutually inconsistent, and rationales should not be treated as verified causal explanations. Performance may degrade under domain shift, poor visibility, unusual track layouts, occlusion, or ambiguous switch geometry. Do not use its outputs for safety-critical railway control or operational decision-making.

Model provenance

This railway checkpoint was fine-tuned from LISA-7B-v1. The LISA documentation identifies LLaVA-Lightning-7B-v1-1 as the base used for its 7B model. That LLaVA model belongs to the original LLaMA/Vicuna/LLaVA lineage: its upstream model card describes a LLaMA/Vicuna-based model whose delta weights must be applied to the original LLaMA weights. LISA uses Segment Anything (SAM) as its segmentation component and OpenAI CLIP ViT-L/14 as its vision encoder.

Training data and RailSem19

RailSem19 imagery and semantic annotations were used as research/training data for the railway adaptation; project-created reasoning masks and structured switch rationales were additionally used for this joint checkpoint. This Hugging Face model repository contains trained checkpoint files and reported model results only. It does not redistribute RailSem19 images, annotations, sparse metadata, dense metadata, or meta-images. This model release does not claim ownership of, or relicense, any RailSem19 material. RailSem19 remains governed by its official license agreement.

Upstream models and licenses

  • LISA / LISA-7B-v1: the starting checkpoint for this railway fine-tune. LISA source code is distributed under the Apache License 2.0, but that code license does not remove restrictions inherited by its model weights.
  • LLaVA / LLaVA-Lightning-7B-v1-1: the LLaVA base identified by LISA for its 7B model; it derives from the original LLaMA/Vicuna lineage and remains subject to those upstream terms. LLaVA source code is Apache-2.0; see the LLaVA repository and LLaVA-Lightning-7B-v1-1 model card.
  • Original LLaMA/Vicuna lineage: the language-model lineage inherited through LLaVA and LISA. The original LLaMA license permits use solely for non-commercial research and is reproduced in LICENSES/LLaMA-LICENSE.txt. Its restrictions continue to apply to this derivative checkpoint.
  • Segment Anything (SAM): the upstream SAM implementation is distributed under the Apache License 2.0. SAM's Apache-2.0 license applies to that upstream component and does not make this entire checkpoint Apache-2.0.
  • OpenAI CLIP: LISA uses CLIP ViT-L/14 as its upstream vision encoder. The OpenAI CLIP implementation is distributed under the MIT License; the CLIP component remains subject to its applicable upstream terms, and its license does not relicense the complete checkpoint.

See THIRD_PARTY_NOTICES.md for component attribution, exact source links, and the required original LLaMA notice.

License and use restriction

This checkpoint is released for non-commercial research use only and remains subject to the applicable licenses and terms of its upstream components, including the original LLaMA/Vicuna/LLaVA lineage used by LISA-7B-v1. The checkpoint itself is not licensed under Apache-2.0. Commercial use is not granted by this model card.

Where stated, the Railway Perception Foundation Model project licenses its source code under Apache License 2.0. That code license applies only to source code covered by it; it does not license these model weights as Apache-2.0 and does not override upstream model or dataset terms. Users are responsible for complying with all applicable licenses and terms when using or redistributing this checkpoint.

Disclaimer

This model card summarizes the known upstream licensing and provenance of the checkpoint and is not legal advice. Users are responsible for ensuring that their use and redistribution comply with all applicable upstream licenses and terms.

Citation

@article{ghorbanalivakili2026reasoning,
  author  = {Ghorbanalivakili, Mohammadjavad and Varghese, Ashley and Sohn, Gunho},
  title   = {Reasoning-guided Ego-path Segmentation for Autonomous Trains using Vision-language Models},
  journal = {The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences},
  volume  = {XLIX-B3-2026},
  pages   = {89--96},
  year    = {2026},
  doi     = {10.5194/isprs-archives-XLIX-B3-2026-89-2026}
}

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей