SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2310.17631 · 2023

JudgeLM: Fine-tuned Large Language Models are Scalable Judges

arXiv · PDF · Open in the Atlas

Code that ran

4 of 6 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 3 failures of our instrument; 2 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2310.17631.json · badge: /api/ran/2310.17631.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
hitz-zentroa/eval-MCG-COLING-2025 community (classifier label)
classifier basis: plan_row
4 ran · 2 no recorded run
FunctionStatusWhere it lives
compress Ran
ran; our contract draft was wrong, not the code
hitz-zentroa/eval-MCG-COLING-2025/evaluation/JudgeLM-main/judgelm/model/compression.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from Git-King-Zhan/LoReC, is pointer only (licence: NONE) · get_code("80dde39da1ba3708")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from Git-King-Zhan/LoReC, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

filt_pred_score_list_by_gt_score_list Ran
ran, honoured the contract we drafted
hitz-zentroa/eval-MCG-COLING-2025/evaluation/JudgeLM-main/judgelm/llm_judge/eval_model_judgement.py
code served (permissive licence) · get_code("b904d307320eb547")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# The function filters two lists based on whether gt_score contains -1
# gt_score_list: list of score tuples/lists where each has at least 2 elements
# pred_score_list: list of corresponding pred scores (can be any type)

gt_score_list = [
    [0.5, 0.7],
    [-1, 0.3],
    [0.2, 0.4],
    [0.1, -1],
    [0.9, 0.8],
]

pred_score_list = [
    0.6,
    0.4,
    0.3,
    0.2,
    0.85,
]

ARGS = {
    "gt_score_list": gt_score_list,
    "pred_score_list": pred_score_list,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_compressed_list Ran
ran; our contract draft was wrong, not the code
hitz-zentroa/eval-MCG-COLING-2025/evaluation/JudgeLM-main/judgelm/model/compression.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from Git-King-Zhan/LoReC, is pointer only (licence: NONE) · get_code("c5824da57107fe8c")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from Git-King-Zhan/LoReC, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

process_response Ran
ran; our contract draft was wrong, not the code
hitz-zentroa/eval-MCG-COLING-2025/evaluation/JudgeLM-main/judgelm/model/chatglm_model.py
code served (permissive licence) · get_code("dc21db7cf25bfe72")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re

def process_response(response):
    response = response.strip()
    response = response.replace('[[训练时间]]', '2023年')
    punkts = [[',', ','], ['!', '!'], [':', ':'], [';', ';'], ['\\?', '?']]
    for item in punkts:
        response = re.sub('([\\u4e00-\\u9fff])%s' % item[0], '\\1%s' % item[1], response)
        response = re.sub('%s([\\u4e00-\\u9fff])' % item[0], '%s\\1' % item[1], response)
    return response

ARGS = {
    'response': '你好,世界!这是一个测试[[训练时间]]案例:完美;对吗?'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_conv_template Not yet run
unverified (harvested, no recorded run)
hitz-zentroa/eval-MCG-COLING-2025/evaluation/JudgeLM-main/judgelm/conversation.py
code served (permissive licence) · get_code("d3f7074a99b4f5dd")
How it ran

no invocation recorded.

load_compress_model Not yet run
unverified (harvested, no recorded run)
hitz-zentroa/eval-MCG-COLING-2025/evaluation/JudgeLM-main/judgelm/model/compression.py
code served (permissive licence) · get_code("8cd841084972921e")
How it ran

no invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 6 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 3 the same month, 6 later) and 0 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_conv_template 69 other papers
7 dated earlier, 1 the same month, 60 later, 1 undated
1911.03705 (2019-11)
CommonGen: A Constrained Text Generation Challenge for Generative Commonsense Reasoning
2112.05682 (2021-12)
Self-attention Does Not Need $O(n^2)$ Memory
2204.07705 (2022-04)
SUPER-NATURALINSTRUCTIONS: Generalization via Declarative Instructions on 1600+ NLP Tasks
and 66 more not named here
compress 17 other papers
4 dated earlier, 2 the same month, 11 later
2112.05682 (2021-12)
Self-attention Does Not Need $O(n^2)$ Memory
2303.06865 (2023-03)
FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPU
2304.10453 (2023-04)
Phoenix: Democratizing ChatGPT across Languages
and 14 more not named here
get_compressed_list 13 other papers
1 dated earlier, 1 the same month, 11 later
2112.05682 (2021-12)
Self-attention Does Not Need $O(n^2)$ Memory
2310.13023 (2023-10)
GraphGPT: Graph Instruction Tuning for Large Language Models
2024.findings-emnlp.559 (2024 (year only))
A LLM-Based Ranking Method for the Evaluation of Automatic Counter-Narrative Generation
and 10 more not named here
process_response 9 other papers
2 dated earlier, 7 later
2112.05682 (2021-12)
Self-attention Does Not Need $O(n^2)$ Memory
2305.12524 (2023-05)
TheoremQA: A Theorem-driven Question Answering Dataset ♠
2024.findings-emnlp.559 (2024 (year only))
A LLM-Based Ranking Method for the Evaluation of Automatic Counter-Narrative Generation
and 6 more not named here
filt_pred_score_list_by_gt_score_list 3 other papers
1 dated earlier, 2 later
2306.05087 (2023-06)
PandaLM: An Automatic Evaluation Benchmark for LLM Instruction Tuning Optimization
2024.findings-emnlp.559 (2024 (year only))
A LLM-Based Ranking Method for the Evaluation of Automatic Counter-Narrative Generation
2409.16788 (2024-09)
Mitigating the Bias of Large Language Model Evaluation
load_compress_model 1 other paper
1 later
2024.findings-emnlp.559 (2024 (year only))
A LLM-Based Ranking Method for the Evaluation of Automatic Counter-Narrative Generation

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Evaluating Large Language Models (LLMs) in open-ended scenarios is challenging because existing benchmarks and metrics can not measure them comprehensively. To address this problem, we propose to fine-tune LLMs as scalable judges (JudgeLM) to evaluate LLMs efficiently and effectively in open-ended benchmarks. We first propose a comprehensive, large-scale, high-quality dataset containing task seeds, LLMs-generated answers, and GPT-4-generated judgments for fine-tuning high-performance judges, as well as a new benchmark for evaluating the judges. We train JudgeLM at different scales from 7B, 13B, to 33B parameters, and conduct a systematic analysis of its capabilities and behaviors. We then analyze the key biases in fine-tuning LLM as a judge and consider them as position bias, knowledge bias, and format bias. To address these issues, JudgeLM introduces a bag of techniques including swap augmentation, reference support, and reference drop, which clearly enhance the judge's performance. JudgeLM obtains the state-of-the-art judge performance on both the existing PandaLM benchmark and our proposed new benchmark. Our JudgeLM is efficient and the JudgeLM-7B only needs 3 minutes to judge 5K samples with 8 A100 GPUs. JudgeLM obtains high agreement with the teacher judge, achieving an agreement exceeding 90% that even surpasses human-to-human agreement. JudgeLM also demonstrates extended capabilities in being judges of the single answer, multimodal models, multiple answers, multi-turn chat, etc. Code is available at https://github.com/baaivision/JudgeLM.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2310.17631")
get_code_for_paper("2310.17631")
have("2310.17631")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2310.17631.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2310.17631.svg)](https://syntology.ai/paper/2310.17631)

Connect an agent — have() is free.