SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.21352 · NeurIPS · 2024

LLMCBench: Benchmarking Large Language Model Compression for Efficient Deployment

Xianglong Liu, Ge Yang, Haotong Qin, Aishan Liu, Jinyang Guo, Jianyu Wu, Changyi He, Yifu Ding, Pengliang Ji

arXiv · PDF · Open in the Atlas

Code that ran

14 of 17 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; 13 failures of our instrument; 3 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/2410.21352.json · badge: /api/ran/2410.21352.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
AboveParadise/LLMCBench canonical (classifier label)
classifier basis: census
14 ran · 3 no recorded run
FunctionStatusWhere it lives
eval_ppl Ran
ran, honoured the contract we drafted
AboveParadise/LLMCBench/evaluate_ppl.py
code served (permissive licence) · get_code("d8fea7ed2cb92813")
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 float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type, ndim and shape 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 torch.nn as nn

torch.manual_seed(0)

class DummyModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.embedding = nn.Embedding(256, 4)
        self.linear = nn.Linear(4, 256)
    
    def forward(self, input_ids):
        x = self.embedding(input_ids)
        logits = self.linear(x)
        return type('obj', (object,), {'logits': logits})()

class DummyTokenizerOutput:
    def __init__(self, input_ids):
        self.input_ids = input_ids

model = DummyModel()
seq_len = 8
bs = 2

input_ids = torch.randint(0, 256, (1, seq_len * bs * 2))
testenc = DummyTokenizerOutput(input_ids)

