-
Notifications
You must be signed in to change notification settings - Fork 2k
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
docs: Add comment about the generation of no-answer samples in FARMReader training #3404
Conversation
Hey @brandenchan could you rebase with main to fix the schema check error? We just merged a PR that should fix this. |
…ck into reader_train_no_answer
Co-authored-by: Sebastian <[email protected]>
Hey @brandenchan just as a heads up the additional lines changed in the json schema shown by github under Files Changed are erroneous (since those changes are already in main). This is an issue on Githubs side that can happen after rebasing a branch. This Stack Overflow post explains the situation and a workaround. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a minor change
haystack/nodes/reader/farm.py
Outdated
@@ -377,6 +377,9 @@ def train( | |||
Checkpoints can be stored via setting `checkpoint_every` to a custom number of steps. | |||
If any checkpoints are stored, a subsequent run of train() will resume training from the latest available checkpoint. | |||
|
|||
Note that when performing training with this function, long documents are split into chunks. | |||
If a chunk does not contain the answer to the question, it is treated as a no-answer sample. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If a chunk does not contain the answer to the question, it is treated as a no-answer sample. | |
If a chunk doesn'tt contain the answer to the question, it is treated as a no-answer sample. |
…der_train_no_answer # Conflicts: # haystack/nodes/reader/farm.py
Related Issues
Proposed Changes:
Checklist