Aller au contenu
ModelPrésentéExterne
Télécharger

Slam

This is a Speech Language Model trained for generating speech continuations over discrete Hubert tokens.

TypeText modelModèle de baseQwen/Qwen2.5-0.5BVersionmodelBClasse

Source du modèle

Type
Text model
Taille du fichier
1,33 GB
Modèle de base
Qwen/Qwen2.5-0.5B
Version
vmodel
Mis à jour
22 sept. 2026
Téléchargements
101
Source
Hugging Face

Description de la source

Model Card for SLAM

This is a Speech Language Model trained for generating speech continuations over discrete Hubert tokens.

Model Details

Model Description

This is a Speech Language Model, introduced in "Slamming: Training a Speech Language Model on One GPU in a Day", focusing on efficient training. It was fine-tuned from Qwen/Qwen2.5-0.5B over a vocabulary of 500 speech tokens extracted from the 11-th layer of mhubert-25hz. For a stronger version of the model trained with slightly more compute - 2*A100 for 2 days, see slam_scaled.

The model was trained by next-token prediction over a subset of LibriSpeech, Libri-Light and a synthetic data sTinyStories. It was then trained with DPO over SpokenSwag.

Model Sources

Uses

This is a base SpeechLM and as such can be used to generate continuations for speech segments, or as base for further tuning. See the SlamKit codebase for more details on usage, and checkout the demo page for some generation examples

Out-of-Scope Use

This model was trained on curated speech datasets which contain mainly audio-books and stories, as such the outputs should not be treated as factual in any way.

How to Get Started with the Model

We refer users to the official repository for full usage explanations - github.

Training Details

We highly encourage users to read the full paper, for full training details, a brief overview is provided below.

Training Data

This model was trained on a subset of LibriSpeech train, Libri-Light and the synthetic dataset sTinyStories for the pre-training phase. It was also trained with DPO on the synthetic dataset SpokenSwag.

Training Procedure

This model was trained by next token prediction over several datasets, and then trained with DPO over SpokenSwag. Please refer to the paper or code for the full training recipes.

Preprocessing

Speech tokens are extracted from the audio using Hubert-25hz, and quantised using the official kmeans released with the model in textlesslib. Units are de-duplicated. We encourage you to explore the official repository for full details - github.

Evaluation

The paper provides full results, we do give here some results and also refer to the demo page to listen to some samples.

ModelCompute (GPU days)ParameterssBLIMP ↑sStoryCloze ↑tStoryCloze ↑GenPPL ↓Auto-BLEU ↓
TWIST-1.3B160xV1001B57.0052.470.6131.83.20
TWIST-7B?7B59.0055.374.193.73.06
TWIST-13B?13B59.2055.476.4--
Scaled Optimal?823M61.356.778.0--
Predicted Optimal1xA500078M56.8554.0970.49--
TWIST-350M (Original recipe)1xA5000305M51.52 ± .1953.65 ± .5768.80 ± .47259.2 ± 6.73.26 ± .46
Slam (-DPO) (ours)1xA5000358M56.45 ± .1755.59 ± .3078.01 ± .2788.3 ± 1.03.47 ± .17
Slam (ours)1xA5000358M58.86 ± .2058.04 ± .5182.04 ± .2162.8 ± 4.13.88 ± .11

Compute Infrastructure

This model was trained as part of "Slamming: Training a Speech Language Model on One GPU in a Day", focusing on efficient training.

Hardware

This model was trained using only a single Nvidia A5000 GPU, 16 CPU cores and 24 GB of RAM for 24 hours.

Software

The model was trained using the SlamKit codebase which builds upon 🤗transformers extending it to support easy and efficient training of Speech Language Models.

Citation

BibTeX:

@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}, 
}

Sources

1 source
Hugging FacePrincipalVersion 60f10024470ff16df52f3c6f52aba025386b837c
huggingface.co/slprl/slam/tree/60f10024470ff16df52f3c6f52aba025386b837c

Vérifié 5 sept.

Artefacts du modèle

1 artefact

model.safetensors

safetensors · 1,33 GB · SHA-256 aa3b7f16ab39…2c06 · Hugging Face

Télécharger

Extraits de sources

2 extraits

--- library_name: transformers license: mit datasets: - openslr/librispeech_asr - slprl/SpokenSwag - slprl/sTinyStories base_model: - Qwen/Qwen2.5-0.5B pipeline_tag: audio-to-audio --- # Model Card for SLAM This is a Speech Language Model trained for generating speech continuations over discrete [Hubert tokens](https://huggingface.co/slprl/mhubert-base-25hz). ## Model Details ### Model Description This is a Speech Language Model, introduced in "[_Slamming_: Training a Speech Language Model on One GPU in a Day](https://arxiv.org/abs/2502.15814)", focusing on efficient training. It was fine-tuned from [Qwen/Qwen2.5-0.5B](https://huggingface.co/Qwen/Qwen2.5-0.5B) over a vocabulary of 500 speech tokens extracted from the 11-th layer of [mhubert-25hz](https://huggingface.co/slprl/mhubert-base-25hz). For a stronger version of the model trained with slightly more compute - 2*A100 for 2 days, see [slam_scaled](https://huggingface.co/slprl/slam_scaled). The model was trained by next-token prediction over a subset of LibriSpeech, Libri-Light and a synthetic data [sTinyStories](https://huggingface.co/datasets/slprl/sTinyStories). It was then trained with DPO over [SpokenSwag](https://huggingface.co/datasets/slprl/SpokenSwag). - **Developed by:** [SLP-RL](https://huggingface.co/slprl) - **Model type:** SpeechLM - **License:** MIT - **Finetuned from model:** [Qwen/Qwen2.5-0.5B](https://huggingface.co/Qwen/Qwen2.5-0.5B) ### Model Sources - **Repository:** [https://github.com/slp-rl/slamkit](https://github.com/slp-rl/slamkit) - **Paper:** [https://arxiv.org/abs/2502.15814](https://arxiv.org/abs/2502.15814) - **Demo:** [https://pages.cs.huji.ac.il/adiyoss-lab/slamming/](https://pages.cs.huji.ac.il/adiyoss-lab/slamming/) ## Uses This is a base SpeechLM and as such can be used to generate continuations for speech segments, or as base for further tuning. See the _SlamKit_ [codebase](https://github.com/slp-rl/slamkit) for more details on usage, and checkout the [demo page](https://pages.cs.huji.ac.il/adiyoss-lab/slamming/) for some generation examples ### Out-of-Scope Use This model was trained on curated speech datasets which contain mainly audio-books and stories, as such the outputs should not be treated as factual in any way. ## How to Get Started with the Model We refer users to the official repository for full usage explanations - [github](https://github.com...

Source context: 101 downloads · 11 likes · Pipeline audio-to-audio · Library transformers · Repo slprl/slam