Dataset Viewer
Auto-converted to Parquet Duplicate
url
stringlengths
6
1.85k
text
stringlengths
2.02k
173k
token_count
int32
2.73k
36k
score
float64
4
5.13
language_score
float64
0.05
1
https://rosettacode.org/wiki/Count_the_Coins
# Count the coins (Redirected from Count the Coins) Count the coins You are encouraged to solve this task according to the task description, using any language you may know. There are four types of common coins in   US   currency: 1.   quarters   (25 cents) 2.   dimes   (10 cents) 3.   nickels   (5 cents),   and 4. ...
35,989
4
0.797854
https://sciencebyjason.com/algebra-essentials.html
"# Basics of Algebra\n\nThese are my notes and worked problems on Basics of Algebra.\n\nAnkr Store o(...TRUNCATED)
35,982
4.15625
0.971188
https://ncertmcq.com/tag/rd-sharma-class-10-maths-solutions/page/3/
"## RD Sharma Class 10 Solutions Chapter 7 Triangles Ex 7.5\n\nThese Solutions are part of RD Sharm(...TRUNCATED)
35,973
4.625
0.803158
http://www.docstoc.com/docs/85491110/Notebook_AlgAB
"; Notebook_AlgAB\nDocuments\nUser Generated\nResources\nLearning Center\nYour Federal Quarterly Tax(...TRUNCATED)
35,956
4.71875
0.700094
http://boingboing.net/2009/11/12/do-you-understand-my.html
"# Do you understand my first-grade child's homework?\n\nMy six-year-old told me she doesn't underst(...TRUNCATED)
35,953
4.09375
0.949685
https://issuu.com/sia612/docs/algebra_and_trigonometry_10th_editi
"Chapter 2 Graphs\n\n5 − ( −3) = 8 = 8\n\n3.\n\n32 + 4 2 = 25 = 5\n\n4. 112 + 60 2 = 121 + 3600 (...TRUNCATED)
35,952
4.25
0.624887
https://jinovak.com/author/jnovak0306/page/4/
"## Math 31AH: Lecture 26\n\nFor a long time, we have been skirting around the issue of whether or (...TRUNCATED)
35,947
4.15625
0.891867
https://www.scribd.com/document/47316913/Glencoe-Word-Problems
"# NAME ________________________________________ DATE ______________ PERIOD _____\n\nPractice: Word (...TRUNCATED)
35,945
4
0.882903
http://www.onlinegrecoaching.com/2018/04/
"## Coordinate Geometry Parabola\n\nIt is unlikely that you will get a problem on Coordinate geometr(...TRUNCATED)
35,935
4.625
0.868978
https://eurekamathanswerkeys.com/tag/eureka-math-grade-2-answer-key/
"Engage NY Eureka Math 2nd Grade Module 2 End of Module Assessment Answer Key\n\nEureka Math Grade 2(...TRUNCATED)
35,925
4.8125
0.879142
End of preview. Expand in Data Studio

An extraction of https://huggingface.co/datasets/HuggingFaceTB/finemath/viewer/finemath-4plus where:

  • only sequences of at most 36,000 tokens are kept;
  • only samples that score 4 or more are kept - but calculated differently than in FineMath 4plus. They first round to the nearest integer (so 3.5001 = 4), whereas here I filter directly on the float score where only 4.0+ is actually considered 4plus. This leads to a sharp drop off in number of samples but that is fine for what I need.

Code:

from datasets import load_dataset

ds = load_dataset("HuggingFaceTB/finemath", "finemath-4plus", split="train").select_columns(["url", "text", "token_count", "score", "language_score"]).sort("token_count", reverse=True)

ds = ds.filter(
    lambda num_tokens, score: num_tokens <= 36000 and score >= 4.0,
    num_proc=36,
    input_columns=["token_count", "score"],
)

ds.push_to_hub("BramVanroy/finemath-4plus-seqlen36k")
Downloads last month
63