{"id":32600,"date":"2025-02-13T18:27:12","date_gmt":"2025-02-13T17:27:12","guid":{"rendered":"https:\/\/www.graviton.at\/letterswaplibrary\/hello-im-new-to-datasets-and-would-like-to-see-whether-its-possible-to-filter-a-dataset-from-huggingface-before-downloading-it\/"},"modified":"2025-02-13T18:27:12","modified_gmt":"2025-02-13T17:27:12","slug":"hello-im-new-to-datasets-and-would-like-to-see-whether-its-possible-to-filter-a-dataset-from-huggingface-before-downloading-it","status":"publish","type":"post","link":"https:\/\/www.graviton.at\/letterswaplibrary\/hello-im-new-to-datasets-and-would-like-to-see-whether-its-possible-to-filter-a-dataset-from-huggingface-before-downloading-it\/","title":{"rendered":"Hello, I&#8217;m New To Datasets And Would Like To See Whether It&#8217;s Possible To Filter A Dataset From Huggingface Before Downloading It."},"content":{"rendered":"<p><!-- SC_OFF --><\/p>\n<div class=\"md\">\n<p>Hello everyone. I&#8217;m currently trying to find a more or less complete corpus of data that is completely public domain or under a free software \/ culture license. Something like a bundle of Wikipedia, Stack Overflow, the Gutenberg Project, and maybe some GitHub repositories for good measure. And I found <a href=\"https:\/\/huggingface.co\/datasets\/togethercomputer\/RedPajama-Data-1T\">RedPajama<\/a> is painfully close to that, but not quite:<\/p>\n<p>  It includes the Common Crawl and C4 datasets, which are decidedly not completely open-source. It includes the Arxiv dataset, which might work for my purposes, but it includes both open-source and proprietary-licensed papers, so it would need filtering before I proceed. And it had to drop the Gutenberg dataset parser because of issues with it accidentally fetching copyrighted content (!!)  <\/p>\n<p>So, what I would like to do with RedPajama is:<\/p>\n<p>  Fetching Wikipedia, like usual, but also add other Wiki-projects like Wikinews and Wiktionary, and languages other than English, for completion purposes (as we&#8217;re ditching C4) Fetching more of the Stack Overflow data to compensate for the lack of C4 Fixing the Gutenberg parser so it can actually download the public-domain books from there. Alternately, download the Wikibooks dataset instead Filtering the Arxiv dataset to remove anything not under a public-domain, CC-By, or CC-By-SA license, preferably <em>before downloading each individual paper<\/em>  <\/p>\n<p>Is it possible to do that as a Huggingface script, or do I need to execute some manual pruning after downloading the entire RedPajama dataset instead?<\/p>\n<\/div>\n<p><!-- SC_ON -->   submitted by   <a href=\"https:\/\/www.reddit.com\/user\/csolisr\"> \/u\/csolisr <\/a> <br \/> <span><a href=\"https:\/\/www.reddit.com\/r\/datasets\/comments\/1ion6xl\/hello_im_new_to_datasets_and_would_like_to_see\/\">[link]<\/a><\/span>   <span><a href=\"https:\/\/www.reddit.com\/r\/datasets\/comments\/1ion6xl\/hello_im_new_to_datasets_and_would_like_to_see\/\">[comments]<\/a><\/span><\/p><div class='watch-action'><div class='watch-position align-right'><div class='action-like'><a class='lbg-style1 like-32600 jlk' href='javascript:void(0)' data-task='like' data-post_id='32600' data-nonce='65e0e39b87' rel='nofollow'><img class='wti-pixel' src='https:\/\/www.graviton.at\/letterswaplibrary\/wp-content\/plugins\/wti-like-post\/images\/pixel.gif' title='Like' \/><span class='lc-32600 lc'>0<\/span><\/a><\/div><\/div> <div class='status-32600 status align-right'><\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>Hello everyone. I&#8217;m currently trying to find a more or less complete corpus of data that is&#8230;<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[85],"tags":[],"class_list":["post-32600","post","type-post","status-publish","format-standard","hentry","category-datatards","wpcat-85-id"],"_links":{"self":[{"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/posts\/32600","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/comments?post=32600"}],"version-history":[{"count":0,"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/posts\/32600\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/media?parent=32600"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/categories?post=32600"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/tags?post=32600"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}