/ Модель

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

Контекст
32 768 токенов
Параметры
7,1 млрд
Размер весов
15,2 ГБ
Лицензия
Apache 2.0
Архитектура
qwen2 · dense
Библиотека
transformers
Опубликована
9 июл 2025

CompassJudger-2-7B-Instruct

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

CompassJudger-2-7B-Instruct — дообученная на базе Qwen2.5-7B-Instruct модель для оценки и попарного сравнения ответов.

342скачиваний за 30 дней4лайкавеса обновлены22 июл 2025

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

CompassJudger-2-7B-Instruct — языковая модель-судья из серии CompassJudger-2, дообученная разработчиками OpenCompass на Qwen2.5-7B-Instruct. Модель предназначена для оценки ответов и сравнения их качества, в том числе в попарных сценариях. В README описаны обучение на данных из разных задач и областей, применение проверяемых наград, chain-of-thought и rejection sampling; заявлена оценка на нескольких бенчмарках для моделей-судей и reward-моделей.

Модель имеет плотную архитектуру Qwen2, около 7,1 млрд параметров и контекст до 32 768 токенов. Она принимает текст и выдаёт текстовые оценки или суждения; в метаданных также отмечен интерфейс tool calling. README не перечисляет поддерживаемые естественные языки. Репозиторий использует safetensors, библиотеку Transformers и лицензию Apache-2.0. Утверждения README о превосходстве по бенчмаркам не сопровождаются в предоставленной карточке полными результатами и методологией; качество оценок может зависеть от задачи и домена.

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

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

Ограничения

Заявления о результатах на бенчмарках приведены в README без полной методологии и результатов в предоставленной карточке. Поддерживаемые естественные языки явно не перечислены.

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

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

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

Также подходит для

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

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

Открыть на Hugging Face

CompassJudger-2

Introduction

We introduce CompassJudger-2, a novel series of generalist judge models designed to overcome the narrow specialization and limited robustness of existing LLM-as-judge solutions. Current judge models often struggle with comprehensive evaluation, but CompassJudger-2 addresses these limitations with a powerful new training paradigm.

Key contributions of our work include:

  • Advanced Data Strategy: We employ a task-driven, multi-domain data curation and synthesis strategy to enhance the model's robustness and domain adaptability.
  • Verifiable Reward-Guided Training: We supervise judgment tasks with verifiable rewards, guiding the model's intrinsic reasoning through chain-of-thought (CoT) and rejection sampling. A refined margin policy gradient loss further enhances performance.
  • Superior Performance: CompassJudger-2 achieves state-of-the-art results across multiple judge and reward benchmarks. Our 7B model demonstrates competitive accuracy with models that are significantly larger.
  • JudgerBenchV2: We introduce a new, comprehensive benchmark with 10,000 questions across 10 scenarios, using a Mixture-of-Judgers (MoJ) consensus for more reliable ground truth.

This repository contains the CompassJudger-2 series of models, fine-tuned on the Qwen2.5-Instruct series.

Models

Model NameSizeBase ModelDownloadNotes
👉 CompassJudger-2-7B-Instruct7BQwen2.5-7B-Instruct🤗 ModelFine-tuned for generalist judge capabilities.
👉 CompassJudger-2-32B-Instruct32BQwen2.5-32B-Instruct🤗 ModelA larger, more powerful judge model.

Quickstart

Here is a simple example demonstrating how to load the model and use it for pairwise evaluation.

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_path = "opencompass/CompassJudger-2-7B-Instruct"

model = AutoModelForCausalLM.from_pretrained(
    model_path,
    torch_dtype="auto",
    device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained(model_path)

# Example: Pair-wise Comparison
prompt = """
Please act as an impartial judge to evaluate the responses provided by two AI assistants to the user question below. Your evaluation should focus on the following criteria: helpfulness, relevance, accuracy, depth, creativity, and level of detail.

- Do not let the order of presentation, response length, or assistant names influence your judgment.
- Base your decision solely on how well each response addresses the user’s question and adheres to the instructions.

Your final reply must be structured in the following format:
{
  "Choice": "[Model A or Model B]"
}

User Question: {question}

Model A's Response: {answerA}

Model B's Response: {answerB}

Now it's your turn. Please provide selection result as required:
"""

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=2048
)
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]
print(response)

Evaluation

CompassJudger-2 sets a new state-of-the-art for judge models, outperforming general models, reward models, and other specialized judge models across a wide range of benchmarks.

ModelJudgerBench V2JudgeBenchRMBRewardBenchAverage
7B Judge Models
CompassJudger-1-7B-Instruct57.9646.0038.1880.7455.72
Con-J-7B-Instruct52.3538.0671.5087.1062.25
RISE-Judge-Qwen2.5-7B46.1240.4872.6488.2061.61
CompassJudger-2-7B-Instruct60.5263.0673.9090.9672.11
32B+ Judge Models
CompassJudger-1-32B-Instruct60.3362.2977.6386.1771.61
Skywork-Critic-Llama-3.1-70B52.4150.6565.5093.3065.47
RISE-Judge-Qwen2.5-32B56.4263.8773.7092.7071.67
CompassJudger-2-32B-Instruct62.2165.4872.9892.6273.32
General Models (for reference)
Qwen2.5-32B-Instruct62.9759.8474.9985.6170.85
DeepSeek-V3-032464.4359.6878.1685.1771.86
Qwen3-235B-A22B61.4065.9775.5984.6871.91

For detailed benchmark performance and methodology, please refer to our 📑 Paper.

License

This project is licensed under the Apache 2.0 License. See the LICENSE file for details.

Citation

If you find our work helpful, please consider citing our paper:

@article{zhang2025compassjudger,
  title={CompassJudger-2: Towards Generalist Judge Model via Verifiable Rewards},
  author={Zhang, Taolin and Cao, Maosong and Lam, Alexander and Zhang, Songyang and Chen, Kai},
  journal={arXiv preprint arXiv:2507.09104},
  year={2025}
}

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей