/ Модель

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

Контекст
40 960 токенов
Параметры
7,6 млрд
Размер весов
16,4 ГБ
Лицензия
Apache 2.0
Архитектура
qwen3 · dense
Базовая модель
Qwen3-8B
Библиотека
transformers
Опубликована
29 ноя 2026

PrismAgent-8B

Генерация текстаТекст → текст
129скачиваний за 30 дней0лайковвеса обновлены29 ноя 2026

Описание модели

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

Локальная модель-агент на базе Qwen3-8B для вызова инструментов, структурированного JSON, SQL и генерации Python-кода.

Flintglass PrismAgent-8B — открытая языковая модель-агент от Flintglass, дообученная на базе Qwen/Qwen3-8B с подкреплением по проверяемым результатам (RLVR). Модель содержит 7,6 млрд параметров, использует архитектуру Qwen3 для генерации текста и имеет контекст до 40 960 токенов. Она предназначена для локальных агентных сценариев с быстрым, кратким выполнением инструкций без режима рассуждений.

Модель специализируется на вызове инструментов и отказе от вызова при недостаточных или нерелевантных данных, генерации валидного JSON по схемам, составлении SQL-запросов для SQLite и Python-кода. В карточке приведены результаты проверок исполнения на тестах для этих задач; они не гарантируют корректность каждого ответа. По языковым тегам заявлена поддержка английского, китайского, корейского, испанского, французского, немецкого и японского языков, а также многоязычное использование. Модель распространяется по лицензии Apache-2.0. Для открытых математических доказательств и длинного творческого текста автор рекомендует специализированные модели; сгенерированные SQL и Python следует выполнять в изолированной среде.

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

  • вызов одного или нескольких инструментов по запросу
  • отказ от вызова инструмента при нехватке обязательных параметров
  • генерация JSON, соответствующего заданной схеме
  • составление и проверка SQL-запросов для SQLite
  • написание Python-функций для автоматизированных задач

Ограничения

Модель оптимизирована для краткого выполнения структурированных задач и может уступать специализированным моделям в открытых математических доказательствах и длинном творческом письме. Сгенерированные SQL-запросы и Python-код нужно запускать в изолированной среде.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

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

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Бенчмарки пользователейпока нет

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

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

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

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

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

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

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

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

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

Открыть на Hugging Face

Flintglass PrismAgent-8B

Flintglass PrismAgent-8B is an open-source, Apache-2.0 8B local agent execution model built on Qwen/Qwen3-8B and trained with 4-Verifier Reinforcement Learning with Verifiable Rewards (RLVR) for fast, non-verbose (/no_think), high-reliability execution across the four deterministic tasks where local agent pipelines most often fail:

  1. Native Function / Tool Calling & Abstention (single, multi-tool, parallel, and strict irrelevance/missing-parameter refusal in native <tool_call> format)
  2. Strict JSON Schema Compliance (Draft-4 / Draft-7 / Draft-2020-12 real-world schemas with raw JSON output and no markdown wrapper bloat)
  3. Executable Text-to-SQL (SQLite-verified queries across joins, CTEs, subqueries, aggregations, and window functions)
  4. Executable Python Tool Synthesis (verified against full EvalPlus hidden test suites)

GGUF quantizations (Ollama / llama.cpp / LM Studio, starting at 4.7 GB): flintglass/PrismAgent-8B-GGUF
Execution-Verified RLVR Training Corpus (39.7K rows, zero benchmark overlap): flintglass/PrismAgent-RLVR-Dataset


Zero-Leakage 5-Benchmark Evaluation (4,775 Held-Out Execution Tasks)

Every model below was evaluated identically with deterministic greedy decoding (temperature=0, enable_thinking=False for Qwen3 models) across 4,775 strictly held-out, execution-verified test tasks with zero benchmark overlap (832 eval leaks caught and purged from training data via exact normalized prompt + function entry-point deduplication):

  • BFCL v3 Live (Full 2,233 tasks): live_simple (258), live_multiple (1,053), live_parallel (16), live_parallel_multiple (24), and live_irrelevance (882)
  • JSONSchemaBench Test (1,000 schemas): Real-world GitHub/OpenAPI/Kubernetes schemas validated with jsonschema
  • Gretel Text-to-SQL Test (1,000 queries): Real in-memory SQLite DDL + INSERT + SELECT result-set equivalence
  • HumanEval+ (164 tasks): Full EvalPlus hidden test suite
  • MBPP+ (378 tasks): Full EvalPlus hidden test suite
Model (7B–8B, Fast Non-Thinking Mode)Avg 5-BenchBFCL v3 Live (2,233)JSONSchema (1,000)SQLite SQL (1,000)HumanEval+ (164)MBPP+ (378)Avg Output Tokens (BFCL / JSON)
NousResearch/Hermes-3-Llama-3.1-8B62.65%61.98%86.00%77.90%46.34%41.01%50.0 / 120.5
Qwen/Qwen2.5-7B-Instruct76.93%71.47%89.40%78.80%76.22%68.78%66.3 / 105.1
Qwen/Qwen3-8B (Base /no_think)78.59%75.77%86.20%80.40%76.22%74.34%51.9 / 134.6
flintglass/PrismAgent-8B80.11%77.43%91.70%82.10%76.83%72.49%42.9 / 110.3
Gain vs. Base Qwen3-8B+1.52 pts+1.66 pts+5.50 pts+1.70 pts+0.61 pts-1.85 pts-17.3% / -18.1% tokens

