Skip to content

Commit

Permalink
dataset papers with code
Browse files Browse the repository at this point in the history
  • Loading branch information
Korakot Chaovavanich authored and Korakot Chaovavanich committed Nov 5, 2020
1 parent 1f80477 commit d5bc386
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions kora/datasets/PPWC.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
"""
Papers with Code dataset
For tracking the lastest AI research papers
"""

import os

urls = """
https://paperswithcode.com/media/about/papers-with-abstracts.json.gz
https://paperswithcode.com/media/about/links-between-papers-and-code.json.gz
https://paperswithcode.com/media/about/evaluation-tables.json.gz
https://paperswithcode.com/media/about/methods.json.gz
""".split()

def download():
""" downloand and unzip into PPWC """
os.mkdir('PPWC')
for url in urls:
fname = url.split('/')[-1]
jname = fname[:-3]
os.system(f"wget {url}")
os.system(f"gunzip {fname}")
os.system(f"mv {jname} PPWC")
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

setuptools.setup(
name="kora",
version="0.9.2",
version="0.9.3",
author="Korakot Chaovavanich",
author_email="[email protected]",
description="Convenient tools for Colab",
Expand Down

0 comments on commit d5bc386

Please sign in to comment.