Datasets:

Modalities:
Audio
Text
Formats:
parquet
Languages:
English
ArXiv:
Libraries:
Datasets
Dask
License:
Dataset Viewer
The dataset viewer is taking too long to fetch the data. Try to refresh this page.
Server-side error
Error code:   ClientConnectionError

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.md
  • prompt_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 sample
    • array: array of audio samples
    • sample_rate: audio sampling rate
    • path: path to the audio file saved location
  • chosen: The chosen audio sample
    • array: array of audio samples
    • sample_rate: audio sampling rate
    • path: path to the audio file saved location
  • rejected: The rejected audio sample
    • array: array of audio samples
    • sample_rate: audio sampling rate
    • path: path to the audio file saved location
  • auto_bleu2: The Auto-Bleu score with bi-grams, used to detect and filter repetetive samples
Downloads last month
378

Models trained or fine-tuned on slprl/SpokenSwag

Collection including slprl/SpokenSwag