JSON context differ from CSV context after exporting from Haystack Annotation Tool #5608
Unanswered
tarangMittal
asked this question in
Questions
Replies: 2 comments 1 reply
-
I believe you need to upload the document in multiple parts, so you get multiple contexts. So if you uploaded your document as one file, you get one large context, but if you divided it up into many pieces then you get many smaller contexts. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi @tarangMittal, if you want to use the labels inside Haystack, I'd recommend using the JSON file in SQuaD format, just as we do it in the Evaluation tutorial and fine-tuning of reader tutorial. During training, Haystack takes care of splitting large Documents into smaller chunks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
When I export my annotations to a JSON, the context field, is always the entire document text. However, when exported as a CSV, the context field is shorter covering the answer annotated for the respective question. This is what I would also expect a context would be, rather than the whole document text.
Was wondering why this discrepancy exists?
Thanks!
Tarang
Beta Was this translation helpful? Give feedback.
All reactions