/ Модель

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

Лицензия
Своя лицензия
Базовая модель
gemma-4-31B-it
Библиотека
transformers
Опубликована
25 ноя 2026

gemma-4-31B-it-conversational

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

FP8-дообучение Gemma 4 31B Instruct для англоязычных тренировочных диалогов и вызова инструментов.

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

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Trelis/gemma-4-31B-it-conversational — самостоятельный FP8-чекпойнт на базе Gemma 4 31B Instruct, дообученный для разговоров на английском языке и вызова инструментов. Это диалоговая модель на архитектуре Gemma 4; в метаданных указана библиотека Transformers, а карточка описывает использование с vLLM. Модель принимает сообщения в формате чата и может работать в роли звонящего собеседника или отвечающего агента.

Модель предназначена для тренировочных диалогов, в которых специалист выясняет потребности вымышленного клиента или собирает анамнез у пациента по проверенному клиницистом сценарию. Собеседник раскрывает сведения в ответ на вопросы, а в роли агента модель может вызывать переданные приложением инструменты и отвечать с учётом их результатов. Чекпойнт хранится в формате safetensors с FP8-весами; для запуска требуются CUDA GPU с нативной поддержкой FP8. README приводит настройку сервера с контекстом до 4096 токенов.

Модель рассчитана на разговорные сценарии на английском языке. Лицензия в метаданных обозначена как other; конкретные условия использования в предоставленных сведениях не раскрыты. Карточка также указывает на заметную задержку при холодном запуске демо и первом ответе.

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

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

Ограничения

Для запуска требуются CUDA GPU с нативной поддержкой FP8; README предупреждает о длительной загрузке демо и задержке первого ответа. В карточке не приведены конкретные условия лицензии.

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

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

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

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

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

Открыть на Hugging Face

gemma-4-31B-it-conversational

Use this model to play the caller in a practice conversation. A sales rep can interview a fictional buyer about their needs; a clinician can practice taking a history from a fictional patient using a clinician-reviewed case. The trainee asks the questions. The caller answers from the case, so the trainee has to discover what matters rather than read a summary up front.

This is a standalone FP8 checkpoint based on Gemma 4 31B Instruct, tuned for conversational English and tool calling. In the private text demo, you answer the call and compare two callers blind. From a cold start, allow about four minutes for the Space to load; the first reply may take another minute or more.

Caller: the model is the person calling

Write the caller’s facts, then describe what they say up front and what the trainee has to ask about. In the bike-shop example, the caller asks about their repair first and mentions the lost ticket only when asked. The Space adds the same phone instructions and end_call schema for both models. To reproduce that prompt locally, use caller.json:

import json
from pathlib import Path
from huggingface_hub import hf_hub_download

caller = json.loads(Path(hf_hub_download("Trelis/gemma-4-31B-it-conversational", "caller.json")).read_text())
card = caller["card"]  # Replace with your own caller facts and opening instructions.
system = caller["system"].replace("<<CALLER>>", card.strip() + "\n\n" + caller["style"])
messages = [{"role": "system", "content": system},
            {"role": "user", "content": "Thanks for calling the shop. How can I help?"}]
tools = caller["tools"]

The trainee speaks as user; the generated assistant message is the caller. When the caller invokes end_call, its farewell argument is the spoken goodbye.

Assistant: the model is the person answering

Use the same chat template. Replace the caller card and speaking instructions with the assistant’s job, what it needs to ask, and when to use its tools. Now user is the caller, and assistant is the shop agent. Pass the tool schema separately:

messages = [{"role": "system", "content": "You answer repair calls for a bike shop. Ask for the ticket number if it is missing. To check repair status, use lookup_repair and tell the caller what it returns."},
            {"role": "user", "content": "Is my repair ready? My ticket is B42."}]
tools = [{"type": "function", "function": {
    "name": "lookup_repair", "description": "Look up the status of a repair ticket.",
    "parameters": {"type": "object", "properties": {"ticket": {"type": "string"}}, "required": ["ticket"]}
}}]

Your app executes the requested tool. Append the assistant’s tool_calls message, then a role: "tool" message with the matching tool_call_id and the actual result as content. Render again to get the spoken answer. When rendering locally, use a Python dictionary for function.arguments; parse it first if your server returned a JSON string. The caller demo does not execute business tools.

Load the model

Use a CUDA GPU with native FP8 support. The weights are already quantized; no adapter or conversion is needed.

from transformers import AutoModelForImageTextToText, AutoTokenizer

name = "Trelis/gemma-4-31B-it-conversational"
tokenizer = AutoTokenizer.from_pretrained(name)
model = AutoModelForImageTextToText.from_pretrained(name, device_map="cuda", dtype="auto")
inputs = tokenizer.apply_chat_template(messages, tools=tools, add_generation_prompt=True,
                                       enable_thinking=False, tokenize=True, return_dict=True,
                                       return_tensors="pt").to(model.device)
output = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(output[0, inputs.input_ids.shape[1]:], skip_special_tokens=False))

For vLLM with Gemma 4 and block FP8 support, serve with vllm serve Trelis/gemma-4-31B-it-conversational --max-model-len 4096 --enable-auto-tool-choice --tool-call-parser gemma4. Send structured messages (and tools for the assistant) to /v1/chat/completions. The server applies the template; do not wrap the messages in Gemma tokens yourself.

License

The conversational modifications are offered under the PolyForm Small Business License 1.0.0. The original Gemma 4 weights are licensed under Apache 2.0. This checkpoint incorporates the conversational modifications and converts the resulting weights to FP8.

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

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

GPU в ailist

vLLM

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

Подбираем GPU…

Ревизия весов
29055ac

0 моделей