SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2505.02625 · ACL · 2025

LLaMA-Omni 2: LLM-based Real-time Spoken Chatbot with Autoregressive Streaming Speech Synthesis

Yang Feng, Shaolei Zhang, Qingkai Fang, Yan Zhou, Shoutao Guo

arXiv · PDF · Open in the Atlas

Code that ran

9 of 11 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (3 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; 5 failures of our instrument; 2 no recorded run), measured 2026-11-24; 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/2505.02625.json · badge: /api/ran/2505.02625.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
tarepan/SpeechMOS canonical (classifier label)
classifier basis not recorded on the link
1 ran · 0 no recorded run
rainbowluocs/openomni community
Papers with Code archive
8 ran · 2 no recorded run
FunctionStatusWhere it lives
CrossAttention Ran
ran on a synthesized input · constructed an object; no result was computed
rainbowluocs/openomni/openomni/model/speech_generator_ar/speech_generator.py
pointer only (licence: NONE) · get_code("d5a46d215b2b4700")
How it ran

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

FeedForward Ran
ran; our contract draft was wrong, not the code
rainbowluocs/openomni/openomni/model/speech_generator_ar/speech_generator.py
pointer only (licence: NONE) · get_code("5105747c2711b1cb")
How it ran

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

LabelSmoothingLoss Ran
ran on a synthesized input · constructed an object; no result was computed
rainbowluocs/openomni/openomni/model/speech_generator_ar/speech_generator.py
pointer only (licence: NONE) · get_code("b21fcef2adef76c6")
How it ran

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

RLSIAT Ran
ran on a synthesized input · constructed an object; no result was computed
rainbowluocs/openomni/openomni/model/speech_generator_ar/speech_generator.py
pointer only (licence: NONE) · get_code("755890df462a8e30")
How it ran

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

lengths_to_padding_mask Ran
ran; our contract draft was wrong, not the code
rainbowluocs/openomni/openomni/model/speech_generator_ar/speech_generator.py
pointer only (licence: NONE) · get_code("74f6d53ff93d8db0")
How it ran

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

nucleus_sampling Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
rainbowluocs/openomni/openomni/model/speech_generator_ar/speech_generator.py
pointer only (licence: NONE) · get_code("553c8e5537c2683d")
How it ran

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

pad_to_multiple Ran
ran on a synthesized input
tarepan/SpeechMOS/speechmos/utmos22/fairseq_alt.py
code served (permissive licence) · get_code("49d0b5ded7a1be92")
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 typing import List, Optional, Tuple

torch.manual_seed(0)

# Create a small tensor with distinct dimensions for testing
x = torch.randn(2, 4)

ARGS = {
    "x": x,
    "multiple": 8,
    "dim": -1,
    "value": 0.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 — 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
random_sampling Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
rainbowluocs/openomni/openomni/model/speech_generator_ar/speech_generator.py
pointer only (licence: NONE) · get_code("989f0fc8f2162c7c")
How it ran

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

ras_sampling Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
rainbowluocs/openomni/openomni/model/speech_generator_ar/speech_generator.py
pointer only (licence: NONE) · get_code("326c74cdba3f656f")
How it ran

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

Qwen2Encoder Not yet run
unverified (harvested, no recorded run)
rainbowluocs/openomni/openomni/model/speech_generator_ar/speech_generator.py
pointer only (licence: NONE) · get_code("cc7c97831fcaf37b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rainbowluocs/openomni 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. No invocation recorded.

SpeechGeneratorCTC Not yet run
unverified (harvested, no recorded run)
rainbowluocs/openomni/openomni/model/speech_generator_ar/speech_generator.py
pointer only (licence: NONE) · get_code("e5647dbb7cf2ccc9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rainbowluocs/openomni 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. No invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 1 the same month, 1 later) and 9 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
FeedForward
brick of this paper's assembly: helper
47 other papers
40 dated earlier, 2 the same month, 3 later, 2 same year, order not determinable · 4 only as an assembly brick
2204.14198 (2022-04)
Flamingo: a Visual Language Model for Few-Shot Learning
2308.02463 (2023-08)
Towards Generalist Foundation Model for Radiology by Leveraging Web-scale 2D&3D Medical Data
2308.06721 (2023-08)
IP-Adapter: Text Compatible Image Prompt Adapter for Text-to-Image Diffusion Models
and 44 more not named here
lengths_to_padding_mask
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2309.00916 (2023-09)
BLSP: Bootstrapping Language-Speech Pre-training via Behavior Alignment of Continuation Writing

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

Repositories linked to this paper

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

Abstract

Real-time, intelligent, and natural speech interaction is an essential part of the next-generation human-computer interaction. Recent advancements have showcased the potential of building intelligent spoken chatbots based on large language models (LLMs). In this paper, we introduce LLaMA-Omni 2, a series of speech language models (SpeechLMs) ranging from 0.5B to 14B parameters, capable of achieving highquality real-time speech interaction. LLaMA-Omni 2 is built upon the Qwen2.5 series models, integrating a speech encoder and an autoregressive streaming speech decoder. Despite being trained on only 200K multi-turn speech dialogue samples, LLaMA-Omni 2 demonstrates strong performance on several spoken question answering and speech instruction following benchmarks, surpassing previous state-of-theart SpeechLMs like GLM-4-Voice, which was trained on millions of hours of speech data. 1

For agents

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

get_harvested_code_for_paper("2505.02625")
get_code_for_paper("2505.02625")
have("2505.02625")

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

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

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

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

Connect an agent — have() is free.