SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2411.04165 · 2024

Bio-xLSTM: Generative modeling, representation and in-context learning of biological and chemical sequences

arXiv · PDF · Open in the Atlas

Code that ran

27 of 29 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; 4 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 22 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/2411.04165.json · badge: /api/ran/2411.04165.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
ml-jku/chem-xlstm canonical (classifier label)
classifier basis: census
15 ran · 2 no recorded run
ml-jku/dna-xlstm canonical (classifier label)
classifier basis: census
9 ran · 0 no recorded run
ml-jku/prot-xlstm canonical (classifier label)
classifier basis: census
3 ran · 0 no recorded run
FunctionStatusWhere it lives
apply_rotary_emb Ran
ran; our contract draft was wrong, not the code
ml-jku/prot-xlstm/protxlstm/xlstm/components/rotary_position.py
code served (permissive licence) · get_code("ac829870c326eb73")
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, ndim 4, 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)

# The function applies rotary embeddings to query and key tensors
# It reshapes them into real/imaginary pairs, applies rotation, then flattens back
# All tensors need compatible shapes for broadcasting

batch_size = 2
seq_len = 3
dim = 4

# xq and xk: (batch, seq_len, dim)
# These are split into real/imaginary pairs in the last dimension
xq = torch.randn(batch_size, seq_len, dim)
xk = torch.randn(batch_size, seq_len, dim)

