# The Stack v3 releases a 5T-token code dataset for training open models

> Original title: Introducing: The Stack v3

- Source: Leandro von Werra
- Published: 2026-07-23T12:26:54.000Z
- Bad Influence: https://badinfluence.news/items/ebrqo3eo9543000vxwjn9ydci
- Original: https://x.com/lvwerra/status/2080268415697047852

## Summary

Leandro von Werra introduces The Stack v3, a dataset of 5T tokens ready for training and 120TB of raw data. He says the dataset is meant to support open code models for cyber defence, and links the download on Hugging Face.

## Why it matters

The release is a large training dataset for code models, a resource that matters to teams building open code models for security work.

## Post

Introducing: The Stack v3

One thing that became very clear over the last few days: we need great open code models for cyber defence. This is the dataset they will be built on!

And it's a behemoth: 5T tokens ready to train and 120TB raw data.

Download: https://huggingface.co/datasets/HuggingFaceCode/stack-v3-train
