SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.05357 · NeurIPS · 2024

Model-GLUE: Democratized LLM Scaling for A Large Model Zoo in the Wild

Ang Li, Hongyi Wang, Tianlong Chen, Zhangyang Wang, U Austin, Beidi Chen, Li Chen, Peihao Wang, Yi Liang, Binhang Yuan, Pingzhi Li, Bowen Tan, and 6 more

arXiv · PDF · Open in the Atlas

Code that ran

10 of 16 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (4 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 4 have no contract verdict; 6 failures of our instrument; 6 no recorded run); 1 of them was also run on the host, not in the jail, by the peer-agreement lane that set its level, 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.05357.json · badge: /api/ran/2410.05357.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
Model-GLUE/Model-GLUE canonical (classifier label)
classifier basis: census
6 ran · 1 no recorded run
model-glue/model-glue canonical (classifier label)
classifier basis: classifier_2025
4 ran · 5 no recorded run
FunctionStatusWhere it lives
repeat_kv Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Model-GLUE/Model-GLUE/mixture/mixtral_model_level/modeling_mixtral_model_level_hybrid.py
code served (permissive licence) · get_code("30d7eec482ebf6b1")
How it ran

Ran in Syntology's jail on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Tensor, ndim 4, dtype family float, shape (2, 6, 5, 4) as a later run recorded it. The image it ran in was not recorded. The comparison behind this sample's level is a different run: the peer-agreement lane ran it again on the host, not in the jail (report dated 2026-09-04T23:09:20Z). 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

torch.manual_seed(0)

# Create a tensor with shape (batch, num_key_value_heads, seqlen, head_dim)
# Using distinct sizes: batch=2, num_key_value_heads=3, seqlen=5, head_dim=4
hidden_states = torch.randn(2, 3, 5, 4)

# n_rep is the repetition factor
n_rep = 2

ARGS = {
    "hidden_states": hidden_states,
    "n_rep": n_rep,
}
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 Tensor, ndim 4, dtype family float, shape (2, 6, 5, 4) — shape (2, 6, 5, 4) 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
MixtralModelLevelHybridConfig Ran
ran on a synthesized input · constructed an object; no result was computed
model-glue/model-glue/mixture/mixtral_model_level/modeling_mixtral_model_level_hybrid.py
code served (permissive licence) · get_code("5f809614ad45d87e")
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 an instance of its own class, MixtralModelLevelHybridConfig: the run constructed the object and did not call it, so no result was computed. 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 torch.nn as nn

torch.manual_seed(0)