# freqs_cos and freqs_sin: must broadcast with the reshaped tensors
# After reshape to (..., -1, 2), we have (batch, seq_len, dim/2)
# freqs should have shape (seq_len, dim/2) or compatible
freqs_cos = torch.randn(seq_len, dim // 2)
freqs_sin = torch.randn(seq_len, dim // 2)

ARGS = {
    "xq": xq,
    "xk": xk,
    "freqs_cos": freqs_cos,
    "freqs_sin": freqs_sin,
}
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 tuple, ndim 4, 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
bias_linspace_init_ Ran
ran; our contract draft was wrong, not the code
ml-jku/dna-xlstm/models/dna_xlstm/xlstm/components/init.py
code served (permissive licence) · get_code("705d17e5f5c0489b")
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 1, dtype family float, shape (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)

# Create a 1-dimensional bias tensor with 4 elements
bias_param = torch.randn(4)

ARGS = {
    'param': bias_param,
    'start': 3.4,
    'end': 6.0,
}
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 1, dtype family float, shape (4,) — shape (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
cauchy_naive Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ml-jku/chem-xlstm/chemxlstm/module_library/cauchy.py
code served (permissive licence) · get_code("bf0be6c26af1d44e")
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 Tensor, ndim 2, dtype family float, shape (2, 3) 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)

# v: (..., N) - batch shape (...,) with last dim N
# z: (..., L) - batch shape (...,) with last dim L
# w: (..., N) - batch shape (...,) with last dim N
# conj: bool - whether to concatenate conjugates

# Create small tensors with distinct sizes
batch_shape = (2,)  # batch size 2
N = 4  # dimension for v and w
L = 3  # dimension for z

v = torch.randn(*batch_shape, N, dtype=torch.complex64)
z = torch.randn(*batch_shape, L, dtype=torch.complex64)
w = torch.randn(*batch_shape, N, dtype=torch.complex64)
conj_flag = True

ARGS = {
    "v": v,
    "z": z,
    "w": w,
    "conj": conj_flag
}
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 Tensor, ndim 2, dtype family float, shape (2, 3) — shape (2, 3) 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
combination Ran
ran; our contract draft was wrong, not the code
ml-jku/chem-xlstm/chemxlstm/module_library/dplr.py
code served (permissive licence) · get_code("5688929ec94f213a")
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 math
from einops import repeat

torch.manual_seed(0)

ARGS = {
    'measures': 'diag',
    'N': 8,
    'R': 2,
    'S': 4,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
einops, 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
compute_freqs_cis Ran
ran; our contract draft was wrong, not the code
ml-jku/prot-xlstm/protxlstm/xlstm/components/rotary_position.py
code served (permissive licence) · get_code("2a573b08e6c410c8")
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, ndim 3, 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)

# t is a torch.Tensor used with unsqueeze(-1) and .device attribute
# head_dim is an int used in arange and division
# theta is a float with default 10000.0

t = torch.tensor([1.0, 2.0, 3.0, 4.0])
head_dim = 8
theta = 10000.0

ARGS = {
    "t": t,
    "head_dim": head_dim,
    "theta": theta,
}
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 tuple, ndim 3, 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
conditional_decorator Ran
ran; our contract draft was wrong, not the code
ml-jku/dna-xlstm/models/dna_xlstm/xlstm/components/util.py
code served (permissive licence) · get_code("683dd071b7bcb7c7")
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 function. 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)

# Define a simple decorator to use as the decorator argument
def simple_decorator(func):
    """A simple decorator that adds a marker to the function."""
    def wrapper(*args, **kwargs):
        result = func(*args, **kwargs)
        return result
    return wrapper

# Define a simple function to decorate
def sample_function(x):
    """A sample function to be decorated."""
    return x + 1

# Create arguments for conditional_decorator
ARGS = {
    "condition": True,
    "decorator": simple_decorator
}
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 function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function 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
conv1d_step Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ml-jku/prot-xlstm/protxlstm/xlstm/components/conv.py
code served (permissive licence) · get_code("25766cf2cb87920f")
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

torch.manual_seed(0)

# Define dimensions
batch_size = 2
sequence_length = 1
feature_dim = 4
kernel_size = 3

# Create tensors matching the function's expectations
x = torch.randn(batch_size, sequence_length, feature_dim)
conv_state = torch.randn(batch_size, kernel_size, feature_dim)
conv1d_weight = torch.randn(kernel_size, feature_dim)
conv1d_bias = torch.randn(feature_dim)

ARGS = {
    'x': x,
    'conv_state': conv_state,
    'conv1d_weight': conv1d_weight,
    'conv1d_bias': conv1d_bias
}
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 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
dplr Ran
ran; our contract draft was wrong, not the code
ml-jku/chem-xlstm/chemxlstm/module_library/dplr.py
code served (permissive licence) · get_code("7c3fe064733e56b3")
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 math
import torch
from einops import repeat

torch.manual_seed(0)

ARGS = {
    'scaling': 'linear',
    'N': 64,
    'rank': 1,
    'H': 1,
    'dtype': torch.float,
    'real_scale': 1.0,
    'imag_scale': 1.0,
    'random_real': False,
    'random_imag': False,
    'normalize': False,
    'diagonal': True,
    'random_B': False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
einops, 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
exists Ran
ran, violated the contract we drafted
ml-jku/dna-xlstm/models/dna_xlstm/xlstm/xlstm_block_stack.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from ThomasMrY/VCT, is pointer only (licence: NONE) · get_code("aa5486a3650902d8")
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 ThomasMrY/VCT, 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.

get_act_fn Ran
ran; our contract draft was wrong, not the code
ml-jku/dna-xlstm/models/dna_xlstm/xlstm/components/feedforward.py
code served (permissive licence) · get_code("ed05db9cecbe4f40")
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 builtin_function_or_method. 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 = {
    'act_fn_name': 'gelu'
}
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 builtin_function_or_method — a builtin_function_or_method output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a builtin_function_or_method 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_mlstm_inner_dim Ran
ran, honoured the contract we drafted
ml-jku/dna-xlstm/models/dna_xlstm/xlstm/xlstm_block_stack.py
code served (permissive licence) · get_code("3b07afcb40c29e2a")
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 math

class MLSTMConfig:
    def __init__(self, proj_factor, embedding_dim, round_proj_up_to_multiple_of, round_proj_up_dim_up):
        self.proj_factor = proj_factor
        self.embedding_dim = embedding_dim
        self.round_proj_up_to_multiple_of = round_proj_up_to_multiple_of
        self.round_proj_up_dim_up = round_proj_up_dim_up

m_config = MLSTMConfig(
    proj_factor=2.0,
    embedding_dim=128,
    round_proj_up_to_multiple_of=64,
    round_proj_up_dim_up=True
)

ARGS = {
    "m_config": m_config
}
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 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
krylov Ran
ran; our contract draft was wrong, not the code
ml-jku/chem-xlstm/chemxlstm/module_library/krylov.py
code served (permissive licence) · get_code("1f3623588b61ca31")
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. 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)

# Construct arguments for krylov function
# L: number of Krylov vectors to compute
L = 4

# A: square matrix that will be used for matrix powers
# Using a 3x3 matrix for distinct dimensions
A = torch.randn(3, 3, dtype=torch.float32)

# b: initial vector, should be compatible with A (3,)
b = torch.randn(3, dtype=torch.float32)

# c: optional weighting vector, same size as b
c = torch.randn(3, dtype=torch.float32)

# return_power: boolean flag
return_power = True

ARGS = {
    "L": L,
    "A": A,
    "b": b,
    "c": c,
    "return_power": return_power,
}
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 — 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
krylov_sequential Ran
ran; our contract draft was wrong, not the code
ml-jku/chem-xlstm/chemxlstm/module_library/krylov.py
code served (permissive licence) · get_code("b060864a3e29a600")
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 Tensor, ndim 2, dtype family float, shape (2, 3) 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)

