def get_reddit():
filename = os.path.join(_download.LOCAL_CACHE_DIR, "<STR_LIT>")<EOL>if not os.path.isfile(filename):<EOL><INDENT>log.info("<STR_LIT>", filename)<EOL>_download.download_file(URL, filename)<EOL><DEDENT>else:<EOL><INDENT>log.info("<STR_LIT>", filename)<EOL><DEDENT>with h5py.File(filename, '<STR_LIT:r>') as f:<EOL><INDENT>m = f.get('<STR_LIT>')<EOL>return csr_matrix((m.get('<STR_LIT:data>'), m.get('<STR_LIT>'), m.get('<STR_LIT>')))<EOL><DEDENT>
Returns the reddit dataset, downloading locally if necessary.

    This dataset was released here:
    https://www.reddit.com/r/redditdev/comments/dtg4j/want_to_help_reddit_build_a_recommender_a_public/
    and contains 23M up/down votes from 44K users on 3.4M links.

    Returns a CSR matrix of (item, user, rating