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

Input file format #21

Closed
tingliu2018 opened this issue Aug 11, 2023 · 2 comments
Closed

Input file format #21

tingliu2018 opened this issue Aug 11, 2023 · 2 comments

Comments

@tingliu2018
Copy link

Hi, I'm pretty new to this. Can you give an example what a input file in jsonl format looks like?

@AmenRa
Copy link
Owner

AmenRa commented Aug 11, 2023

Hi, a JSONl file is a file where each lines is a JSON.

A collection.jsonl file looks like this:

{"id": "doc_1", "text": "Generals gathered in their masses"}
{"id": "doc_2", "text": "Just like witches at black masses"}
{"id": "doc_3", "text": "Evil minds that plot destruction"}
{"id": "doc_4", "text": "Sorcerer of death's construction"}

You can find more info on JSONl formatting here, if needed.

Let me know if you need further help. :)

@tingliu2018
Copy link
Author

It's very helpful. Many Thanks!

@AmenRa AmenRa closed this as completed Aug 11, 2023
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

2 participants