# L: number of Krylov iterations (scalar int)
L = 3

# A: constant matrix of shape (..., N, N)
# Using batch_size=2, N=4
A = torch.randn(2, 4, 4)

# b: vector of shape (..., N)
# Using batch_size=2, N=4
b = torch.randn(2, 4)

# c: optional vector of shape (..., N) or None
# Using batch_size=2, N=4
c = torch.randn(2, 4)

ARGS = {
    "L": L,
    "A": A,
    "b": b,
    "c": c,
}
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 Tensor, ndim 2, dtype family float, shape (2, 3) — shape (2, 3) 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
learn_label_encoding Ran
ran; our contract draft was wrong, not the code
ml-jku/chem-xlstm/chemxlstm/fasta_utils.py
code served (permissive licence) · get_code("1fb8af0f651b45c7")
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 numpy as np

torch.manual_seed(0)

# Construct tokenized_inputs: List[List[str]]
# This represents protein sequences tokenized into individual tokens
tokenized_inputs = [
    ['M', 'A', 'K', 'L', '[PAD]'],
    ['G', 'A', 'V', '[PAD]'],
    ['M', 'K', 'L', 'E'],
    ['A', 'V', 'G', 'M', 'K']
]

ARGS = {
    'tokenized_inputs': tokenized_inputs
}
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 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
load_file Ran
ran; our contract draft was wrong, not the code
ml-jku/chem-xlstm/chemxlstm/evaluate_cond_gen.py
code served (permissive licence) · get_code("4208c567af7da5a8")
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 list, ndim 1, 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 tempfile
import zipfile
import os

# Create a temporary zip file with a text file inside
temp_dir = tempfile.mkdtemp()
zip_path = os.path.join(temp_dir, "test.zip")

# Create a simple text file content
text_content = "line1\nline2\nline3"

# Create the zip file
with zipfile.ZipFile(zip_path, 'w') as zf:
    zf.writestr("data.txt", text_content)

ARGS = {
    "file_path": zip_path
}
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 list, ndim 1, dtype family float — a list 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
load_model Ran
ran; our contract draft was wrong, not the code
ml-jku/chem-xlstm/chemxlstm/evaluate_cond_gen.py
code served (permissive licence) · get_code("df4c6239424d356d")
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 xLSTMforNTP. 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 unittest.mock import Mock, MagicMock
import os
import tempfile

torch.manual_seed(0)

