Datasets:
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError
Exception: CastError
Message: Couldn't cast
doc_id: string
line: int64
n_tokens: int64
sha256: string
source: string
split: string
subject: string
text: string
truncated: bool
to
{'doc_id': Value('string'), 'line': Value('int64'), 'source': Value('string'), 'split': Value('string'), 'subject': Value('string'), 'text': Value('string')}
because column names don't match
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1835, in _prepare_split_single
for key, table in generator:
^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 621, in wrapped
for item in generator(*args, **kwargs):
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 361, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2381, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2309, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
doc_id: string
line: int64
n_tokens: int64
sha256: string
source: string
split: string
subject: string
text: string
truncated: bool
to
{'doc_id': Value('string'), 'line': Value('int64'), 'source': Value('string'), 'split': Value('string'), 'subject': Value('string'), 'text': Value('string')}
because column names don't match
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1379, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 956, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1702, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1887, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
doc_id string | line int64 | source string | split string | subject string | text string |
|---|---|---|---|---|---|
freelaw-train00-37 | 37 | train/00.jsonl.zst | train | FreeLaw | The summaries of the Colorado Court of Appeals published opinions
constitute no part of the opinion of the division but have been prepared by
the division for the convenience of the reader. The summaries may not be
cited or relied upon as they are not the official language of the division.
Any discrepanc... |
freelaw-train00-51 | 51 | train/00.jsonl.zst | train | FreeLaw | 477 F.2d 598
Zukowskiv.State Bar Grievance Board, State Bar ofMichigan
73-1072
UNITED STATES COURT OF APPEALS Sixth Circuit
4/18/73
1
E.D.Mich.
AFFIRMED
|
freelaw-train00-94 | 94 | train/00.jsonl.zst | train | FreeLaw | ARMED SERVICES BOARD OF CONTRACT APPEALS
Appeal of --
)
)
_ ) ASBCA NΒ°' 60315
)
)
Under Contract No. HTC71 l-l4-D-R033
APPEARANCE FOR THE APPELLANT: _
President
APPEARANCES FOR THE GOVERNMENT: Jeffrey P. Hildebrant, Esq.
Air Force Deputy Chief Trial Attomey
Lt Col Mark E. Allen, USAF
Jason R. Smith, Esq.
Trial ... |
freelaw-train00-105 | 105 | train/00.jsonl.zst | train | FreeLaw | United States Court of Appeals
For the Eighth Circuit
___________________________
No. 12-3842
___________________________
Barbara Hager
... |
freelaw-train00-122 | 122 | train/00.jsonl.zst | train | FreeLaw |
58 Cal.App.3d 439 (1976)
129 Cal. Rptr. 797
L. GENE ALLARD, Plaintiff, Cross-defendant and Respondent,
v.
CHURCH OF SCIENTOLOGY OF CALIFORNIA, Defendant, Cross-complainant and Appellant.
Docket No. 45562.
Court of Appeals of California, Second District, Division Two.
May 18, 1976.
*443 COUNSEL
Morgan, Wenzel & McNicho... |
freelaw-train00-156 | 156 | train/00.jsonl.zst | train | FreeLaw |
798 So.2d 646 (2001)
Charles SHARRIEF and Millie Sharrief as personal representatives of Quanetta M. Buchannon, deceased
v.
Rebecca GERLACH, M.D.
1991732.
Supreme Court of Alabama.
April 20, 2001.
*648 Sherryl Snodgrass Caffey, Huntsville, for appellants.
John S. Key and Jenny L. McLeroy of Eyster, Key, Tubb, Weaver &... |
freelaw-train00-271 | 271 | train/00.jsonl.zst | train | FreeLaw |
75 Ill. App.2d 144 (1966)
220 N.E.2d 590
Decatur and Macon County Hospital Association, a Corporation Not For Profit of Illinois, for the Use of Niagara Fire Insurance Company, Phoenix Assurance Company, Standard Fire Insurance Company, Rochester American Insurance Company, American Insurance Company, United States Fi... |
freelaw-train00-353 | 353 | train/00.jsonl.zst | train | FreeLaw |
994 A.2d 1040 (2010)
202 N.J. 43
STATE
v.
McCARY.
Supreme Court of New Jersey.
May 19, 2010.
Petition for Certification Denied.
|
freelaw-train00-369 | 369 | train/00.jsonl.zst | train | FreeLaw |
MARVIN T. BURTON, JR. Defendant Below, Appellant,
v.
STATE OF DELAWARE, Plaintiff Below, Appellee.
No. 335, 2008
Supreme Court of Delaware.
Submitted: January 28, 2009.
Decided: March 4, 2009.
Before STEELE, Chief Justice, JACOBS and RIDGELY, Justices.
ORDER
JACK B. JACOBS, Justice.
This 4th day of March 2009, upon c... |
freelaw-train00-382 | 382 | train/00.jsonl.zst | train | FreeLaw |
C-Track E-Filing
The Supreme Court
of Nevada
Appellate Case Management System
C-Track, the browser based CMS for Appellate Courts
... |
freelaw-train00-442 | 442 | train/00.jsonl.zst | train | FreeLaw |
3 Md. App. 266 (1968)
238 A.2d 920
MELVIN HENRY GREEN
v.
WARDEN, MARYLAND HOUSE OF CORRECTION.
No. 102, September Term, 1967.
Court of Special Appeals of Maryland.
Decided February 28, 1968.
Before MURPHY, C.J., and ANDERSON, MORTON, ORTH, and THOMPSON, JJ.
PER CURIAM:
This is an application for leave to appeal from a... |
freelaw-train00-456 | 456 | train/00.jsonl.zst | train | FreeLaw | 818 F.2d 878
Comegysv.V.A.
87-3018
United States Court of Appeals,Federal Circuit.
1/26/87
MSPB, 31 M.S.P.R. 293
VACATED AND REMANDED
|
memlayers-data v1
The frozen training bundle for a study of what memory-layer values store and
how they are organized (PKM / PEER against a kNN-LM store), COMS E6998
Algorithms in LLMs. Code that builds, verifies and reads it:
RoieGilad7/memory-layers-analysis,
tag data-v1.
One bundle, three parts.
- A 150M-token training slice of the Pile β
monology/pile-uncopyrightedat revision3be90335b66f24456a5d6659d9c8d208c0357119, five subjects at exactly 27,000,000 GPT-2 tokens each:Pile-CC,Github,PubMed Central,FreeLaw,Wikipedia (en). - Six held-out subjects, each split into a
labelhalf and atesthalf β the five above plusUSPTO Backgrounds, which never appears in training at all, so it measures a subject the model has never seen. Every half is within 1% of 2,500,000 tokens per subject; the halves share no documents and no document ids with the training split. - Synthetic biographies of 2,500 fictional people β five facts each (birth
date, birth city, university, major, employer) drawn uniformly at random from
fixed value lists, so a model can only answer a question about one by having
stored it. 2,000 people appear in training at one of three exposure tiers
(frequent / normal / rare) and 500 are controls that never appear, which
is the guessing floor. 8,000 distinct biographies, 190,000 copies,
15,142,237 tokens (10.06% of
train.bin), and 100,000 fact-recall prompts.
train.bin is 150,475,264 GPT-2 tokens / 293,897 sequences of 512.
Licensing and provenance
- Upstream license tag:
other. This bundle is a derived slice ofmonology/pile-uncopyrighted, which is EleutherAI's The Pile with theBooks3,BookCorpus2,OpenSubtitles,YTSubtitlesandOWT2subsets removed β per that dataset's card, the subsets "not explicitly allowed to be used in AI training" according to the original Pile paper. It was published "in response to authors demanding that LLMs stop using their works". - Component documents keep their own original licenses. The Pile is a compilation of many sources; nothing here relicenses any of them. Consult the upstream dataset card and the Pile paper before redistributing or using the Pile-derived files for anything beyond research reproduction.
- Pile text here is cleaned, deduplicated, split and tokenized, not
reproduced verbatim as published: see
reports/in the bundle and the data reports in the code repository for exactly what was done. - The biographies are synthetic. Every person, name and fact is generated by
data/bios.pyfrom a seed. They describe nobody. Candidate names are rejected if they occur in the Pile text or if a name word would hand a probe one of its answers. - No part of this bundle is intended for training a model that is deployed; it exists so one experiment can be reproduced token for token.
Files
| path | files | size | what |
|---|---|---|---|
tokens/ |
2 | 304.1 MB | train.bin (uint16 GPT-2 ids) + train.idx.parquet, the segment index |
heldout/ |
16 | 103.7 MB | label.bin, test.bin, their indexes, and the per-subject cleaned documents of each half |
train/ |
5 | 227.2 MB | the cleaned, deduplicated training documents, one .jsonl.gz per subject |
heldout_pool/ |
6 | 59.3 MB | the pool each held-out half was drawn from |
bios/ |
8 | 58.7 MB | people.jsonl, bios_train.jsonl, bios_control.jsonl, facts.jsonl (100,000 prompts), the value lists, the templates, the name check |
samples/ |
5 | 0.6 MB | the hand-check pack: Pile samples, biographies with every prompt, the value lists, and templates_rendered.md β all 120 sentence frames rendered twice |
reports/ |
5 | 0.03 MB | what each build stage did: extraction, dedup, split, pack |
raw/ |
12 | 398.0 MB | the archived source text a rebuild needs. Optional β data.fetch skips it unless you ask |
manifest.json, validation_report.{json,md} |
3 | 0.05 MB | the file list with a sha256 per file, and the A1βA18 results |
59 hashed files, 1,151,617,170 bytes (753,606,445 without raw/).
How to verify your copy
The code repository carries the manifest, so verification does not trust this repo's copy of it:
git clone https://github.com/RoieGilad7/memory-layers-analysis
cd memory-layers-analysis
git checkout data-v1
pip install -r requirements.txt
# download (skips raw/ by default; --with-raw includes it) and check every sha256
python -m data.fetch --version v1
# or check a copy you already have, without downloading
python -m data.fetch --version v1 --verify-only
data.fetch hashes every file against data/manifests/v1.json and exits
non-zero on any mismatch. The bundle's identity is its data_sha256, taken
over the manifest's file list alone:
train.bin sha256 7e3d50f2513d5a1b42c4fbf201ad4811e81e3175f41068277cf708f191bad8ac
bundle data_sha256 bb1bfd407af2c44e86d020df1c075f8764c5bf6979be2835684f6f0453086fd6
Use the data-v1 tag, here and in the code repository, to get this exact
bundle.
Checks
python -m data.validate --config configs/data/v1.yaml runs 18 checks on the
real build, all of which pass for this bundle: byte-identical rebuild, every
file's hash, exact per-subject token counts, subject shares inside every 1M
window, format and index tiling, decode-back-to-source, train/held-out leakage
(ids, exact hashes, 13-gram overlap), the halves' disjointness, no held-out-only
subject in training, subject labels against the source, a bag-of-words subject
classifier, the biography facts and their uniformity, no answer leaks in any
of the 100,000 prompts, exposure counts and control isolation, the probe floor
for a random scorer and an untrained model, the loader's order and resume, a
per-subject unigram baseline, and a 2-hour learnability run.
The learnability run is the one result worth quoting here: after 5,830 steps on
this data, a small PKM model recalls the frequent-tier facts 40.5% of the
time as the top-1 answer against a 0.63% control floor β 64Γ β and recall is
monotone across the exposure tiers. A structurally new wording of the same
question recovers the fact only ~2% of the time, which is the finding the study
is about.
Citation
@misc{memlayers_data_v1,
title = {memlayers-data v1: a controlled slice of the Pile with synthetic biographies},
author = {Roie Gilad},
year = {2026},
note = {COMS E6998 Algorithms in LLMs final project. data\_sha256
bb1bfd407af2c44e86d020df1c075f8764c5bf6979be2835684f6f0453086fd6},
url = {https://huggingface.co/datasets/roieg/memlayers-data}
}
- Downloads last month
- -