BFCL v3 Live Category Breakdown (Full 2,233 Tasks)

ModelMicro Avg (2,233)Macro Avg (5 cats)live_simple (258)live_multiple (1,053)live_parallel (16)live_par_mult (24)live_irrelevance (882)
Hermes-3-Llama-3.1-8B61.98%53.61%69.38%68.85%43.75%33.33%52.72%
Qwen2.5-7B-Instruct71.47%67.90%68.60%73.50%68.75%58.33%70.29%
Qwen3-8B (Base /no_think)75.77%72.79%68.60%76.45%62.50%79.17%77.21%
flintglass/PrismAgent-8B77.43%73.73%69.38%76.64%62.50%79.17%80.95%

Training Methodology & Transparent Ablation

PrismAgent-8B was trained strictly on permissively licensed data (Apache-2.0, MIT, CC-BY-4.0) with zero proprietary LLM distillation and four exact deterministic execution verifiers (no LLM-as-a-judge):

  1. Tool Call & Abstention AST Verifier: Exact tool name, argument value/type, bipartite parallel call matching, and strict non-invocation verification on missing-required-parameter / same-domain unsupported / multilingual greeting queries.
  2. JSON Schema Verifier: Live Draft-4 / Draft-7 / Draft-2020-12 jsonschema validation rewarding raw, unfenced valid JSON.
  3. SQLite Execution Verifier: In-memory SQLite DDL + INSERT + SELECT result-set equivalence with execution timeout guards.
  4. Python Subprocess Unit-Test Verifier: Isolated Python test execution using 100% pure on-policy self-play pairs (no off-policy code style drift).

During development, we observed a classic post-training trade-off that we report transparently below:

Training Stage / AblationAvg 5-BenchBFCL Livelive_simplelive_irrelJSONSchemaSQLiteHumanEval+MBPP+
Base Qwen/Qwen3-8B (/no_think)78.59%75.77%68.6%77.2%86.20%80.40%76.22%74.34%
Stage-1 Off-Policy SFT (37.5K verified)77.67%69.50%76.4%57.6%91.20%81.20%75.00%71.43%
Balanced Pure On-Policy RLVR (50K rollouts, 0 SFT)79.65%76.49%67.8%79.0%88.80%80.50%78.66%73.81%
SFT + RLVR (40K rollouts)73.14%44.20%3.5%99.0%92.00%81.30%76.22%71.96%
Final PrismAgent-8B (Weight-Space Merge: 0.35 Bal-RLVR + 0.25 SFT + 0.40 SFT-RLVR)80.11%77.43%69.4%81.0%91.70%82.10%76.83%72.49%

Off-policy SFT sharply improved active tool calling (+7.8 on live_simple) and JSONSchema (+5.0) but degraded tool abstention (-19.6), while balanced Pure On-Policy RLVR avoided forgetting and lifted HumanEval+ (+2.4) and BFCL (+0.7). Combining the same-base checkpoints in BF16 weight space (0.35 Balanced-Pure-RLVR + 0.25 SFT + 0.40 SFT-RLVR) landed strictly on the upper Pareto frontier: 80.11% Avg 5-Bench, 77.43% BFCL Live (+3.8 on Irrelevance), 91.70% JSONSchema (+5.5), 82.10% SQLite (+1.7), 76.83% HumanEval+ (+0.6), and 17–18% fewer output tokens than base Qwen3-8B.


Quickstart

1. Transformers (Native Tool Calling, Fast Non-Thinking Mode)

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "flintglass/PrismAgent-8B"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
    model_id, torch_dtype=torch.bfloat16, device_map="auto"
)

tools = [
    {
        "type": "function",
        "function": {
            "name": "get_weather",
            "description": "Get current weather for a city.",
            "parameters": {
                "type": "object",
                "properties": {
                    "city": {"type": "string", "description": "City name"},
                    "unit": {"type": "string", "enum": ["celsius", "fahrenheit"]},
                },
                "required": ["city"],
            },
        },
    }
]

messages = [{"role": "user", "content": "What's the weather in Tokyo and Berlin right now?"}]
prompt = tokenizer.apply_chat_template(
    messages, tools=tools, tokenize=False, add_generation_prompt=True, enable_thinking=False
)
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=256, do_sample=False)
print(tokenizer.decode(out[0, inputs["input_ids"].shape[1]:], skip_special_tokens=True))

2. vLLM (OpenAI-Compatible Agent Server with Native Tool Parser)

vllm serve flintglass/PrismAgent-8B \
  --dtype bfloat16 \
  --enable-auto-tool-choice \
  --tool-call-parser hermes \
  --port 8000

3. Local CPU / Apple Silicon / Consumer GPU (Ollama & llama.cpp)

Use flintglass/PrismAgent-8B-GGUF:

ollama run hf.co/flintglass/PrismAgent-8B-GGUF:Q4_K_M

The Flintglass Prism Open-Source Agent Stack

Build a complete, Apache-2.0, local-first reliable agent pipeline:

Limitations & Responsible Use

  • PrismAgent-8B is optimized for fast, non-thinking (enable_thinking=False) structured tool calling, schema generation, SQL, and concise Python synthesis; for open-ended mathematical proofs or multi-page creative writing, dedicated reasoning models may be preferable.
  • Always execute model-generated SQL queries and Python code in sandboxed / least-privilege environments with read-only database permissions where appropriate.

License

Apache 2.0. Built by Flintglass Labs.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
Qwen3ForCausalLM
Ревизия весов
4fc0bde

0 моделей