# Create a minimal mock model class that implements the from_file method
class xLSTMforNTP(nn.Module):
    def __init__(self):
        super().__init__()
        self.model = nn.Linear(4, 4)
    
    @classmethod
    def from_file(cls, model_path, n_heads, device, sequence_length=None, gpt_upj_factor=None):
        instance = cls()
        instance.model = nn.Linear(4, 4)
        return instance

# Create a temporary directory structure with epoch files
temp_dir = tempfile.mkdtemp()
os.makedirs(temp_dir, exist_ok=True)

# Create fake epoch files with n_heads info in the name
for i in range(1, 3):
    epoch_file = os.path.join(temp_dir, f'epoch_{i}_he8_checkpoint.pt')
    with open(epoch_file, 'w') as f:
        f.write('dummy')

model_path = temp_dir

# Create args object with all required attributes
args = Mock()
args.n_heads = 8
args.device = 'cpu'
args.sequence_length = None
args.model_class = 'xLSTM'
args.gpt_upj_factor = 1.0

# Monkey-patch the eval function to return our mock class
import builtins
original_eval = builtins.eval

def patched_eval(expr, *a, **kw):
    if 'xLSTMforNTP' in expr:
        return xLSTMforNTP
    return original_eval(expr, *a, **kw)

builtins.eval = patched_eval

ARGS = {
    'model_path': model_path,
    'model_type': 'xLSTM',
    'args': args
}
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 xLSTMforNTP — a xLSTMforNTP output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a xLSTMforNTP 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_smiles_from_zip Ran
ran; our contract draft was wrong, not the code
ml-jku/chem-xlstm/chemxlstm/metrics.py
code served (permissive licence) · get_code("8a748a919db6ec4d")
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 list, ndim 1, 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 pandas as pd
import tempfile
import zipfile
import os
import io

# Create a temporary zip file with CSV data containing SMILES strings
temp_dir = tempfile.mkdtemp()
zip_path = os.path.join(temp_dir, "smiles_data.zip")

# Create a CSV file in memory with SMILES strings
smiles_data = "CCO\nCC(C)O\nc1ccccc1\nCC(=O)O\n"
csv_buffer = io.BytesIO(smiles_data.encode('utf-8'))

# Write to zip file
with zipfile.ZipFile(zip_path, 'w') as zf:
    zf.writestr('smiles.csv', smiles_data)

ARGS = {
    'zip_path': zip_path
}
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 list, ndim 1, dtype family float — a list 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
power Ran
ran; our contract draft was wrong, not the code
ml-jku/chem-xlstm/chemxlstm/module_library/krylov.py
code served (permissive licence) · get_code("5df4043c60e49613")
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
from einops import rearrange

torch.manual_seed(0)

# Construct valid arguments for the power function
# L: an integer exponent
# A: a square matrix of shape (..., N, N)
# v: optional matrix of shape (..., N, L) where L matches the exponent

# Define L as an integer exponent
L = 8

# Define A as a batch of square matrices (..., N, N)
# Using shape (2, 4, 4) - batch size 2, 4x4 matrices
A = torch.randn(2, 4, 4)

# Define v as an optional matrix of shape (..., N, L)
# The function processes v with the power expansion, so it needs L columns
# Using shape (2, 4, 8) - batch size 2, 4 rows, 8 columns matching L=8
v = torch.randn(2, 4, 8)

ARGS = {
    "L": L,
    "A": A,
    "v": v,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
einops, 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
precompute_freqs_cis Ran
ran, honoured the contract we drafted
ml-jku/dna-xlstm/models/dna_xlstm/xlstm/xlstm_block_stack.py
code served (permissive licence) · get_code("2bf924786015498d")
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, ndim 3, 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)

