Skip to content

Dataset · Third-Space

Code Bagel code corpus (~800M tokens)

Third-Space/code_bagel

An unofficial copy of Code Bagel: about 800 million tokens of unique code across more than 100 languages.

What's inside

This is an unofficial re-upload of Code Bagel; the original is credited in the card. It contains about 800 million tokens of unique programming-related data, up to 10,000 tokens per line, and support for over 100 programming languages. The metadata language is English.

What you can do with it

  • Training code LLMs
  • LoRA for code auto-completion
  • Evaluating models on multilingual code
Languages
English
Size
1M–10M rows
Downloads this month
288
Likes
101

How to load it

from datasets import load_dataset

ds = load_dataset("Third-Space/code_bagel")