slprl/SpokenSwag
SpokenSwag We present here SpokenSwag as described in the paper "Slamming: Training a Speech Language Model on One GPU in a Day". This dataset is based on allenai/swag and synthetised with 4 speakers from hexgrad/Kokoro-82M. We show that perfoming DPO over the dataset can really improve performance of Speech Language Models. We encourage you to also see the following resources, for further information: Project Page: https://pages.cs.huji.ac.il/adiyoss-lab/slamming/ Paper:… See the full description on the dataset page: https://huggingface.co/datasets/slprl/SpokenSwag.
SpokenSwag
We present here SpokenSwag as described in the paper "_Slamming_: Training a Speech Language Model on One GPU in a Day". This dataset is based on allenai/swag and synthetised with 4 speakers from hexgrad/Kokoro-82M. We show that perfoming DPO over the dataset can really improve performance of Speech Language Models. We encourage you to also see the following resources, for further information:
Project Page: https://pages.cs.huji.ac.il/adiyoss-lab/slamming/ \ Paper: https://arxiv.org/abs/2502.15814 \ Code: https://github.com/slp-rl/slamkit
If you use our dataset, please cite the paper as follows:
@misc{maimon2025slamming,
title={Slamming: Training a Speech Language Model on One GPU in a Day},
author={Gallil Maimon and Avishai Elmakies and Yossi Adi},
year={2025},
eprint={2502.15814},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2502.15814},
}
Dataset Summary
A dataset used for post-training spoken language models with DPO, which was showed to notably improve semantic abilities. Specifically, the dataset is based on text only dataset allenai/swag, and taking the correct answer as the chosen contiuation and a random wrong answer as negative one. These were then synthesised using TTS by hexgrad/Kokoro-82M. We use 4 speakers - 2 male and 2 female. We generate both train and validation splits from the original dataset.
Download
Using 🤗 Datasets
from datasets import load_dataset
# entire dataset
spoken_swag = load_dataset('slprl/SpokenSwag')We refer you to the SlamKit codebase to see how you can train a SpeechLM with DPO over the dataset.
Data Fields
The data has several fields:
speaker: One of the Kokoro voices - https://huggingface.co/hexgrad/Kokoro-82M/blob/main/VOICES.mdprompt_text: The text of the prompt recording.chosen_text: The text of the chosen recording.rejected_text: The text of the rejected recording.prompt: The prompt audio samplearray: array of audio samplessample_rate: audio sampling ratepath: path to the audio file saved locationchosen: The chosen audio samplearray: array of audio samplessample_rate: audio sampling ratepath: path to the audio file saved locationrejected: The rejected audio samplearray: array of audio samplessample_rate: audio sampling ratepath: path to the audio file saved locationauto_bleu2: The Auto-Bleu score with bi-grams, used to detect and filter repetetive samples
