-
Notifications
You must be signed in to change notification settings - Fork 248
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
Question Answering improvements - NQ3 #419
Merged
Merged
Changes from 11 commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
b8e553d
unify squad and nq baskets
brandenchan 39bebc2
attempt at simplifying ids
brandenchan eb6834a
clean id handling
brandenchan 24b5747
Better handling of different input dicts
brandenchan 08b4d33
Merge branch 'master' into nq_2
brandenchan c41ed34
apply_tokenization merged
brandenchan 2508f8c
clean apply_tokenization
brandenchan 04f9d7b
Merge branch 'master' into nq_2
brandenchan e7b4e41
Rename samples to passages
brandenchan c13a890
Merge branch 'master' into nq_2
brandenchan 56a7127
Clean id handling
brandenchan c33ce4d
rename is_impossible to no_answer
brandenchan 55e0ad2
Rename preds_p to preds
brandenchan 1308712
Add QAInference type hints
brandenchan 61c5d7b
Adjust examples to new changes
brandenchan 335b087
Fix type hint error
brandenchan abb4130
Check that label character index matches label str
brandenchan cb893b7
Minor improvements
brandenchan 1b9e641
Enforce single label doc cls in preprocessing
brandenchan 27e12ee
Refactor span_to_string, clean predictions objects
brandenchan 61bc193
Remove unneccessary iteration
brandenchan acf8358
WIP clean and document predictions.py
brandenchan 102763f
Add documentation of Pred objects
brandenchan 18fb8bb
Merge branch 'master' into more_improvements
brandenchan e3d4bb6
Fix list index bug
brandenchan e619e2e
Merge branch 'more_improvements' of https://github.com/deepset-ai/FAR…
brandenchan aa3333c
Fix index in test sample
brandenchan 1af739f
Refactor data check
brandenchan 0d09698
Fix docstring
brandenchan 0725e37
Simplify QA generate_labels()
brandenchan 35c67f0
Rename internal methods
brandenchan 28a66e7
update docstring
brandenchan 651f8af
add input_features test
brandenchan 2867a75
Add docstring
brandenchan 605bf5b
Merge branch 'master' into more_improvements
brandenchan 3446ff8
Fix import and error handling
brandenchan bb51fc9
Merge branch 'more_improvements' of https://github.com/deepset-ai/FAR…
brandenchan 71738d2
Fix answer check
brandenchan 41ec428
Fix sample check
brandenchan 74c6e9c
move sample check to _sample_to_features
brandenchan 171db3e
Pass QA inferencer args properly
brandenchan b4825f0
Rename span to qa_candidate
brandenchan fce94c7
Arg passing error causing Eval bug
brandenchan 07b84e6
Fix bug in answer check
brandenchan 473bf63
remove import
brandenchan ea76400
Remove reference to SampleError
brandenchan 7d16016
Fix onnx sample
brandenchan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
a single scalar value needs init?