Giter Club home page Giter Club logo

20bn-dataset-downloader's Introduction

20BN dataset download tools

To help download the 20BN datasets, you can use these scripts.

You'll have to login in to the 20BN dataset page that you wish to download, and then open up the dev tools console to run some javascript to collect the download links (which are specific to you after logging in, and only valid for a limited amount of time)

Step 1. Obtaining download urls

Go to one of the 20BN dataset pages and log in so that the download links appear:

Open up the dev tools console in your brower (Ctrl+Shift+K in firefox) and paste in the following code:

let download_re = /20bn-(something-something-v(?:1|2)|jester-v1)-(\d\d)(?:\.md5)?/
let download_links = Array.from(document.getElementsByTagName('a'))
  .map((a) => a.href)
  .filter((href) => download_re.test(href) && !/md5/.test(href))
bash_urls="download_links=(\n"
download_links.map((href) => {
  bash_urls += `  "${href}"\n`
})
bash_urls += ")\n"
console.log(bash_urls)

It'll print out a bash string that you should then copy and paste into a file, e.g. something-something-urls.sh

Step 2. Download the dataset

Run

$ ./download.sh something-something-urls.sh

(replace the something-something-urls.sh filename with whatever file you created in step 1)

Wait until all the files have been downloaded and extract with:

$ cat 20bn-*-v?-?? | tar zx

20bn-dataset-downloader's People

Contributors

willprice avatar

Stargazers

danielepaliotta avatar

Watchers

James Cloos avatar Michael Wray avatar

20bn-dataset-downloader's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.