Improve dataset card: Add paper, code, task categories, and detailed description

#1
by nielsr HF Staff - opened
Files changed (1) hide show
  1. README.md +138 -3
README.md CHANGED
@@ -1,3 +1,138 @@
1
- ---
2
- license: cc-by-nc-4.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-4.0
3
+ task_categories:
4
+ - audio-text-to-text
5
+ language:
6
+ - en
7
+ tags:
8
+ - speech
9
+ - multimodal
10
+ - instruction-tuning
11
+ - large-speech-language-model
12
+ - benchmark
13
+ - alignment
14
+ - speech-recognition
15
+ size_categories:
16
+ - 10M<n<100M
17
+ ---
18
+
19
+ # LLaSO: A Foundational Framework for Reproducible Research in Large Language and Speech Model
20
+
21
+ This repository contains the datasets (LLaSO-Align, LLaSO-Instruct, LLaSO-Eval) from the paper [LLaSO: A Foundational Framework for Reproducible Research in Large Language and Speech Model](https://huggingface.co/papers/2508.15418).
22
+
23
+ *Fully open corpus + benchmark + reference model for compositional speech-language understanding.*
24
+
25
+ [Paper](https://huggingface.co/papers/2508.15418) • [Code](https://github.com/EIT-NLP/LLaSO)
26
+
27
+ > **TL;DR.** 25.5M training samples, 20 tasks, 3 modality configurations; 15,044-sample stratified benchmark; 3.8B open reference model - an open-source LSLM stack.
28
+
29
+ ## Abstract
30
+
31
+ The abstract of the paper is the following:
32
+
33
+ The development of Large Speech-Language Models (LSLMs) has been slowed by fragmented architectures and a lack of transparency, hindering the systematic comparison and reproducibility of research. Unlike in the vision-language domain, the LSLM field suffers from the common practice of releasing model weights without their corresponding training data and configurations. To address these critical gaps, we introduce LLaSO, the first fully open, end-to-end framework for large-scale speech-language modeling. LLaSO provides the community with three essential resources: (1) LLaSO-Align, a 12M-instance speech-text alignment corpus; (2) LLaSO-Instruct, a 13.5M-instance multi-task instruction-tuning dataset; and (3) LLaSO-Eval, a reproducible benchmark for standardized evaluation. To validate our framework, we build and release LLaSO-Base, a 3.8B-parameter reference model trained exclusively on our public data. It achieves a normalized score of 0.72, establishing a strong, reproducible baseline that surpasses comparable models. Our analysis reveals that while broader training coverage enhances performance, significant generalization gaps persist on unseen tasks, particularly in pure audio scenarios. By releasing the complete stack of data, benchmarks, and models, LLaSO establishes a foundational open standard to unify research efforts and accelerate community-driven progress in LSLMs. We release the code, dataset, pretrained models, and results in this https URL .
34
+
35
+ ## 🔍 What is LLaSO?
36
+
37
+ **LLaSO is the first fully open, end-to-end stack for large-scale speech–language modeling, unifying data, evaluation, and modeling in one framework.**
38
+
39
+ - **LLaSO-Align (12.0M):** ASR-based alignment for grounding speech in textual semantic space.
40
+ - **LLaSO-Instruct (13.5M / 20 tasks / 3 modality configs):** Multi-task instruction tuning across linguistic, semantic, and paralinguistic objectives.
41
+ - **LLaSO-Eval (15,044):** Stratified benchmark for instruction-following and cross-modality generalization.
42
+ - **LLaSO-Base (3.8B):** Two-stage trained reference model, adapted from LLaVA-style architectures for robust compositional understanding.
43
+
44
+ ## ✨ Key Features
45
+
46
+ - **Fully Open, End-to-End Stack:** Unified release of corpus, benchmark, and model-enabling open-source research and fair comparison in speech-language modeling.
47
+ - **25.5M Samples, 20 Tasks, 3 Modality Configurations:** Supports all major text ↔ audio combinations (text + audio, audio + text, pure audio), covering linguistic, semantic, and paralinguistic tasks.
48
+ - **Stratified Evaluation (15,044):** Cohesive design between training and test sets enables systematic assessment of instruction following, cross-modality generalization, abstention rate, and stability.
49
+ - **Robust Reference Model (3.8B):** Two-stage training (ASR alignment → instruction tuning), easily reproducible and extensible for further research.
50
+ - **Empirical Insights:** Broader task and modality coverage consistently leads to stronger overall performance, but unseen modality/task configurations (especially pure audio) remain challenging; interleaving and parallel decoding strategies can bridge some gaps.
51
+
52
+ ## 📂 Data Preparation
53
+
54
+ The training and alignment scripts expect a **single JSON file** as input.
55
+ However, for flexibility, we release the instruction data in multiple subdirectories (e.g., `audio_text/`, `pure_audio/`, `text_audio/`).
56
+
57
+ - This split format allows users to **explore or train with individual modality subsets**.
58
+ - For full training, these subsets need to be **merged into one JSON**.
59
+
60
+ We provide [`./llaso/scripts/data_merge.py`](https://github.com/EIT-NLP/LLaSO/blob/main/llaso/scripts/data_merge.py) for this purpose. Use it to combine the JSON files under each modality subdirectory into a single training file.
61
+
62
+ > **Dataset Availability**
63
+ > - ✅ **[LLaSO-Eval](https://huggingface.co/datasets/YirongSun/LLaSO-Eval)** is already available on Hugging Face.
64
+ > - ⏳ **LLaSO-Instruct** is currently being uploaded (large dataset, uploading in parallel threads; this may take some time due to network limits).
65
+ > - 📌 **LLaSO-Align** will be uploaded next.
66
+
67
+ ## 🗃️ Data Cards
68
+
69
+ ### **LLaSO Corpus Overview**
70
+ - **Composition:** 25.5M samples (12.0M Align + 13.5M Instruct) covering 20 tasks across all major modality configurations (text instr. with audio input, pure audio, audio instr. with text input).
71
+ - **Overall Task Distribution:** 52% linguistic, 8% semantic, 40% paralinguistic.
72
+ - **Real vs. Synthetic:** 71% real-world audio, 29% synthetic speech.
73
+ - **Design Motivation:**
74
+ - *Linguistic (ASR)* remains foundational for speech–text alignment and generalization.
75
+ - *Semantic* tasks are intentionally underweighted, as their challenge lies more in language modeling than in speech understanding.
76
+ - *Paralinguistic* tasks (speaker, accent, emotion, pronunciation scoring) are prioritized to address their underrepresentation in open datasets.
77
+ - **Flexible Modality Roles:** Both audio and text serve as input/instruction, enabling rich compositional interaction patterns.
78
+
79
+ ---
80
+
81
+ ### **LLaSO-Align (12.0M)**
82
+ - **Goal:** ASR-based alignment; encoder & LLM frozen, projector trained for speech-to-text semantic grounding.
83
+ - **Domains:** Conversational, narrative, audiobook, accented speech.
84
+ - **Templates:** 18 instruction types for ASR; unified JSON format for integration.
85
+
86
+ ### **LLaSO-Instruct (13.5M / 20 tasks)**
87
+ - **Purpose:** Multi-task instruction tuning for robust, compositional understanding.
88
+ - **Task Types:** Spans linguistic, semantic, and paralinguistic objectives with a mix of closed- and open-ended formats.
89
+ - **Modality Configurations:**
90
+ - Text instruction + Audio input: **X**<sub>query</sub><sup>(t,a)</sup>
91
+ - Audio instruction + Text input: **X**<sub>query</sub><sup>(a,t)</sup>
92
+ - Pure audio: **X**<sub>query</sub><sup>(a)</sup>
93
+ - **Label Granularity:** Multi-granularity (e.g., coarse→fine age, accent).
94
+
95
+ ### **LLaSO-Eval (15,044)**
96
+ - **Benchmarking:** Strictly stratified; consistent with training data.
97
+ - **Coverage:** All tasks and modality combinations.
98
+ - **Metrics:** Supports abstention rate analysis and cross-modality generalization evaluation.
99
+
100
+ ## 🚀 Quick Start (Sample Usage)
101
+
102
+ For detailed installation instructions and how to prepare model weights, please refer to the [LLaSO GitHub repository](https://github.com/EIT-NLP/LLaSO).
103
+
104
+ ### Training
105
+ Train LLaSO-Base from scratch with:
106
+ ```bash
107
+ # Stage 1: Speech-Text Alignment (ASR)
108
+ bash llaso/scripts/align.sh
109
+
110
+ # Stage 2: Multi-task Instruction Tuning
111
+ bash llaso/scripts/finetune.sh
112
+ ```
113
+
114
+ ### Inference
115
+ Run model inference on your own data or evaluation set:
116
+ ```python
117
+ python llaso/evaluation/model_eval.py \
118
+ --audio_tower ./whisper-large-v3 \
119
+ --model_path ./LLaSO-Base-3.8B-Instruct \
120
+ --data_path ./LLaSO-Eval/your_eval.json \
121
+ --output_dir ./your_output_dir
122
+ ```
123
+
124
+ ## 📑 How to Cite
125
+
126
+ If you use LLaSO in your research or applications, please cite our paper:
127
+
128
+ ```bibtex
129
+ @misc{sun2025llaso,
130
+ title={LLaSO: A Foundational Framework for Reproducible Research in Large Language and Speech Model},
131
+ author={Yirong Sun and Yizhong Geng and Peidong Wei and Yanjun Chen and Jinghan Yang and Rongfei Chen and Wei Zhang and Xiaoyu Shen},
132
+ year={2025},
133
+ eprint={2508.15418},
134
+ archivePrefix={arXiv},
135
+ primaryClass={cs.CL},
136
+ url={https://arxiv.org/abs/2508.15418},
137
+ }
138
+ ```