ARGS = {
    "vocab_size": 32000,
    "hidden_size": 4096,
    "intermediate_size": 14336,
    "num_hidden_layers": 32,
    "num_attention_heads": 32,
    "num_key_value_heads": 8,
    "hidden_act": "silu",
    "max_position_embeddings": 131072,
    "initializer_range": 0.02,
    "rms_norm_eps": 1e-05,
    "use_cache": True,
    "pad_token_id": 0,
    "bos_token_id": 1,
    "eos_token_id": 2,
    "tie_word_embeddings": False,
    "rope_theta": 1000000.0,
    "sliding_window": 4096,
    "attention_dropout": 0.0,
    "num_experts_per_tok": 2,
    "num_local_experts": 8,
    "output_router_logits": False,
    "router_aux_loss_coef": 0.001,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, transformers — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type MixtralModelLevelHybridConfig — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a MixtralModelLevelHybridConfig 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
MixtralModelLevelHybridMLP Ran
ran on a synthesized input · constructed an object; no result was computed
model-glue/model-glue/mixture/mixtral_model_level/modeling_mixtral_model_level_hybrid.py
code served (permissive licence) · get_code("168afe1c35dcbf7a")
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 an instance of its own class, MixtralModelLevelHybridMLP: the run constructed the object and did not call it, so no result was computed. 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 torch.nn as nn
from transformers.activations import ACT2FN

torch.manual_seed(0)

class Config:
    def __init__(self, hidden_size=4, intermediate_size=8, hidden_act='silu'):
        self.hidden_size = hidden_size
        self.intermediate_size = intermediate_size
        self.hidden_act = hidden_act

config = Config(
    hidden_size=4,
    intermediate_size=8,
    hidden_act='silu'
)

ARGS = {
    'config': config
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, transformers — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type MixtralModelLevelHybridMLP — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a MixtralModelLevelHybridMLP 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
MixtralModelLevelHybridRMSNorm Ran
ran on a synthesized input · constructed an object; no result was computed
model-glue/model-glue/mixture/mixtral_model_level/modeling_mixtral_model_level_hybrid.py
code served (permissive licence) · get_code("61211405adf0232e")
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 an instance of its own class, MixtralModelLevelHybridRMSNorm: the run constructed the object and did not call it, so no result was computed. 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
from torch import nn

torch.manual_seed(0)

# Build the arguments dict for MixtralModelLevelHybridRMSNorm
ARGS = {
    "hidden_size": 4,
    "eps": 1e-06
}

# Create an instance and test with a forward pass to verify
model = nn.Module.__new__(type('MixtralModelLevelHybridRMSNorm', (nn.Module,), {
    '__init__': lambda self, hidden_size, eps=1e-06: (
        super(type(self), self).__init__(),
        setattr(self, 'weight', nn.Parameter(torch.ones(hidden_size))),
        setattr(self, 'variance_epsilon', eps)
    ),
    'forward': lambda self, hidden_states: (
        lambda input_dtype: (
            lambda variance: (
                self.weight * (hidden_states * torch.rsqrt(variance + self.variance_epsilon)).to(input_dtype)
            )(hidden_states.to(torch.float32).pow(2).mean(-1, keepdim=True))
        )(hidden_states.dtype)
    )
}))

model.__init__(**ARGS)

# Test with sample hidden states (batch_size=2, hidden_size=4)
test_hidden_states = torch.randn(2, 4)
output = model.forward(test_hidden_states)
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 MixtralModelLevelHybridRMSNorm — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a MixtralModelLevelHybridRMSNorm 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
MixtralModelLevelHybridRotaryEmbedding Ran
ran on a synthesized input · constructed an object; no result was computed
model-glue/model-glue/mixture/mixtral_model_level/modeling_mixtral_model_level_hybrid.py
code served (permissive licence) · get_code("2af3f93fb1f05187")
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 an instance of its own class, MixtralModelLevelHybridRotaryEmbedding: the run constructed the object and did not call it, so no result was computed. 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
from torch import nn

torch.manual_seed(0)

ARGS = {
    "dim": 8,
    "max_position_embeddings": 512,
    "base": 10000,
    "device": None,
}
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 MixtralModelLevelHybridRotaryEmbedding — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a MixtralModelLevelHybridRotaryEmbedding 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
apply_rotary_pos_emb Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Model-GLUE/Model-GLUE/mixture/mixtral_model_level/modeling_mixtral_model_level_hybrid.py
code served (permissive licence) · get_code("d61c483a3c2b3156")
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 tuple, ndim 5, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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)

# Construct tiny tensors for the function
batch_size = 2
seq_len = 3
num_heads = 4
head_dim = 8

# Query and key tensors: [batch_size, num_heads, seq_len, head_dim]
q = torch.randn(batch_size, num_heads, seq_len, head_dim)
k = torch.randn(batch_size, num_heads, seq_len, head_dim)

# Cosine and sine embeddings: [seq_len, head_dim]
# These will be indexed by position_ids
cos = torch.randn(seq_len, head_dim)
sin = torch.randn(seq_len, head_dim)

# Position IDs: [batch_size, seq_len]
position_ids = torch.tensor([[0, 1, 2], [0, 1, 2]], dtype=torch.long)

# unsqueeze_dim parameter
unsqueeze_dim = 1

ARGS = {
    "q": q,
    "k": k,
    "cos": cos,
    "sin": sin,
    "position_ids": position_ids,
    "unsqueeze_dim": unsqueeze_dim,
}
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 tuple, ndim 5, dtype family float — a tuple output has no array shape of its own; none is stated
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
hash_args Ran
ran; our contract draft was wrong, not the code
Model-GLUE/Model-GLUE/lm_eval/api/model.py
code served (permissive licence) · get_code("20a7cc804eb22661")
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 hashlib
import json

# Construct valid arguments for hash_args function
# The function takes attr (attribute name) and args (tuple/list of arguments)
# and creates a JSON string to hash

attr = "test_attribute"
args = ("value1", 42, [1, 2, 3], {"key": "value"})

ARGS = {
    "attr": attr,
    "args": args
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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
remove_after_return Ran
ran; our contract draft was wrong, not the code
Model-GLUE/Model-GLUE/bigcode_eval/utils.py
code served (permissive licence) · get_code("29ee1d8c120f674a")
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 remove_after_return(code):
    """
    Takes as input a code, and removes everything that is after the return.
    That is, the first line that does not start with a space character
    """
    pattern = '[^\\n]+(\\n|$)'
    end_last_match = None
    for match in re.finditer(pattern, code):
        start_match, end_match = match.span()
        if end_last_match is not None and start_match < len(code) and (code[start_match].strip() != ''):
            return code[0:start_match]
        end_last_match = end_match
    return code

# Test code with indentation and a non-indented line (simulating return)
test_code = """    def foo():
    x = 1
    return x
print('this should be removed')
more_code = 2"""

ARGS = {
    "code": test_code
}
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
rotate_half Ran
ran; our contract draft was wrong, not the code
Model-GLUE/Model-GLUE/mixture/mixtral_model_level/modeling_mixtral_model_level_hybrid.py
code served (permissive licence) · get_code("b99eea6376d1e212")
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 Tensor, ndim 2, dtype family float, shape (2, 4) 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 torch

torch.manual_seed(0)

# The function rotate_half takes a single parameter 'x' which is a tensor
# It accesses x.shape[-1] to get the last dimension
# It uses indexing with [..., :] slicing notation
# It calls torch.cat() to concatenate tensors

# Create a small tensor with shape (2, 4) - batch size 2, hidden dim 4
x = torch.randn(2, 4)

ARGS = {
    "x": x
}
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 Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) 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
update_code_gens Ran
ran; our contract draft was wrong, not the code
Model-GLUE/Model-GLUE/bigcode_eval/utils.py
code served (permissive licence) · get_code("ac86a6f136bea277")
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 dict. 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 warnings
from unittest.mock import Mock, MagicMock

torch.manual_seed(0)

# Create a mock task object with required methods and attributes
class MockTask:
    def __init__(self):
        self.stop_words = ['<eos>']
    
    def postprocess_generation(self, code, sample_idx):
        return f"postprocessed_{code}_{sample_idx}"

# Create a mock tokenizer object with required methods and attributes
class MockTokenizer:
    def __init__(self):
        self.name_or_path = 'facebook/incoder-1B'
        self.eos_token = '<eos>'
        self.bos_token_id = 50256
        self.special_tokens_map = {
            'eos_token': '<eos>',
            'bos_token': '<bos>',
            'additional_special_tokens': ['<special1>', '<special2>']
        }
    
    def decode(self, token_ids, skip_special_tokens=False, clean_up_tokenization_spaces=False):
        # Simple mock decode that returns a string representation
        if isinstance(token_ids, list):
            result = ''.join([f'token_{tid}' for tid in token_ids])
        else:
            result = 'decoded_tokens'
        return result
    
    def get_prefix_tokens(self):
        # Return empty list for prefix tokens
        return []

# Create a mock task
task = MockTask()

# Create a mock tokenizer
tokenizer = MockTokenizer()

# Create other arguments
limit_start = 0
prefix = "def hello():\n    "
instruction_tokens = ['start_token', 'end_token', 'assistant_token']
postprocess = True

# Create code_gens dict - maps sample index to list of generated code strings
code_gens = {
    '0': [],
    '1': []
}

# Create gen_token_dict - maps sample index to list of token sequences
gen_token_dict = {
    '0': [
        [50256, 1, 2, 3],  # sequence with bos_token_id at start
        [4, 5, 6, 7]       # another sequence
    ],
    '1': [
        [50256, 8, 9, 10],
        [11, 12, 13, 14]
    ]
}

ARGS = {
    'task': task,
    'tokenizer': tokenizer,
    'limit_start': limit_start,
    'prefix': prefix,
    'instruction_tokens': instruction_tokens,
    'postprocess': postprocess,
    'code_gens': code_gens,
    'gen_token_dict': gen_token_dict
}
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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
MixtralModelLevelHybridAttention Not yet run
unverified (harvested, no recorded run)
model-glue/model-glue/mixture/mixtral_model_level/modeling_mixtral_model_level_hybrid.py
code served (permissive licence) · get_code("b7a56ddb57bcb75d")
How it ran

no invocation recorded.

MixtralModelLevelHybridDenseDecoderLayer Not yet run
unverified (harvested, no recorded run)
model-glue/model-glue/mixture/mixtral_model_level/modeling_mixtral_model_level_hybrid.py
code served (permissive licence) · get_code("10f90dfc6066b0b8")
How it ran

no invocation recorded.

MixtralModelLevelHybridFlashAttention2 Not yet run
unverified (harvested, no recorded run)
model-glue/model-glue/mixture/mixtral_model_level/modeling_mixtral_model_level_hybrid.py
code served (permissive licence) · get_code("c81e094f251fdc6a")
How it ran

no invocation recorded.

MixtralModelLevelHybridSdpaAttention Not yet run
unverified (harvested, no recorded run)
model-glue/model-glue/mixture/mixtral_model_level/modeling_mixtral_model_level_hybrid.py
code served (permissive licence) · get_code("2315328e9bcd8f59")
How it ran

no invocation recorded.

MixtralModelLevelHybridSparseDecoderLayer Not yet run
unverified (harvested, no recorded run)
model-glue/model-glue/mixture/mixtral_model_level/modeling_mixtral_model_level_hybrid.py
code served (permissive licence) · get_code("3cc021576be7867c")
How it ran

no invocation recorded.

complete_code Not yet run
unverified (harvested, no recorded run)
Model-GLUE/Model-GLUE/bigcode_eval/utils.py
code served (permissive licence) · get_code("59f94e66fd20d85d")
How it ran

no invocation recorded.

Also present in other papers' code

Of 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 3 the same month, 4 later) and 10 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
rotate_half
brick of this paper's assembly: helper
360 other papers
184 dated earlier, 25 the same month, 142 later, 6 same year, order not determinable, 3 undated · 30 only as an assembly brick
1901.02860 (2019-01)
Transformer-XL: Attentive Language Models Beyond a Fixed-Length Context
2203.08913 (2022-03)
Memorizing Transformers
2302.13971 (2023-02)
LLaMA: Open and Efficient Foundation Language Models
and 357 more not named here
repeat_kv
brick of this paper's assembly: helper
243 other papers
119 dated earlier, 24 the same month, 96 later, 2 same year, order not determinable, 2 undated · 22 only as an assembly brick
1901.02860 (2019-01)
Transformer-XL: Attentive Language Models Beyond a Fixed-Length Context
2203.08913 (2022-03)
Memorizing Transformers
2305.17888 (2023-05)
LLM-QAT: Data-Free Quantization Aware Training for Large Language Models
and 240 more not named here
apply_rotary_pos_emb
brick of this paper's assembly: helper
75 other papers
47 dated earlier, 6 the same month, 22 later · 2 only as an assembly brick
2309.11499 (2023-09)
DreamLLM: Synergistic Multimodal Comprehension and Creation
2312.02051 (2023-12)
TimeChat: A Time-sensitive Multimodal Large Language Model for Long Video Understanding
2312.03414 (2023-12)
Compressed Context Memory For Online Language Model Interaction
and 72 more not named here
hash_args 44 other papers
21 dated earlier, 21 later, 1 same year, order not determinable, 1 undated
2005.14165 (2020-05)
Language Models are Few-Shot Learners
2110.04374 (2021-10)
A Few More Examples May Be Worth Billions of Parameters
2303.17003 (2023-03)
Evaluating GPT-3.5 and GPT-4 Models on Brazilian University Admission Exams
and 41 more not named here
remove_after_return 4 other papers
3 dated earlier, 1 same year, order not determinable
2308.07124 (2023-08)
OctoPack: Instruction Tuning Code Large Language Models
2024.findings-emnlp.86 (2024 (year only))
Tokenization Falling Short: On Subword Robustness in Large Language Models
2406.11687 (2024-06)
Tokenization Falling Short: On Subword Robustness in Large Language Models
and 1 more not named here
update_code_gens 1 other paper
1 dated earlier
2308.07124 (2023-08)
OctoPack: Instruction Tuning Code Large Language Models

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

As Large Language Models (LLMs) excel across tasks and specialized domains, scaling LLMs based on existing models has gained significant attention, which is challenged by potential performance drop when combining disparate models. Various techniques have been proposed to aggregate pre-trained LLMs, including model merging, Mixture-of-Experts, and stacking. Despite their merits, a comprehensive comparison and synergistic application of them to a diverse model zoo is yet to be adequately addressed. In light of this research gap, this paper introduces Model-GLUE, a holistic LLM scaling guideline. First, our work starts with a benchmarking of existing LLM scaling techniques, especially selective merging, and variants of mixture. Utilizing the insights from the benchmark results, we formulate a strategy for the selection and aggregation of a heterogeneous model zoo characterizing different architectures and initialization. Our methodology involves clustering mergeable models, selecting a merging strategy, and integrating model clusters through model-level mixture. Finally, evidenced by our experiments on a diverse Llama-2-based model zoo, Model-GLUE shows an average performance enhancement of 5.61%, achieved without additional training. Codes are available at https://github.com/Model-GLUE/Model-GLUE.

For agents

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

get_harvested_code_for_paper("2410.05357")
get_code_for_paper("2410.05357")
have("2410.05357")

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

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

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

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

Connect an agent — have() is free.