SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2307.16372 · 2023

LP-MusicCaps: LLM-Based Pseudo Music Captioning

arXiv · PDF · Open in the Atlas

Code that ran

7 of 7 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; 3 honoured the contract we drafted, 1 violated it and 3 have no contract verdict; 0 failures of our instrument; 0 no recorded run), measured 2026-11-22; 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/2307.16372.json · badge: /api/ran/2307.16372.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
seungheondoh/lp-music-caps canonical (classifier label)
classifier basis: census
4 ran · 0 no recorded run
MindSpore-scientific-2/code-8 community (classifier label)
classifier basis not recorded on the link
3 ran · 0 no recorded run
FunctionStatusWhere it lives
adjust_learning_rate Ran
ran, honoured the contract we drafted
seungheondoh/lp-music-caps/lpmc/music_captioning/transfer.py
pointer only (licence: NONE); the stored copy get_code serves, from quandao10/slct, is pointer only (licence: NONE) · get_code("bd3578806ecf5ac2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, seungheondoh/lp-music-caps 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.

generate_sample Ran
ran on a synthesized input
MindSpore-scientific-2/code-8/QuantExplainNLP_AlgoAnalysis/data_preprocessing.py
code served (permissive licence) · get_code("16298c972234921e")
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 numpy as np

class StandInTokenizer:
    """Minimal tokenizer stand-in"""
    def __init__(self, vocab_size):
        self.vocab_size = vocab_size
    
    def encode(self, text):
        return [np.random.randint(0, self.vocab_size) for _ in text.split()]
    
    def decode(self, tokens):
        return ' '.join(str(t) for t in tokens)

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

seq_length = 50

medical_terms = [
    'hypertension', 'diabetes', 'pneumonia', 'sepsis', 
    'trauma', 'stroke', 'myocardial', 'infection', 'fever', 'pain'
]

whole_word_tokens = [
    'patient', 'hospital', 'doctor', 'nurse', 'treatment',
    'diagnosis', 'symptom', 'disease', 'condition', 'care'
]

templates = [
    "The {term1} with {severity} {term2} required {treatment}.",
    "Patient presented with {term1} and {term2}, {outcome} after {treatment}.",
    "Clinical evaluation of {term1} in {term3} showed {severity} {term4}.",
    "The {term1} {term2} was managed with {treatment}, resulting in {outcome}.",
    "Following {term1}, the {term3} developed {severity} {term4} and received {treatment}.",
]

vocab_size = 100

tokenizer = StandInTokenizer(vocab_size=vocab_size)

ARGS = {
    "seq_length": seq_length,
    "medical_terms": medical_terms,
    "whole_word_tokens": whole_word_tokens,
    "templates": templates,
    "vocab_size": vocab_size,
    "tokenizer": tokenizer,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type 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
get_feature_names Ran
ran on a synthesized input
MindSpore-scientific-2/code-8/QuantExplainNLP_AlgoAnalysis/explainability.py
code served (permissive licence) · get_code("5919a74fc358ee01")
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 ndarray, ndim 1, dtype family float, shape (13,) 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.

from sklearn.feature_extraction.text import TfidfVectorizer

# Small sample texts for the vectorizer to fit on
texts = [
    "machine learning is great",
    "natural language processing",
    "text classification tasks",
    "feature extraction methods"
]

# tfidf_data parameter - this appears to be unused in the function body,
# but we'll provide a placeholder anyway
tfidf_data = None

# max_features parameter
max_features = 1407

ARGS = {
    "tfidf_data": tfidf_data,
    "texts": texts,
    "max_features": max_features
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
sklearn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (13,) — shape (13,) 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
maybe_num_nodes Ran
ran on a synthesized input
MindSpore-scientific-2/code-8/RGNN/model_simple.py
code served (permissive licence) · get_code("ef93260b5137f73b")
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)

# The function calls index.max().item() + 1
# So index needs to be a tensor with a max() method
index = torch.tensor([0, 1, 2, 3, 4], dtype=torch.long)

# num_nodes is optional; we'll test both cases
num_nodes = None

ARGS = {
    "index": index,
    "num_nodes": num_nodes
}
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
ms Ran
ran, honoured the contract we drafted
seungheondoh/lp-music-caps/demo/utils/audio_utils.py
pointer only (licence: NONE) · get_code("af8afe1f9058dbc1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, seungheondoh/lp-music-caps 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.

normalize Ran
ran, violated the contract we drafted
seungheondoh/lp-music-caps/demo/utils/audio_utils.py
pointer only (licence: NONE) · get_code("da903d73dd3b59c1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, seungheondoh/lp-music-caps 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.

sinusoids Ran
ran, honoured the contract we drafted
seungheondoh/lp-music-caps/lpmc/music_captioning/model/modules.py
pointer only (licence: NONE) · get_code("e04a7c27c2fe82f7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, seungheondoh/lp-music-caps 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.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 4 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 1 the same month, 4 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
adjust_learning_rate 23 other papers
8 dated earlier, 1 the same month, 14 later
2105.12723 (2021-05)
Nested Hierarchical Transformer: Towards Accurate, Data-Efficient and Interpretable Visual Understanding
2204.09435 (2022-04)
Hephaestus: A large scale multitask dataset towards InSAR understanding
2206.07699 (2022-06)
Write and Paint: Generative Vision-Language Models are Unified Modal Learners
and 20 more not named here
maybe_num_nodes 9 other papers
2 dated earlier, 7 later
2104.01528 (2021-04)
SGCN:Sparse Graph Convolution Network for Pedestrian Trajectory Prediction
2210.12624 (2022-10)
Mitigating Gradient Bias in Multi-objective Learning: A Provably Convergent Stochastic Approach
2312.16476 (2023-12)
SVGDreamer: Text Guided SVG Generation with Diffusion Model
and 6 more not named here
generate_sample 6 other papers
6 later
2312.16476 (2023-12)
SVGDreamer: Text Guided SVG Generation with Diffusion Model
2403.16372 (2024-03)
SignSGD with Federated Voting
2408.14512 (2024-08)
LLMs as Zero-shot Graph Learners: Alignment of GNN Representations with LLM Token Embeddings
and 3 more not named here
get_feature_names 6 other papers
6 later
2312.16476 (2023-12)
SVGDreamer: Text Guided SVG Generation with Diffusion Model
2403.16372 (2024-03)
SignSGD with Federated Voting
2408.14512 (2024-08)
LLMs as Zero-shot Graph Learners: Alignment of GNN Representations with LLM Token Embeddings
and 3 more not named here

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-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Automatic music captioning, which generates natural language descriptions for given music tracks, holds significant potential for enhancing the understanding and organization of large volumes of musical data. Despite its importance, researchers face challenges due to the costly and time-consuming collection process of existing music-language datasets, which are limited in size. To address this data scarcity issue, we propose the use of large language models (LLMs) to artificially generate the description sentences from large-scale tag datasets. This results in approximately 2.2M captions paired with 0.5M audio clips. We term it Large Language Model based Pseudo music caption dataset, shortly, LP-MusicCaps. We conduct a systemic evaluation of the large-scale music captioning dataset with various quantitative evaluation metrics used in the field of natural language processing as well as human evaluation. In addition, we trained a transformer-based music captioning model with the dataset and evaluated it under zero-shot and transfer-learning settings. The results demonstrate that our proposed approach outperforms the supervised baseline model.

For agents

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

get_harvested_code_for_paper("2307.16372")
get_code_for_paper("2307.16372")
have("2307.16372")

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

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

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

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

Connect an agent — have() is free.