Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
1
1.02M
meta
stringlengths
97
6.54k
red_pajama_subset
stringclasses
6 values
\section{Introduction}\label{sec:intro} In this paper we deal with the problem of hedging general contingent claims under illiquidity. Stochastic liquidity cost is incurred by hedging with multiple assets with possibly different levels of liquidity. Our main motivation comes from energy markets. Consider for exampl...
{'timestamp': '2018-07-02T02:08:19', 'yymm': '1705', 'arxiv_id': '1705.06918', 'language': 'en', 'url': 'https://arxiv.org/abs/1705.06918'}
arxiv
Advocates working to keep needs of poor foremost in U.S. budget debate House Budget Committee Chairman Rep. Paul Ryan (R-Wis.), unveils the Republicans’ FY 2014 budget resolution in Washington March 12. Advocates for the poor, including Catholic Charities USA, the U.S. Conference of Catholic Bishops and Network, the Ca...
{"pred_label": "__label__wiki", "pred_label_prob": 0.7902000546455383, "wiki_prob": 0.7902000546455383, "source": "cc/2019-30/en_head_0003.json.gz/line326784"}
common_crawl
Report Highlights New Delays in Iraq Security Handover WASHINGTON – In another sign of U.S. struggles in Iraq, the target date for putting Iraqi authorities in charge of security in all 18 provinces has slipped yet again, to at least July. The delay, noted in a Pentagon report to Congress on progress and problems in Ir...
{"pred_label": "__label__wiki", "pred_label_prob": 0.9118120670318604, "wiki_prob": 0.9118120670318604, "source": "cc/2019-30/en_head_0002.json.gz/line148723"}
common_crawl
Owl and the Sparrow (Annam Films, 2007) Jam Session (Columbia, 1944) Boy! What a Girl (Herald Productions, 1947) Frontline: "The Confessions" (PBS, 2010) One Step Beyond: "Make Me Not a Witch" (Worldvisio... LennonNYC (Two Lefts Don't Make a Right Production... When Andrew Came Home (Hearst Entertainment/Lifeti... A Ch...
{"pred_label": "__label__wiki", "pred_label_prob": 0.8269799947738647, "wiki_prob": 0.8269799947738647, "source": "cc/2019-30/en_head_0001.json.gz/line1493160"}
common_crawl
Obama to Israel — Time Is Running Out Mar 2, 2014 2:00 PM ET By Jeffrey Goldberg When Israeli Prime Minister Benjamin Netanyahu visits the White House tomorrow, President Barack Obama will tell him that his country could face a bleak future — one of international isolation and demographic disaster — if he refuses to en...
{"pred_label": "__label__wiki", "pred_label_prob": 0.6527812480926514, "wiki_prob": 0.6527812480926514, "source": "cc/2019-30/en_head_0003.json.gz/line1125574"}
common_crawl
\section{Introduction} Shortly after Bohr and Mottelson's development of the collective model~\cite{BM1}, Morinaga showed that the spectroscopy of a number of nuclei in the $p$-shell could be interpreted in terms of rotational bands~\cite{Morinaga56}. Perhaps one of the most obvious examples is that of $^{8}$Be,...
{'timestamp': '2020-12-10T02:02:38', 'yymm': '2012', 'arxiv_id': '2012.04722', 'language': 'en', 'url': 'https://arxiv.org/abs/2012.04722'}
arxiv
"Board of Distinction\nSchool Funding System\nThe Federal Way School Board Members are your official(...TRUNCATED)
"{\"pred_label\": \"__label__wiki\", \"pred_label_prob\": 0.908460795879364, \"wiki_prob\": 0.908460(...TRUNCATED)
common_crawl
"Design Book List: October 2015\nOctober 6, 2015 by Kathryn Heine Books\nThere are plenty of new des(...TRUNCATED)
"{\"pred_label\": \"__label__wiki\", \"pred_label_prob\": 0.6900384426116943, \"wiki_prob\": 0.69003(...TRUNCATED)
common_crawl
"Paul Weinberg\nPaul Weinberg has worked in journalism most of his life, primarily as a freelance wr(...TRUNCATED)
"{\"pred_label\": \"__label__cc\", \"pred_label_prob\": 0.6614641547203064, \"wiki_prob\": 0.3385358(...TRUNCATED)
common_crawl
"How to Feel Good About Your Body (It helps to like other women!)\nFound on Psychology Today\nWritte(...TRUNCATED)
"{\"pred_label\": \"__label__cc\", \"pred_label_prob\": 0.507014811038971, \"wiki_prob\": 0.49298518(...TRUNCATED)
common_crawl
End of preview. Expand in Data Studio

RedPajama-1B-Weighted

A canonical 1 Billion token weighted subset of the RedPajama-Data-1T dataset.

Dataset Description

This is a strict, downsampled version of the RedPajama-10B-Weighted dataset. It maintains the exact domain distributions of the full 1T dataset, resized to a lightweight 1 Billion token footprint.

This dataset is ideal for:

  • Rapid Prototyping: Train small models or debug pipelines in minutes rather than days.
  • Reference Baselines: Use a standard, well-defined subset for comparative benchmarks.
  • Educational Use: Explore the properties of large-scale pretraining data on consumer hardware.

Dataset Details

Motivation

While the 10B subset is manageable, sometimes you need something even faster. A 1 Billion token dataset is the "Goldilocks" size for many initial experiments—large enough to train a statistically significant small language model (e.g., TinyLlama size) but small enough to download and process on a laptop.

We created this by strictly downsampling the 10B dataset to ensure that the distribution remains consistent with the larger parent datasets.

Dataset Creation Process

1. Source Selection

We utilized the RedPajama-10B-Weighted dataset as the source. This parent dataset was already constructed via weighted interleaving of the original RedPajama corpus.

2. Global Shuffling

The 10B dataset was globally shuffled (Seed: 43) to ensure that selecting the first $N$ tokens results in a random, representative sample, rather than a temporal slice.

3. Truncation

We selected the first 1 Billion tokens from the shuffled stream.

4. Verification

We verified that the final subset retains the correct proportional mix of CommonCrawl, C4, GitHub, etc., matching the target distribution.

Composition

Subset Weight Approx. Tokens
CommonCrawl 74.16% ~741.6 M
C4 14.78% ~147.8 M
GitHub 4.98% ~49.8 M
ArXiv 2.36% ~23.6 M
Wikipedia 2.03% ~20.3 M
StackExchange 1.69% ~16.9 M

Usage

from datasets import load_dataset

# Load the 1B weighted subset
ds = load_dataset("krisbailey/RedPajama-1B-Weighted", split="train")

print(ds)

Citation

If you use this dataset, please cite the original RedPajama work:

@software{together2023redpajama,
  author = {Together Computer},
  title = {RedPajama: An Open Source Recipe to Reproduce LLaMA training dataset},
  month = April,
  year = 2023,
  url = {https://github.com/togethercomputer/RedPajama-Data}
}
Downloads last month
139

Collection including krisbailey/RedPajama-1B-Weighted