/ Модель

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

Контекст
32 768 токенов
Параметры
494 млн
Лицензия
Apache 2.0
Архитектура
qwen2 · dense
Базовая модель
Qwen2.5-0.5B-Instruct
Опубликована
11 июл 2025

limbic-tool-use-0.5B-32K

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

LoRA-адаптер Qwen2.5-0.5B-Instruct для оценки корректности вызовов инструментов MCP по их схемам и истории диалога.

168скачиваний за 30 дней33лайкавеса обновлены23 июл 2025

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Limbic-Tool-Use MCP Function Call Evaluator — компактная языковая модель Quotient AI, дообученная методом LoRA на базе Qwen2.5-0.5B-Instruct. Она оценивает вызовы инструментов Model Context Protocol (MCP), сопоставляя их с доступными схемами инструментов и историей диалога. Модель различает корректные вызовы, неверное имя инструмента, неправильные имена параметров и неподходящие значения параметров, возвращая оценку и объяснение в формате JSON.

Для работы модели передают список доступных инструментов с их схемами и историю сообщений с запросом пользователя и вызовом инструмента. Архитектура — плотная Qwen2; базовая модель содержит 494 млн параметров, поддерживает контекст до 32 768 токенов и работает с текстовым вводом и выводом. Обучающие данные основаны на инструментах публичных MCP-серверов с дополнением синтетическими примерами.

Модель предназначена для оценки качества вызовов инструментов, например в проверочных наборах и системах, использующих MCP. Её узкая специализация не подразумевает общей оценки произвольных ответов или надёжности инструментов вне заданной схемы и контекста. Лицензия — Apache-2.0; опубликованы LoRA-адаптеры размером около 40 МБ.

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

  • проверка корректности вызова MCP-инструмента
  • поиск вызова несуществующего инструмента
  • проверка имён параметров вызова функции
  • проверка значений параметров относительно запроса
  • оценка вызовов инструментов в тестовых наборах

Ограничения

Модель специализирована на оценке вызовов инструментов MCP и выдаёт категории ошибок в рамках предоставленных схем и истории сообщений. Результат может быть ограничен качеством этих входных данных и не является гарантией корректной работы самого инструмента.

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

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

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

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

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

Открыть на Hugging Face

Limbic-Tool-Use MCP Function Call Evaluator

This model is a fine-tuned version of Qwen2.5-0.5B-Instruct specifically designed for evaluating function calls in the context of Model Context Protocol (MCP) tools. It can assess whether a function call is correct, uses the wrong tool, has incorrect parameter names, or has incorrect parameter values.

Model Details

  • Base Model: Qwen/Qwen2.5-0.5B-Instruct
  • Fine-tuning Method: LoRA (Low-Rank Adaptation)
  • Task: Function Call Evaluation for MCP (Model Context Protocol)
  • Training Data: MCP Server Tools data from public MCP servers, with augmentation / synthetic data generation
  • Model Size: ~40MB (LoRA adapters only)
  • Context Length: 32,768 tokens

Model Usage

Model Prompts

The prompt for the model takes two inputs:

  • available_tools - a list of the tool schemas
  • message_history - the user request and model tool call response as a list of jsons
EVALUATOR_PROMPT = """\
# TOOL CALL EVALUATION RUBRIC

## EVALUATION CRITERIA

### 1. TOOL SELECTION
- [ ] Function name exists in available tools
- [ ] Function purpose matches user intent

### 2. PARAMETER STRUCTURE  
- [ ] All required and relevant parameters are present
- [ ] No hallucinated parameter names
- [ ] Parameter names match tool schema exactly

### 3. PARAMETER VALUES
- [ ] Data types match expected types
- [ ] Values align with user request
- [ ] No fabricated or incorrect values

## CLASSIFICATION RULES
- All criteria passed → `correct`
- Failed criteria 1 → `incorrect_tool`
- Failed criteria 2 → `incorrect_parameter_names`  
- Failed criteria 3 → `incorrect_parameter_values`

---
### AVAILABLE TOOLS
{available_tools}

---
### MESSAGE HISTORY
{message_history}

---
## OUTPUT REQUIREMENT
{{
    "score": < correct | incorrect_tool | incorrect_parameter_names | incorrect_parameter_values >,
    "reason": < [if incorrect, provide a brief list of reasons] >
}}

### EVALUATION:
"""
SYSTEM_PROMPT = "You are an expert evaluator of function calls. You will be given a function call and a list of available tools. You will need to evaluate the function call and return a score and a reason for the score."

Example Inputs

available_tools = [
    {
        "name": "google-play-developer",
        "description": "Get apps by a developer on Google Play",
        "input_schema": {
            "type": "object",
            "properties": {
                "devId": {"type": "string", "description": "Developer ID"},
                "num": {"type": "number", "default": 60, "description": "Number of results"},
                "lang": {"type": "string", "default": "en", "description": "Language code"},
                "country": {"type": "string", "default": "us", "description": "Country code"}
            },
            "required": ["devId"]
        }
    }
]

message_history = [
    {"role": "user", "content": "I'm looking to evaluate the performance of all the apps developed by 'Example Developer' on the Google Play Store. Could you provide me with a list of their recent applications, specifically in English and focused on the US market? Please limit the results to 50 apps for a quicker review."},
    {"role": "assistant", "content": {"function": "name": "google-play-developer", "arguments": {"devId": "com.example.developer", "num": 50, "lang": "en", "country": "us"}}}
]

Output Format

The model outputs evaluations in JSON format:

{
    "score": "correct|incorrect_tool|incorrect_parameter_names|incorrect_parameter_values",
    "reason": ["reasons for failure if incorrect"]
}

Score Categories

  • correct: Function call matches available tools and parameters exactly
  • incorrect_tool: Function name doesn't exist in available tools
  • incorrect_parameter_names: Function exists but parameter names are wrong
  • incorrect_parameter_values: Function and parameters exist but values are inappropriate

Load the Model

from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("quotientai/limbic-tool-use-0.5B-32K")
model = AutoModelForCausalLM.from_pretrained("quotientai/limbic-tool-use-0.5B-32K")

Generate a Prediction

To make a prediction, you must convert the formatted prompt into its chat format.

chat_template = [
  {"role": "system", "content": SYSTEM_PROMPT},
  {"role": "user", "content": "<your-formatted-user-prompt>"}
]
# Apply the chat template
text = tokenizer.apply_chat_template(chat_template, tokenize=False, add_generation_prompt=True)

# Tokenize with truncation
inputs = tokenizer(text, return_tensors="pt", truncation=True).to("cuda")

# Generate your prediction
result = model.generate(**inputs, max_new_tokens=128, use_cache=True)

Citation

@model{limbic-tool-use-0.5B-32K,
  title={Limbic Tool Use Evaluator},
  author={QuotientAI},
  year={2025},
  url={https://huggingface.co/quotientai/limbic-tool-use-0.5B-32K}
}

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей