SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2310.13800 · EMNLP · 2023

Evaluation Metrics in the Era of GPT-4: Reliably Evaluating Large Language Models on Sequence to Sequence Tasks

Zheng Yuan, Bin Liang, Kai Zou, Netmind Ai, Andrea Sottana

arXiv · PDF · Open in the Atlas

Code that ran

4 of 5 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; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 4 failures of our instrument; 1 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.13800.json · badge: /api/ran/2310.13800.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
protagolabs/seq2seq_llm_evaluation canonical (classifier label)
classifier basis: census
4 ran · 1 no recorded run
FunctionStatusWhere it lives
create_df_for_human_eval Ran
ran; our contract draft was wrong, not the code
protagolabs/seq2seq_llm_evaluation/main/data_processing/data_subset_selection_for_human_evaluation.py
code served (permissive licence) · get_code("360af14588a1b136")
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 DataFrame. 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 pandas as pd

# Create a minimal output_df with the required columns
output_df = pd.DataFrame({
    'model': ['gpt2', 'gpt2', 'bert', 'bert', 'gpt2'],
    'prompt': ['prompt_a', 'prompt_b', 'prompt_a', 'prompt_b', 'prompt_a'],
    'temperature': [0.7, 0.9, 0.7, 0.9, 0.9],
    'output': ['output1', 'output2', 'output3', 'output4', 'output5']
})

# Create task_model_prompt_temperature_dict
# Each task maps to a list of tuples (model, prompt, temperature)
task_model_prompt_temperature_dict = {
    'Summarisation': [
        ('gpt2', 'prompt_a', 0.7),
        ('bert', 'prompt_a', 0.7)
    ],
    'Simplification': [
        ('gpt2', 'prompt_b', 0.9),
        ('bert', 'prompt_b', 0.9)
    ],
    'GEC': [
        ('gpt2', 'prompt_a', 0.9),
        ('bert', 'prompt_a', 0.7)
    ]
}

# Task to process
task = 'Summarisation'

ARGS = {
    'output_df': output_df,
    'task_model_prompt_temperature_dict': task_model_prompt_temperature_dict,
    'task': task
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 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_filename Ran
ran; our contract draft was wrong, not the code
protagolabs/seq2seq_llm_evaluation/main/data_processing/add_ids_to_potato_data_files.py
code served (permissive licence) · get_code("898e32d7c66f851f")
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 hashlib

# The function takes a single parameter: sentence (str)
# It uses the following operations on sentence:
# - .lower() - converts to lowercase
# - .strip() - removes leading/trailing whitespace
# - .encode('utf-8') - encodes to bytes
# Then it passes to hashlib.sha256() and calls .hexdigest()

ARGS = {
    "sentence": "Hello World! This is a test sentence."
}
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
noop_edit Ran
ran; our contract draft was wrong, not the code
protagolabs/seq2seq_llm_evaluation/main/automatic_evaluation/eval_errant_GEC.py
code served (permissive licence) · get_code("151dbca39b874524")
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 torch

torch.manual_seed(0)

ARGS = {
    'id_': 0
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — 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
set_getM2_args Ran
ran; our contract draft was wrong, not the code
protagolabs/seq2seq_llm_evaluation/main/automatic_evaluation/eval_errant_GEC.py
code served (permissive licence) · get_code("df6a335d7e38bea9")
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 args_object. 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 tempfile
import os

class args_object:
    def __init__(self):
        pass

def set_getM2_args(orig_path, cor_path, out_path):
    args = args_object()
    args.orig = orig_path
    args.cor = [cor_path]
    args.out = out_path
    args.tok = False
    args.lev = False
    args.merge = 'rules'
    return args

# Create temporary file paths for testing
temp_dir = tempfile.gettempdir()
orig_file = os.path.join(temp_dir, "original.txt")
cor_file = os.path.join(temp_dir, "corrected.txt")
out_file = os.path.join(temp_dir, "output.m2")

# Create dummy files so paths are valid
with open(orig_file, 'w') as f:
    f.write("This is a test sentence.\n")

with open(cor_file, 'w') as f:
    f.write("This is a test sentence.\n")

ARGS = {
    'orig_path': orig_file,
    'cor_path': cor_file,
    'out_path': out_file
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type args_object — a args_object output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a args_object 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
compute_score Not yet run
unverified (harvested, no recorded run)
protagolabs/seq2seq_llm_evaluation/main/automatic_evaluation/eval_errant_GEC.py
code served (permissive licence) · get_code("9037aa0c9007025d")
How it ran

no invocation recorded.

Also present in other papers' code

Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 5 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.

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

Large Language Models (LLMs) evaluation is a patchy and inconsistent landscape, and it is becoming clear that the quality of automatic evaluation metrics is not keeping up with the pace of development of generative models. We aim to improve the understanding of current models' performance by providing a preliminary and hybrid evaluation on a range of open and closed-source generative LLMs on three NLP benchmarks: text summarisation, text simplification and grammatical error correction (GEC), using both automatic and human evaluation. We also explore the potential of the recently released GPT-4 to act as an evaluator. We find that ChatGPT consistently outperforms many other popular models according to human reviewers on the majority of metrics, while scoring much more poorly when using classic automatic evaluation metrics. We also find that human reviewers rate the gold reference as much worse than the best models' outputs, indicating the poor quality of many popular benchmarks. Finally, we find that GPT-4 is capable of ranking models' outputs in a way which aligns reasonably closely to human judgement despite task-specific variations, with a lower alignment in the GEC task.

For agents

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

get_harvested_code_for_paper("2310.13800")
get_code_for_paper("2310.13800")
have("2310.13800")

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

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

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

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

Connect an agent — have() is free.