/ Модель

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

Размер весов
48 ГБ
Лицензия
Apache 2.0
Архитектура
mistral3 · dense
Базовая модель
Mistral-Small-3.2-24B-Instruct-2506
Библиотека
transformers
Опубликована
8 окт 2025

mistral-small-3.2-24b-qiskit

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

Донастроенная IBM модель Mistral на 24 млрд параметров для генерации и анализа актуального кода на Qiskit.

427скачиваний за 30 дней9лайковвеса обновлены3 фев 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Mistral-Small-3.2-24B-Qiskit — разработанная IBM донастройка Mistral-Small-3.2-24B-Instruct-2506 для программирования на Qiskit. Модель содержит 24 млрд параметров, использует плотную архитектуру Mistral 3 и поддерживает диалоговую работу с текстом и изображениями. Она обучена на коде и инструкциях по Qiskit, ориентирована на актуальные API версии 2.1 и заявленный контекст до 128 тыс. токенов.

Модель подходит для генерации и анализа кода квантовых вычислений, включая создание примеров на Qiskit и обновление устаревшего синтаксиса. В карточке приведены результаты сравнительных бенчмарков, в том числе для задач Qiskit, общего программирования и математики. Указанная лицензия — Apache-2.0. Сгенерированный код может содержать ошибки, модель не проходила safety alignment, а карточка отмечает риск воспроизведения фрагментов обучающих данных.

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

  • генерация кода квантовых схем на Qiskit 2.1
  • объяснение и анализ кода Qiskit
  • обновление устаревшего кода Qiskit под новые API
  • ответы на вопросы по программированию квантовых вычислений

Ограничения

Сгенерированный код не гарантированно работает, поэтому его следует проверять. Модель не проходила safety alignment и может выдавать проблемные ответы или воспроизводить фрагменты обучающих данных.

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

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

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

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

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

Открыть на Hugging Face

mistral-small-3.2-24b-qiskit

Mistral-Small-3.2-24B-Qiskit

Introduction

Mistral-Small-3.2-24B-Qiskit is a model specialized in Qiskit coding and based on the Mistral-Small-3.2-24B-Instruct-2506 model. With 24 billion parameters, this model achieves top-tier capabilities in both text and vision tasks. Using Qiskit code and instruction tuning data, we improve it's capabilities at writing high-quality and non-deprecated Qiskit code. We used only data with the following licenses: Apache 2.0, MIT, the Unlicense, Mulan PSL Version 2, BSD-2, BSD-3, and Creative Commons Attribution 4.0.

Main features compared to previous models specialized on Qiskit code:

  • Trained with the latest Qiskit version (2.1), ensuring compatibility with the newest APIs and syntax.
  • Significant improvements in code generation and understanding of the latest Qiskit versions.
  • Long-context support up to 128K tokens.

Requirements

Mistral-Small-3.2-24B-Qiskit is compatible with the latest HuggingFace transformers and we advise you to use the latest version of transformers.

Quickstart

Here we provide a code snippet with apply_chat_template to show you how to load the tokenizer and model and how to generate content.

from transformers import Mistral3ForConditionalGeneration, AutoTokenizer

model_name = "Qiskit/mistral-small-3.2-24b-qiskit"

model = Mistral3ForConditionalGeneration.from_pretrained(
    model_name,
    torch_dtype="auto",
    device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained(model_name)

prompt = "Generate a random quantum circuit with 5 qubits."
messages = [
    {"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True
)
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)

generated_ids = model.generate(
    **model_inputs,
    max_new_tokens=512
)
generated_ids = [
    output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
]

response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]

Comparison of Qiskit models across benchmarks

ModelQiskitHumanEval-HardQiskitHumanEvalHumanEvalASDivMathQASciQMBPPIFEvalCrowsPairs (English)TruthfulQA (MC1 acc)
qwen2.5-coder-14b-qiskit25.1749.0191.464.2153.9097.0077.6049.6465.1837.82
mistral-small-3.2-24b-qiskit32.4547.0277.493.7749.6897.5064.0048.4467.0839.41
granite-3.3-8b-qiskit14.5727.1562.800.4838.6693.3052.4059.7159.7539.05
granite-3.2-8b-qiskit9.9324.5057.320.0941.4196.3051.8060.7966.7940.51

Note: All models listed in the benchmark table were evaluated using their respective system prompt, defined in their Hugging Face model.

Training Data

  • Data Collection and Filtering: Our code data is sourced from a combination of publicly available datasets (e.g., Code available on https://github.com), and additional synthetic data generated at IBM Quantum. We exclude code that is older than 2023.
  • Exact and Fuzzy Deduplication: We use both exact and fuzzy deduplication to remove documents having (near) identical code content.
  • PII: We redact Personally Identifiable Information (PII) in our datasets by replacing PII content (e.g., names, email addresses, keys, passwords) with corresponding tokens (e.g., ⟨NAME⟩, ⟨EMAIL⟩, ⟨KEY⟩, ⟨PASSWORD⟩).

Infrastructure

We train Mistral-Small-3.2-24B-Qiskit using IBM's super computing cluster (Vela) using NVIDIA A100 GPUs. The cluster provides a scalable and efficient infrastructure for training.

Ethical Considerations and Limitations

The use of Large Language Models involves risks and ethical considerations people must be aware of. Regarding code generation, caution is urged against complete reliance on specific code models for crucial decisions or impactful information as the generated code is not guaranteed to work as intended. Mistral-Small-3.2-24B-Qiskit model is not the exception in this regard. Even though this model is suited for multiple code-related tasks, it has not undergone any safety alignment, there it may produce problematic outputs. Additionally, it remains uncertain whether smaller models might exhibit increased susceptibility to hallucination in generation scenarios by copying source code verbatim from the training dataset due to their reduced sizes and memorization capacities. This aspect is currently an active area of research, and we anticipate more rigorous exploration, comprehension, and mitigations in this domain. Regarding ethics, a latent risk associated with all Large Language Models is their malicious utilization. We urge the community to use Mistral-Small-3.2-24B-Qiskit model with ethical intentions and in a responsible way.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
Mistral3ForConditionalGeneration
Ревизия весов
0c54195

0 моделей