ARGS = {
    'model': model,
    'testenc': testenc,
    'seq_len': seq_len,
    'bs': bs,
    'device': None
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, tqdm — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
find_subsequence Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
AboveParadise/LLMCBench/evaluate_tQA.py
code served (permissive licence) · get_code("dd3a73b173924da9")
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 int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 numpy as np

# Create test arrays
arr = np.array([1, 2, 3, 4, 5, 6, 7, 8, 9, 10])
subarr = np.array([5, 6])

# Define ARGS with all parameters
ARGS = {
    "arr": arr,
    "subarr": subarr,
    "start": True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
format_best Ran
ran; our contract draft was wrong, not the code
AboveParadise/LLMCBench/evaluate_tQA.py
pointer only (licence: MIT); the stored copy get_code serves, from hoeng4/PruneCD, is pointer only (licence: NONE) · get_code("158b8847881a64b3")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from hoeng4/PruneCD, 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.

format_example Ran
ran; our contract draft was wrong, not the code
AboveParadise/LLMCBench/evaluate_mmlu.py
code served (permissive licence) · get_code("cd763eaf1ac287e7")
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) 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 pandas as pd

# Create a small DataFrame with the structure expected by format_example
# The function expects:
# - Column 0: prompt text
# - Columns 1 to k: answer choices (k columns)
# - Column k+1: the correct answer
# With choices = ['A', 'B', 'C', 'D'], we have k=4 choices

data = {
    0: ["What is 2+2?"],
    1: ["3"],
    2: ["4"],
    3: ["5"],
    4: ["6"],
    5: ["B"]  # The answer is 'B' (which corresponds to choice index 1, value "4")
}

df = pd.DataFrame(data)

ARGS = {
    'df': df,
    'idx': 0,
    'include_answer': True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
pandas — 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
format_example Ran
ran; our contract draft was wrong, not the code
AboveParadise/LLMCBench/evaluate_advglue.py
code served (permissive licence) · get_code("984d3567b5126f65")
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
import numpy as np

# Build sample question dictionaries for different tasks
mnli_question = {
    'premise': 'A man is walking down the street.',
    'hypothesis': 'A person is outside.',
    'label': 0
}

mnli_mm_question = {
    'premise': 'A woman is reading a book.',
    'hypothesis': 'Someone is reading.',
    'label': 1
}

qnli_question = {
    'question': 'What is the capital of France?',
    'sentence': 'Paris is the capital of France.',
    'label': 0
}

rte_question = {
    'sentence1': 'The cat is on the mat.',
    'sentence2': 'There is a cat.',
    'label': 0
}

qqp_question = {
    'question1': 'How do I learn Python?',
    'question2': 'What is the best way to learn Python?',
    'label': 0
}

sst2_question = {
    'sentence': 'This movie is absolutely wonderful!',
    'label': 0
}

# Create lists of k=5 examples for each task
mnli_questions = [
    {
        'premise': 'A man walks.',
        'hypothesis': 'A person moves.',
        'label': 0
    },
    {
        'premise': 'It is raining.',
        'hypothesis': 'The sky is wet.',
        'label': 1
    },
    {
        'premise': 'Dogs are animals.',
        'hypothesis': 'Cats are birds.',
        'label': 2
    },
    {
        'premise': 'The sun is shining.',
        'hypothesis': 'It is daytime.',
        'label': 0
    },
    {
        'premise': 'Water is liquid.',
        'hypothesis': 'Ice is solid.',
        'label': 1
    }
]

qnli_questions = [
    {'question': 'What color?', 'sentence': 'Blue.', 'label': 0},
    {'question': 'Who?', 'sentence': 'John.', 'label': 1},
    {'question': 'When?', 'sentence': 'Yesterday.', 'label': 0},
    {'question': 'Where?', 'sentence': 'Here.', 'label': 1},
    {'question': 'Why?', 'sentence': 'Because.', 'label': 0}
]

rte_questions = [
    {'sentence1': 'A runs.', 'sentence2': 'Someone moves.', 'label': 0},
    {'sentence1': 'Birds fly.', 'sentence2': 'Penguins fly.', 'label': 1},
    {'sentence1': 'Red is color.', 'sentence2': 'Blue is color.', 'label': 0},
    {'sentence1': 'Hot means temperature.', 'sentence2': 'Cold is opposite.', 'label': 1},
    {'sentence1': 'Trees have leaves.', 'sentence2': 'Plants grow.', 'label': 0}
]

qqp_questions = [
    {'question1': 'Q1?', 'question2': 'Q1?', 'label': 0},
    {'question1': 'How to cook?', 'question2': 'Cooking methods?', 'label': 1},
    {'question1': 'What is AI?', 'question2': 'What is ML?', 'label': 0},
    {'question1': 'Best laptop?', 'question2': 'Best computer?', 'label': 1},
    {'question1': 'Why rain?', 'question2': 'Rain reason?', 'label': 0}
]

sst2_questions = [
    {'sentence': 'Great!', 'label': 0},
    {'sentence': 'Terrible.', 'label': 1},
    {'sentence': 'Amazing work.', 'label': 0},
    {'sentence': 'Horrible experience.', 'label': 1},
    {'sentence': 'Love this!', 'label': 0}
]

# Define ARGS dictionary with all parameter combinations
ARGS = {
    'task_name': 'mnli',
    'question': mnli_questions,
    'origin': False,
    'k': 5
}
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 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
format_example Ran
ran; our contract draft was wrong, not the code
AboveParadise/LLMCBench/evaluate_mnli.py
code served (permissive licence) · get_code("7538653cf2565390")
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 pandas as pd
import numpy as np

# Create a small DataFrame with the required structure
# Columns: 0=label, ..., 5=premise, 6=hypothesis
data = {
    0: ['entailment', 'neutral', 'contradiction'],
    1: ['col1_val1', 'col1_val2', 'col1_val3'],
    2: ['col2_val1', 'col2_val2', 'col2_val3'],
    3: ['col3_val1', 'col3_val2', 'col3_val3'],
    4: ['col4_val1', 'col4_val2', 'col4_val3'],
    5: ['All animals have fur.', 'Some birds can fly.', 'The sky is green.'],
    6: ['Cats have fur.', 'Penguins can fly.', 'The sky is blue.']
}

df = pd.DataFrame(data)

ARGS = {
    'df': df,
    'idx': 0,
    'include_answer': True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — 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
format_example Ran
ran; our contract draft was wrong, not the code
AboveParadise/LLMCBench/evaluate_qnli.py
code served (permissive licence) · get_code("dafa37632f3f91bf")
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 pandas as pd
import numpy as np

# Create a minimal DataFrame that matches the function's expectations
# The function accesses:
# - df.iloc[idx, 1] for the question
# - df.iloc[idx, 2] for the sentence
# - df.shape[1] to get number of columns
# - df.iloc[idx, k+1] where k = df.shape[1] - 2, so df.iloc[idx, df.shape[1]-1] for the label

# We need at least 4 columns (indices 0, 1, 2, 3)
# Column 1: question
# Column 2: sentence
# Column 3: label (entailment or not)
data = {
    'col0': ['dummy'],
    'col1': ['Is this a question?'],
    'col2': ['This is a sentence.'],
    'col3': ['entailment']
}
df = pd.DataFrame(data)

ARGS = {
    'df': df,
    'idx': 0,
    'include_answer': True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — 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
format_frame Ran
ran; our contract draft was wrong, not the code
AboveParadise/LLMCBench/evaluate_tQA.py
code served (permissive licence) · get_code("18c6154c3dcf6170")
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) 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
import numpy as np

# Create a sample DataFrame with mixed column types
# The function filters out 'Context' column and columns with object dtype
data = {
    'Model Loss': [0.5, 0.3, 0.2],
    'Model Accuracy': [0.8, 0.85, 0.9],
    'Context': ['text1', 'text2', 'text3'],  # This will be filtered out
    'Metric Score': [10, 20, 30],
    'Other Data': ['a', 'b', 'c'],  # Object dtype, will be filtered out
}

results = pd.DataFrame(data)

ARGS = {
    'results': results
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, 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
format_subject Ran
ran; our contract draft was wrong, not the code
AboveParadise/LLMCBench/evaluate_mmlu.py
code served (permissive licence) · get_code("6ab745408cb8648b")
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) 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

def format_subject(subject):
    l = subject.split('_')
    s = ''
    for entry in l:
        s += ' ' + entry
    return s

ARGS = {
    'subject': 'machine_learning_model'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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
gen_prompt Ran
ran; our contract draft was wrong, not the code
AboveParadise/LLMCBench/evaluate_mmlu.py
code served (permissive licence) · get_code("3383488ea82b6c15")
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 pandas as pd
import numpy as np

# Create a small DataFrame that mimics the structure expected by gen_prompt
# The function expects: question in column 0, answer choices in columns 1 to k, answer in column k+1
data = {
    0: ['What is 2+2?', 'What is the capital of France?'],
    1: ['3', 'London'],
    2: ['4', 'Paris'],
    3: ['5', 'Berlin'],
    4: ['6', 'Madrid'],
    5: ['A', 'B']  # answers column
}

train_df = pd.DataFrame(data)

subject = 'basic_math'

ARGS = {
    'train_df': train_df,
    'subject': subject,
    'k': -1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — 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
gen_prompt Ran
ran; our contract draft was wrong, not the code
AboveParadise/LLMCBench/evaluate_advglue.py
code served (permissive licence) · get_code("00e220ac67451517")
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)

# Test case 1: mnli task with origin=False
question_mnli = {
    'premise': 'The cat sat on the mat.',
    'hypothesis': 'A cat was sitting.',
}

# Test case 2: mnli task with origin=True
question_mnli_orig = {
    'premise': 'The cat sat on the mat.',
    'original_premise': 'The original cat sat on the original mat.',
    'hypothesis': 'A cat was sitting.',
}

# Test case 3: mnli-mm task with origin=False
question_mnli_mm = {
    'premise': 'The dog ran quickly.',
    'hypothesis': 'The dog moved fast.',
}

# Test case 4: mnli-mm task with origin=True
question_mnli_mm_orig = {
    'premise': 'The dog ran quickly.',
    'hypothesis': 'The dog moved fast.',
    'original_hypothesis': 'The original dog moved originally fast.',
}

# Test case 5: qnli task with origin=False
question_qnli = {
    'question': 'What color is the sky?',
    'sentence': 'The sky is blue.',
}

# Test case 6: qnli task with origin=True
question_qnli_orig = {
    'question': 'What color is the sky?',
    'original_question': 'What original color is the original sky?',
    'sentence': 'The sky is blue.',
}

# Test case 7: rte task with origin=False
question_rte = {
    'sentence1': 'A person is walking.',
    'sentence2': 'Someone is moving.',
}

# Test case 8: rte task with origin=True
question_rte_orig = {
    'sentence1': 'A person is walking.',
    'original_sentence1': 'An original person is originally walking.',
    'sentence2': 'Someone is moving.',
}

# Test case 9: qqp task with origin=False
question_qqp = {
    'question1': 'What is AI?',
    'question2': 'What is artificial intelligence?',
}

# Test case 10: qqp task with origin=True
question_qqp_orig = {
    'question1': 'What is AI?',
    'original_question1': 'What is original AI?',
    'question2': 'What is artificial intelligence?',
}

# Test case 11: sst2 task with origin=False
question_sst2 = {
    'sentence': 'This movie is great!',
}

# Test case 12: sst2 task with origin=True
question_sst2_orig = {
    'sentence': 'This movie is great!',
    'original_sentence': 'This original movie is originally great!',
}

ARGS = {
    'task_name': 'mnli',
    'question': question_mnli,
    'origin': False,
}
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
gen_prompt Ran
ran; our contract draft was wrong, not the code
AboveParadise/LLMCBench/evaluate_mnli.py
code served (permissive licence) · get_code("b8a3329c6d548881")
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 pandas as pd
import numpy as np

# Create a minimal DataFrame that matches the expected structure
# The function accesses columns 0, 5, and 6
# Column 0: label ('entailment', 'neutral', or other)
# Column 5: premise text
# Column 6: hypothesis text

data = {
    0: ['entailment', 'neutral', 'contradiction'],
    1: [None, None, None],
    2: [None, None, None],
    3: [None, None, None],
    4: [None, None, None],
    5: [
        'A dog is running in the park.',
        'The weather is sunny today.',
        'All birds can fly.'
    ],
    6: [
        'An animal is running.',
        'It is daytime.',
        'Some penguins can fly.'
    ]
}

train_df = pd.DataFrame(data)

ARGS = {
    'train_df': train_df,
    'k': -1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — 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
gen_prompt Ran
ran; our contract draft was wrong, not the code
AboveParadise/LLMCBench/evaluate_qnli.py
code served (permissive licence) · get_code("65cc2c5bebc786da")
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 pandas as pd
import numpy as np

# Create a minimal DataFrame that satisfies the function's requirements
# The function expects:
# - df.iloc[idx, 1] to exist (Question column)
# - df.iloc[idx, 2] to exist (Sentence column)
# - df.shape[1] to determine k (number of columns)
# - df.iloc[idx, k+1] to exist (Answer column with 'entailment' or other values)

data = {
    'col0': ['ignore'],
    'Question': ['What is this?'],
    'Sentence': ['This is a test.'],
    'col3': ['unused'],
    'Answer': ['entailment']
}

train_df = pd.DataFrame(data)

ARGS = {
    'train_df': train_df,
    'k': -1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — 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
load_questions Ran
ran; our contract draft was wrong, not the code
AboveParadise/LLMCBench/tqa_utilities.py
code served (permissive licence) · get_code("a58462e59e01f858")
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
import tempfile
import os

# Create a temporary CSV file with sample questions
temp_dir = tempfile.mkdtemp()
csv_file = os.path.join(temp_dir, 'questions.csv')

# Write sample data to the CSV file
sample_data = pd.DataFrame({
    'question_id': [1, 2, 3],
    'text': ['What is Python?', 'What is ML?', 'What is AI?'],
    'category': ['programming', 'machine_learning', 'ai'],
    'empty_column': [None, None, None]  # This will be dropped by dropna
})
sample_data.to_csv(csv_file, index=False)

ARGS = {
    'filename': csv_file
}
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
eval Not yet run
unverified (harvested, no recorded run)
AboveParadise/LLMCBench/evaluate_mnli.py
code served (permissive licence) · get_code("5a00707831004560")
How it ran

no invocation recorded.

get_loaders Not yet run
unverified (harvested, no recorded run)
AboveParadise/LLMCBench/evaluate_ppl.py
code served (permissive licence) · get_code("3f1d2bce76741bc0")
How it ran

no invocation recorded.

load_model_tokenizer Not yet run
unverified (harvested, no recorded run)
AboveParadise/LLMCBench/evaluate_advglue.py
code served (permissive licence) · get_code("2e1841f87a930398")
How it ran

no invocation recorded.

Also present in other papers' code

Of 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 17 distinct functions with an identity, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 1 the same month, 4 later) and 12 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
format_subject 21 other papers
16 dated earlier, 1 the same month, 4 later
2009.03300 (2020-09)
Measuring Massive Multitask Language Understanding
2304.12986 (2023-04)
Measuring Massive Multitask Chinese Understanding
2305.17306 (2023-05)
Chain-of-Thought Hub: A Continuous Effort to Measure Large Language Models' Reasoning Performance
and 18 more not named here
format_example 16 other papers
12 dated earlier, 4 later
2009.03300 (2020-09)
Measuring Massive Multitask Language Understanding
2305.17306 (2023-05)
Chain-of-Thought Hub: A Continuous Effort to Measure Large Language Models' Reasoning Performance
2310.05736 (2023-10)
LLMLingua: Compressing Prompts for Accelerated Inference of Large Language Models
and 13 more not named here
gen_prompt 10 other papers
8 dated earlier, 2 later
2009.03300 (2020-09)
Measuring Massive Multitask Language Understanding
2305.17306 (2023-05)
Chain-of-Thought Hub: A Continuous Effort to Measure Large Language Models' Reasoning Performance
2310.05736 (2023-10)
LLMLingua: Compressing Prompts for Accelerated Inference of Large Language Models
and 7 more not named here
format_best 7 other papers
4 dated earlier, 3 later
2312.04333 (2023-12)
Is Bigger and Deeper Always Better? Probing LLaMA Across Scales and Layers
2312.15710 (2023-12)
Alleviating Hallucinations of Large Language Models through Induced Hallucinations
2401.05930 (2024-01)
SH2: Self-Highlighted Hesitation Helps You Decode More Truthfully
and 4 more not named here
format_frame 1 other paper
1 dated earlier
2109.07958 (2021-09)
TruthfulQA: Measuring How Models Mimic Human Falsehoods

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

Although large language models (LLMs) have demonstrated their strong intelligence ability, the high demand for computation and storage hinders their practical application. To this end, many model compression techniques are proposed to increase the efficiency of LLMs. However, current researches only validate their methods on limited models, datasets, metrics, etc, and still lack a comprehensive evaluation under more general scenarios. So it is still a question of which model compression approach we should use under a specific case. To mitigate this gap, we present the Large Language Model Compression Benchmark (LLMCBench), a rigorously designed benchmark with an in-depth analysis for LLM compression algorithms. We first analyze the actual model production requirements and carefully design evaluation tracks and metrics. Then, we conduct extensive experiments and comparison using multiple mainstream LLM compression approaches. Finally, we perform an in-depth analysis based on the evaluation and provide useful insight for LLM compression design. We hope our LLMCBench can contribute insightful suggestions for LLM compression algorithm design and serve as a foundation for future research. Our code is available at https://github.com/AboveParadise/LLMCBench.

For agents

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

get_harvested_code_for_paper("2410.21352")
get_code_for_paper("2410.21352")
have("2410.21352")

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

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

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

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

Connect an agent — have() is free.