Dataset Viewer
Auto-converted to Parquet Duplicate
meta
dict
text
stringlengths
295
76.6k
stats
dict
simhash
float64
414,589,602B
18,444,898,383B
{ "case_jurisdiction": "scotus.tar.gz", "case_ID": "110921.json", "date_created": "2010-04-28T17:12:49Z" }
461 U.S. 238 (1983) OLIM ET AL. v. WAKINEKONA No. 81-1581. Supreme Court of United States. Argued January 19, 1983. Decided April 26, 1983. CERTIORARI TO THE UNITED STATES COURT OF APPEALS FOR THE NINTH CIRCUIT *239 Michael A. Lilly, First Deputy Attorney General of Hawaii, argued the cause for petitioners. With him on...
{ "alnum_ratio": 0.7900759906, "avg_line_length": 384.4869565217, "char_rep_ratio": 0.0617323048, "flagged_words_ratio": 0, "lang": "en", "lang_score": 0.9249781966, "max_line_length": 1969, "num_words": 8321, "perplexity": 770.9, "special_char_ratio": 0.2459064592, "stopwords_ratio": 0.0144213436...
6,620,415,726,392,079,000
{ "case_jurisdiction": "scotus.tar.gz", "case_ID": "129238.json", "date_created": "2010-04-28T17:26:41Z" }
538 U.S. 1002 BURTONv.DORMIRE, SUPERINTENDENT, JEFFERSON CITY CORRECTIONAL CENTER, ET AL. No. 02-9170. Supreme Court of United States. April 28, 2003. 1 CERTIORARI TO THE UNITED STATES COURT OF APPEALS FOR THE EIGHTH CIRCUIT. 2 C. A. 8th Cir. Certiorari denied. Reported below: 295 F. 3d 839.
{ "alnum_ratio": 0.7627118644, "avg_line_length": 24.5833333333, "char_rep_ratio": 0.0559440559, "flagged_words_ratio": 0, "lang": "en", "lang_score": 0.6915385127, "max_line_length": 75, "num_words": 100, "perplexity": 1109, "special_char_ratio": 0.3355932203, "stopwords_ratio": 0.12, "text_len...
6,487,184,173,194,973,000
{ "case_jurisdiction": "scotus.tar.gz", "case_ID": "86060.json", "date_created": "2010-04-28T16:00:04Z" }
37 U.S. 507 12 Pet. 507 9 L.Ed. 1174 PIERRE CHOTEAU, SENIOR, PLAINTIFF IN ERRORv.MARGUERITE, A WOMAN OF COLOUR, DEFENDANT. January Term, 1838 ERROR to the supreme court of the third judicial district of the state of Missouri. In 1825, Marguerite, a woman of colour, by her next friend, Pierre Barrebeau, filed a declara...
{ "alnum_ratio": 0.7921953555, "avg_line_length": 245.7058823529, "char_rep_ratio": 0.0686638706, "flagged_words_ratio": 0, "lang": "en", "lang_score": 0.9854322076, "max_line_length": 1269, "num_words": 1625, "perplexity": 242.4, "special_char_ratio": 0.2198946612, "stopwords_ratio": 0.0067692308...
12,534,099,220,463,485,000
{ "case_jurisdiction": "scotus.tar.gz", "case_ID": "112374.json", "date_created": "2010-04-28T17:13:40Z" }
494 U.S. 26 (1990) DOLE, SECRETARY OF LABOR, ET AL. v. UNITED STEELWORKERS OF AMERICA ET AL. No. 88-1434. Supreme Court of United States. Argued November 6, 1989 Decided February 21, 1990 CERTIORARI TO THE UNITED STATES COURT OF APPEALS FOR THE THIRD CIRCUIT *28 Jeffrey P. Minear argued the cause for petitioners. With ...
{ "alnum_ratio": 0.8014091235, "avg_line_length": 465.2222222222, "char_rep_ratio": 0.0895425617, "flagged_words_ratio": 0, "lang": "en", "lang_score": 0.9281427264, "max_line_length": 1557, "num_words": 10576, "perplexity": 606.5, "special_char_ratio": 0.2237196765, "stopwords_ratio": 0.012197428...
17,837,575,295,226,257,000
{ "case_jurisdiction": "scotus.tar.gz", "case_ID": "111929.json", "date_created": "2010-04-28T17:13:27Z" }
482 U.S. 755 (1987) HEWITT ET AL. v. HELMS No. 85-1630. Supreme Court of United States. Argued March 4, 1987 Decided June 19, 1987 CERTIORARI TO THE UNITED STATES COURT OF APPEALS FOR THE THIRD CIRCUIT *756 Thomas G. Saylor, Jr., First Deputy Attorney General of Pennsylvania, argued the cause for petitioners. With him ...
{ "alnum_ratio": 0.8069623807, "avg_line_length": 556.5625, "char_rep_ratio": 0.0806185876, "flagged_words_ratio": 0, "lang": "en", "lang_score": 0.9622826576, "max_line_length": 3594, "num_words": 5082, "perplexity": 442.1, "special_char_ratio": 0.2119782894, "stopwords_ratio": 0.012987013, "te...
16,958,283,150,779,466,000
{ "case_jurisdiction": "scotus.tar.gz", "case_ID": "87025.json", "date_created": "2010-04-28T16:00:57Z" }
59 U.S. 418 (1855) 18 How. 418 RICHARD C. STOCKTON, APPELLANT, v. JAMES C. FORD. Supreme Court of United States. It was submitted, on printed arguments, by Mr. Stockton and Mr. Johnson, for appellant, and by Mr. Duncan, for appellee. *419 Mr. Justice NELSON delivered the opinion of the court. This is an appeal from a ...
{ "alnum_ratio": 0.7966165414, "avg_line_length": 266, "char_rep_ratio": 0.0907550367, "flagged_words_ratio": 0, "lang": "en", "lang_score": 0.980188489, "max_line_length": 916, "num_words": 1002, "perplexity": 328.8, "special_char_ratio": 0.2092105263, "stopwords_ratio": 0.0099800399, "text_len...
2,629,102,776,899,861,500
{ "case_jurisdiction": "scotus.tar.gz", "case_ID": "110291.json", "date_created": "2010-04-28T17:12:31Z" }
447 U.S. 54 (1980) NEW YORK GASLIGHT CLUB, INC., ET AL. v. CAREY. No. 79-192. Supreme Court of United States. Argued February 19, 1980. Decided June 9, 1980. CERTIORARI TO THE UNITED STATES COURT OF APPEALS FOR THE SECOND CIRCUIT. *56 Albert N. Proujansky argued the cause for petitioners. With him on the brief was Marv...
{ "alnum_ratio": 0.7884286691, "avg_line_length": 398.9090909091, "char_rep_ratio": 0.0751674028, "flagged_words_ratio": 0, "lang": "en", "lang_score": 0.9328141809, "max_line_length": 1662, "num_words": 6772, "perplexity": 678.7, "special_char_ratio": 0.2435335005, "stopwords_ratio": 0.0132900177...
17,570,701,968,662,254,000
{ "case_jurisdiction": "scotus.tar.gz", "case_ID": "89431.json", "date_created": "2010-04-28T16:02:05Z" }
94 U.S. 22 (1876) HUMES v. SCRUGGS. Supreme Court of United States. *23 Mr. Thomas C. Fullerton and Mr. F.P. Ward for the appellant. No counsel appeared for the appellee. MR. JUSTICE HUNT delivered the opinion of the court. It is not entirely certain what the court is called upon to review in the present case. By the ...
{ "alnum_ratio": 0.7868325974, "avg_line_length": 389.21875, "char_rep_ratio": 0.0451550699, "flagged_words_ratio": 0, "lang": "en", "lang_score": 0.9884749055, "max_line_length": 1800, "num_words": 2516, "perplexity": 353.3, "special_char_ratio": 0.2305098354, "stopwords_ratio": 0.0095389507, "...
986,749,671,145,574,400
{ "case_jurisdiction": "scotus.tar.gz", "case_ID": "86259.json", "date_created": "2010-04-28T16:00:20Z" }
42 U.S. 289 1 How. 289 11 L.Ed. 135 JAMES TODD, APPELLANT,v.OTIS DANIELL, DEFENDANT. January Term, 1843 1 AN agreement in writing between the counsel, as well for the appellant as for the appellee, that the decree of the Circuit Court in this case shall be affirmed with legal damages and costs for the said Daniell, ha...
{ "alnum_ratio": 0.7882513661, "avg_line_length": 91.5, "char_rep_ratio": 0.0843706777, "flagged_words_ratio": 0, "lang": "en", "lang_score": 0.9632248878, "max_line_length": 625, "num_words": 167, "perplexity": 706.4, "special_char_ratio": 0.2431693989, "stopwords_ratio": 0.0299401198, "text_le...
8,438,788,822,172,533,000
{ "case_jurisdiction": "scotus.tar.gz", "case_ID": "105581.json", "date_created": "2010-04-28T16:55:36Z" }
"355 U.S. 80 (1957)\nROSENBLOOM\nv.\nUNITED STATES.\nNo. 451.\nSupreme Court of United States.\nDeci(...TRUNCATED)
{"alnum_ratio":0.7782426778,"avg_line_length":123.9259259259,"char_rep_ratio":0.0713215463,"flagged_(...TRUNCATED)
13,898,387,730,282,877,000
End of preview. Expand in Data Studio

The Pile -- FreeLaw (refined by Data-Juicer)

A refined version of FreeLaw dataset in The Pile by Data-Juicer. Removing some "bad" samples from the original dataset to make it higher-quality.

This dataset is usually used to pretrain a Large Language Model.

Notice: Here is a small subset for previewing. The whole dataset is available here (About 45GB).

Dataset Information

  • Number of samples: 2,942,612 (Keep ~82.61% from the original dataset)

Refining Recipe

# global parameters
project_name: 'Data-Juicer-recipes-freelaw'
dataset_path: '/path/to/your/dataset'  # path to your dataset directory or file
export_path: '/path/to/your/dataset.jsonl'

np: 50  # number of subprocess to process your dataset
open_tracer: true

# process schedule
# a list of several process operators with their arguments
process:
  - clean_email_mapper:
  - clean_links_mapper:
  - fix_unicode_mapper:
  - punctuation_normalization_mapper:
  - whitespace_normalization_mapper:

  - alphanumeric_filter:
      tokenization: false
      min_ratio: 0.3  # <3sigma (0.436)
  - average_line_length_filter:  # for code
      max_len: 697  # 3sigma TBD
  - character_repetition_filter:
      rep_len: 10
      max_ratio: 0.4  # >3sigma (0.350)
  - flagged_words_filter:
      lang: en
      tokenization: true
      max_ratio: 0.0053  # 3sigma
  - language_id_score_filter:
      min_score: 0.5 # < 3sigma (0.583)
  - maximum_line_length_filter:  # for code
      max_len: 4229  # 3sigma
  - perplexity_filter:
      lang: en
      max_ppl: 5322  # 3sigma
  - special_characters_filter:
      max_ratio: 0.7  # > 3sigma (0.626)
  - stopwords_filter:  # not use
      lang: en
      tokenization: true
      min_ratio: 0.1 # > 3sigma (0.07)
  - text_length_filter:
      max_len: 84026 # 3sigma
  - words_num_filter:
      lang: en
      tokenization: true
      min_num: 100
      max_num: 15208  # 3sigma
  - word_repetition_filter:
      lang: en
      tokenization: true
      rep_len: 10
      max_ratio: 0.155  # 3sigma

  - document_simhash_deduplicator:
      tokenization: space
      window_size: 6
      lowercase: true
      ignore_pattern: '\p{P}'
      num_blocks: 6
      hamming_distance: 4
Downloads last month
8

Models trained or fine-tuned on datajuicer/the-pile-freelaw-refined-by-data-juicer