SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2403.00043 · 2024

RiNALMo: General-Purpose RNA Language Models Can Generalize Well on Structure Prediction Tasks

arXiv · PDF · Open in the Atlas

Code that ran

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

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2403.00043.json · badge: /api/ran/2403.00043.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
lbcb-sci/rinalmo canonical (classifier label)
classifier basis: census
4 ran · 1 no recorded run
FunctionStatusWhere it lives
apply_rotary_pos_emb Ran
ran, violated the contract we drafted
lbcb-sci/rinalmo/rinalmo/model/rope.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from tdooms/bilinear-decomposition, is pointer only (licence: NONE) · get_code("986a45db92ff30fe")
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 tdooms/bilinear-decomposition, 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.

dot_product_attention Ran
ran; our contract draft was wrong, not the code
lbcb-sci/rinalmo/rinalmo/model/attention.py
code served (permissive licence) · get_code("f6afd2235cdb7855")
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 torch.nn as nn
import math

torch.manual_seed(0)

# Define a simple dropout module
dropout_module = nn.Dropout(p=0.1)

# Create tiny tensors for attention computation
# batch_size=2, seq_len_q=3, seq_len_k=4, embedding_dim=5
batch_size = 2
seq_len_q = 3
seq_len_k = 4
embedding_dim = 5

q = torch.randn(batch_size, seq_len_q, embedding_dim)
k = torch.randn(batch_size, seq_len_k, embedding_dim)
v = torch.randn(batch_size, seq_len_k, embedding_dim)

# Create attention mask: shape (batch_size, seq_len_q, seq_len_k)
# False means don't mask, True means mask to -inf
attn_mask = torch.zeros(batch_size, seq_len_q, seq_len_k, dtype=torch.bool)
attn_mask[0, 0, 0] = True  # Mask one position for the first batch

# Create key padding mask: shape (batch_size, seq_len_k)
# True means the position is padding and should be masked
key_pad_mask = torch.zeros(batch_size, seq_len_k, dtype=torch.bool)
key_pad_mask[0, -1] = True  # Mark last key as padding for first batch

ARGS = {
    "q": q,
    "k": k,
    "v": v,
    "attn_mask": attn_mask,
    "key_pad_mask": key_pad_mask,
    "dropout": dropout_module,
}
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
is_canonical_sequence Ran
ran, violated the contract we drafted
lbcb-sci/rinalmo/rinalmo/utils/prepare_ncrna_classification_data.py
code served (permissive licence) · get_code("68ea47ffa17f6d99")
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 bool, ndim 0, dtype family float, 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
import numpy as np

torch.manual_seed(0)

# The function checks if all characters in a sequence are in canonical_bases
# sequence: can be a string or iterable of characters
# canonical_bases: should be a set or similar container supporting issubset check

sequence = "ACGT"
canonical_bases = {"A", "C", "G", "T"}

ARGS = {
    "sequence": sequence,
    "canonical_bases": canonical_bases,
}
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 bool, 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
rotate_half Ran
ran, honoured the contract we drafted
lbcb-sci/rinalmo/rinalmo/model/rope.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from tdooms/bilinear-decomposition, is pointer only (licence: NONE) · get_code("437c7011506995a3")
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 tdooms/bilinear-decomposition, 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.

download_splice_site_data Not yet run
unverified (harvested, no recorded run)
lbcb-sci/rinalmo/rinalmo/utils/download.py
code served (permissive licence) · get_code("b54f0f8fcde6f675")
How it ran

no invocation recorded.

Also present in other papers' code

Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 2 later) and 3 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 13 other papers
2 dated earlier, 11 later · 2 only as an assembly brick
2202.03036 (2022-02)
Structure-Aware Transformer for Graph Representation Learning
2203.07852 (2022-03)
Block-Recurrent Transformers
2406.03386 (2024-06)
Learning Long Range Dependencies on Graphs via Random Walks
and 10 more not named here
apply_rotary_pos_emb 2 other papers
1 dated earlier, 1 later
2310.13802 (2023-10)
Improving Molecular Properties Prediction Through Latent Space Fusion
2410.08417 (2024-10)
Bilinear MLPs enable weight-based mechanistic interpretability

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

While RNA has recently been recognized as an interesting small-molecule drug target, many challenges remain to be addressed before we take full advantage of it. This emphasizes the necessity to improve our understanding of its structures and functions. Over the years, sequencing technologies have produced an enormous amount of unlabeled RNA data, which hides a huge potential. Motivated by the successes of protein language models, we introduce RiboNucleic Acid Language Model (RiNALMo) to unveil the hidden code of RNA. RiNALMo is the largest RNA language model to date, with 650M parameters pre-trained on 36M non-coding RNA sequences from several databases. It can extract hidden knowledge and capture the underlying structure information implicitly embedded within the RNA sequences. RiNALMo achieves state-of-the-art results on several downstream tasks. Notably, we show that its generalization capabilities overcome the inability of other deep learning methods for secondary structure prediction to generalize on unseen RNA families.

For agents

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

get_harvested_code_for_paper("2403.00043")
get_code_for_paper("2403.00043")
have("2403.00043")

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

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

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

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

Connect an agent — have() is free.