ARGS = {
    "dim": 8,
    "end": 4,
    "theta": 500000.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 tuple, ndim 3, 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
rank_correction Ran
ran, honoured the contract we drafted
ml-jku/chem-xlstm/chemxlstm/module_library/hippo.py
code served (permissive licence) · get_code("433b3d872e02032c")
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 Tensor, ndim 2, dtype family float, shape (1, 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)

ARGS = {
    'measure': 'legs',
    'N': 4,
    'rank': 1,
    'dtype': torch.float,
}
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 Tensor, ndim 2, dtype family float, shape (1, 4) — shape (1, 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
read_fastas Ran
ran; our contract draft was wrong, not the code
ml-jku/chem-xlstm/chemxlstm/fasta_utils.py
code served (permissive licence) · get_code("6e10ab4b4709a633")
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 list, ndim 1, 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 tempfile
import os
import zipfile
import gzip

# Create a temporary directory for test files
temp_dir = tempfile.mkdtemp()

# Create a simple .fasta file
fasta_content = """>seq1
MKVLWAALLVTFLAGCAKAKAVQVKVKALPDAQFEVVHSLAKWKRQTLGQHDFSAGEGLYTHMKALRPDEDRLSPLHSVYVDQWDWERVMGDGERQFSTLKSTVEAIWAGIKATEAAVSEEFGLAPFLPDQIHFVHSQELLSRYPDLDAKGRERAIAKDLGAVFLVGIGGKLSDGHRHDVRAPDYDDWSTPSELGHAGLNGDILVWNPVLEDAFELSSMGIRVDADTLKHQLALTGDEDRLELEWHQALLRGEMPQTIGGGIGQSRLTMLLLQLPHIGQVQAGVWPAAVRESVPSLL
>seq2
MKTAYIAKQRQISFVKSHFSRQLEERLGLIEVQAPILSRVGDGTQDNLSGAEKAVQVKVKALPDAQFEVVHSLAKWKRQTLGQHDFSAGEGLYTHMKALRPDEDRLSPLHSVYVDQWDWERVMGDGERQFSTLKSTVEAIWAGIKATEAAVSEEFGLAPFLPDQIHFVHSQELLSRYPDLDAKGRERAIAKDLGAVFLVGIGGKLSDGHRHDVRAPDYDDWSTPSELGHAGLNGDILVWNPVLEDAFELSSMGIRVDADTLKHQLALTGDEDRLELEWHQALLRGEMPQTIGGGIGQSRLTMLLLQLPHIGQVQAGVWPAAVRESVPSLL
""".strip()

# Test with .fasta file
fasta_path = os.path.join(temp_dir, "test.fasta")
with open(fasta_path, 'w') as f:
    f.write(fasta_content)

# Test with .fasta.gz file
gz_path = os.path.join(temp_dir, "test.fasta.gz")
with gzip.open(gz_path, 'wt') as f:
    f.write(fasta_content)

# Test with .fasta.zip file
zip_path = os.path.join(temp_dir, "test.fasta.zip")
with zipfile.ZipFile(zip_path, 'w') as zf:
    zf.writestr("test.fasta", fasta_content)

# Use the .fasta file for the test
ARGS = {
    "path_to_data": fasta_path
}
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 list, ndim 1, dtype family float — a list 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
round_to_multiple Ran
ran, honoured the contract we drafted
ml-jku/dna-xlstm/models/dna_xlstm/xlstm/components/util.py
code served (permissive licence) · get_code("3a70ec6e0ac819b2")
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 torch

torch.manual_seed(0)

ARGS = {
    "n": 10,
    "m": 8,
}
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 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
segment_fasta Ran
ran; our contract draft was wrong, not the code
ml-jku/chem-xlstm/chemxlstm/fasta_utils.py
code served (permissive licence) · get_code("c0dc66eb84a1479a")
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 list, ndim 1, 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 re
from typing import Dict, List, Union

# Construct arguments for segment_fasta
fasta_sequence = "MVHLTPEEKS"

ARGS = {
    "fasta": fasta_sequence,
    "replace_rare_aas": True,
}
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 list, ndim 1, dtype family float — a list 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
small_init_init_ Ran
ran; our contract draft was wrong, not the code
ml-jku/dna-xlstm/models/dna_xlstm/xlstm/components/init.py
code served (permissive licence) · get_code("cfe16cc8552a2332")
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 Tensor, ndim 2, dtype family float, shape (4, 3) 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
import math

torch.manual_seed(0)

# Create a small tensor to be initialized
# Using shape (4, 3) for distinctness
param = torch.empty(4, 3)

# Define the dimension parameter
dim = 5

ARGS = {
    "param": param,
    "dim": dim,
}
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 Tensor, ndim 2, dtype family float, shape (4, 3) — shape (4, 3) 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
ssm Ran
ran; our contract draft was wrong, not the code
ml-jku/chem-xlstm/chemxlstm/module_library/dplr.py
code served (permissive licence) · get_code("a59eccfb252a06f0")
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 math
from einops import repeat

torch.manual_seed(0)

# Create a minimal hippo module stand-in since the function references hippo.nplr
class HippoModule:
    @staticmethod
    def nplr(measure, N, R=1, **kwargs):
        # Return dummy tensors of appropriate shapes for hippo.nplr
        w = torch.randn(N, dtype=torch.cfloat)
        P = torch.randn(R, N, dtype=torch.cfloat)
        B = torch.randn(N, dtype=torch.cfloat)
        V = torch.randn(N, N, dtype=torch.cfloat)
        return (w, P, B, V)

hippo = HippoModule()

ARGS = {
    'measure': 'dplr',
    'N': 8,
    'R': 2,
    'H': 3,
    'scaling': 'linear',
    'dtype': torch.float,
    'real_scale': 1.0,
    'imag_scale': 1.0,
    'random_real': False,
    'random_imag': False,
    'normalize': False,
    'diagonal': True,
    'random_B': False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
einops, 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
transition Ran
ran; our contract draft was wrong, not the code
ml-jku/chem-xlstm/chemxlstm/module_library/hippo.py
code served (permissive licence) · get_code("34b2aa570368722c")
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 numpy as np
from scipy import special as ss

# Set random seed for reproducibility
np.random.seed(0)

# Define ARGS dict with all parameters for the transition function
ARGS = {
    'measure': 'legt',
    'N': 4,
    'alpha': 0.0,
    'beta': 0.01,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — 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
wang_init_ Ran
ran; our contract draft was wrong, not the code
ml-jku/dna-xlstm/models/dna_xlstm/xlstm/components/init.py
code served (permissive licence) · get_code("431c81ae48403967")
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 Tensor, ndim 2, dtype family float, shape (4, 3) 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
import math

torch.manual_seed(0)

# Create a small tensor parameter
param = torch.randn(4, 3)

# Define dimension and num_blocks
dim = 4
num_blocks = 2

# Construct ARGS dictionary
ARGS = {
    "param": param,
    "dim": dim,
    "num_blocks": num_blocks
}
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 Tensor, ndim 2, dtype family float, shape (4, 3) — shape (4, 3) 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
create_dataloader Not yet run
unverified (harvested, no recorded run)
ml-jku/chem-xlstm/chemxlstm/dataloaders.py
code served (permissive licence) · get_code("b52fb76a05e95adb")
How it ran

no invocation recorded.

embed_c2r Not yet run
unverified (harvested, no recorded run)
ml-jku/chem-xlstm/chemxlstm/module_library/hippo.py
code served (permissive licence) · get_code("e6845c8558af2604")
How it ran

no invocation recorded.

Also present in other papers' code

Of 29 samples lifted from this paper's linked repositories, 29 carry a function identity and 0 do not. Of the 29 distinct functions with an identity, 13 are also present in other papers whose code we hold (11 with at least one paper dated earlier, 1 the same month, 5 later) and 16 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
exists 486 other papers
397 dated earlier, 14 the same month, 64 later, 9 same year, order not determinable, 2 undated · 78 only as an assembly brick
1603.08155 (2016-03)
Perceptual Losses for Real-Time Style Transfer and Super-Resolution
1611.07004 (2016-11)
Image-to-Image Translation with Conditional Adversarial Networks
1804.04637 (2018-04)
EMBER: An Open Dataset for Training Static PE Malware Machine Learning Models
and 483 more not named here
bias_linspace_init_ 3 other papers
2 dated earlier, 1 later
2406.02918 (2024-06)
U-KAN Makes Strong Backbone for Medical Image Segmentation and Generation
2406.04303 (2024-06)
Vision-LSTM: xLSTM as Generic Vision Backbone
2503.13427 (2025-03)
xLSTM 7B: A Recurrent LLM for Fast and Efficient Inference
combination 3 other papers
3 dated earlier
1312.5602 (2013-12)
Playing Atari with Deep Reinforcement Learning
2009.09761 (2020-09)
DiffWave: A Versatile Diffusion Model for Audio Synthesis
2212.14052 (2022-12)
Hungry Hungry Hippos: Towards Language Modeling with State Space Models
conv1d_step 2 other papers
2 later
2502.09981 (2025-02)
Exploring Neural Granger Causality with xLSTMs: Unveiling Temporal Dependencies in Complex Data
2503.13427 (2025-03)
xLSTM 7B: A Recurrent LLM for Fast and Efficient Inference
embed_c2r 2 other papers
2 dated earlier
2110.13985 (2021-10)
Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layers
2111.00396 (2021-11)
Efficiently Modeling Long Sequences with Structured State Spaces
krylov 2 other papers
2 dated earlier
2110.13985 (2021-10)
Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layers
2204.01692 (2022-04)
Long Movie Clip Classification with State-Space Video Models
wang_init_ 2 other papers
1 dated earlier, 1 later
2406.04303 (2024-06)
Vision-LSTM: xLSTM as Generic Vision Backbone
2503.13427 (2025-03)
xLSTM 7B: A Recurrent LLM for Fast and Efficient Inference
dplr 1 other paper
1 dated earlier
2212.14052 (2022-12)
Hungry Hungry Hippos: Towards Language Modeling with State Space Models
power 1 other paper
1 dated earlier
2212.14052 (2022-12)
Hungry Hungry Hippos: Towards Language Modeling with State Space Models
rank_correction 1 other paper
1 dated earlier
2212.14052 (2022-12)
Hungry Hungry Hippos: Towards Language Modeling with State Space Models
small_init_init_ 1 other paper
1 later
2503.13427 (2025-03)
xLSTM 7B: A Recurrent LLM for Fast and Efficient Inference
ssm 1 other paper
1 dated earlier
2212.14052 (2022-12)
Hungry Hungry Hippos: Towards Language Modeling with State Space Models
transition 1 other paper
1 dated earlier
2212.14052 (2022-12)
Hungry Hungry Hippos: Towards Language Modeling with State Space 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

Language models for biological and chemical sequences enable crucial applications such as drug discovery, protein engineering, and precision medicine. Currently, these language models are predominantly based on Transformer architectures. While Transformers have yielded impressive results, their quadratic runtime dependency on the sequence length complicates their use for long genomic sequences and in-context learning on proteins and chemical sequences. Recently, the recurrent xLSTM architecture has been shown to perform favorably compared to Transformers and modern state-space model (SSM) architectures in the natural language domain. Similar to SSMs, xLSTMs have a linear runtime dependency on the sequence length and allow for constant-memory decoding at inference time, which makes them prime candidates for modeling long-range dependencies in biological and chemical sequences. In this work, we tailor xLSTM towards these domains and propose a suite of architectural variants called Bio-xLSTM. Extensive experiments in three large domains, genomics, proteins, and chemistry, were performed to assess xLSTM's ability to model biological and chemical sequences. The results show that models based on Bio-xLSTM a) can serve as proficient generative models for DNA, protein, and chemical sequences, b) learn rich representations for those modalities, and c) can perform in-context learning for proteins and small molecules.

For agents

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

get_harvested_code_for_paper("2411.04165")
get_code_for_paper("2411.04165")
have("2411.04165")

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

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

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

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

Connect an agent — have() is free.