Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse Reddit Corpus in zip format #67

Open
wmodes opened this issue Nov 8, 2020 · 0 comments
Open

Parse Reddit Corpus in zip format #67

wmodes opened this issue Nov 8, 2020 · 0 comments

Comments

@wmodes
Copy link

wmodes commented Nov 8, 2020

There are a few folks seeding the entirety of Reddit, but the Reddit Corpus project provides archives of individual subreddits. This gives you the very useful ability to train in a particular domain. Here is a small example: dadjokes2.corpus.zip

The only problem is that they are not in the same format as your reddit_parse.py expects. They are zipped (.zip) in a bundle of five JSON files consisting of:

  • users.json
  • conversations.json
  • corpus.json
  • index.json
  • utterances.jsonl

What is the shortest path for converting this to useable training data?

Wes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant