Nicolas Patry
0ebda5382b
Moving table-question-answering
pipeline to new testing. ( #13280 )
2021-08-26 09:09:57 -04:00
Vyom Pathak
fd3b12e8c3
Fixed: Better names for nlp variables in pipelines' tests and docs. ( #11752 )
...
* Fixed: Better names for nlp variables in pipelines' tests and docs.
* Fixed: Better variable names
2021-05-18 09:47:28 -04:00
Nicolas Patry
285c6262a8
Adding a test to prevent late failure in the Table question answering ( #9808 )
...
pipeline.
- If table is empty then the line that contain `answer[0]` will fail.
- This PR add a check to prevent `answer[0]`.
- Also adds an early check for presence of `table` and `query` to
prevent late failure and give better error message.
- Adds a few tests to make sure these errors are correctly raised.
2021-01-27 04:10:53 -05:00
Nicolas Patry
23e5a36ee6
Changing model default for TableQuestionAnsweringPipeline. ( #9729 )
...
* Changing model default for TableQuestionAnsweringPipeline.
- Discussion: https://discuss.huggingface.co/t/table-question-answering-is-not-an-available-task-under-pipeline/3284/6
* Updating slow tests that were out of sync.
2021-01-21 14:31:51 +01:00
Lysandre Debut
1c1a2ffbff
TableQuestionAnsweringPipeline ( #9145 )
...
* AutoModelForTableQuestionAnswering
* TableQuestionAnsweringPipeline
* Apply suggestions from Patrick's code review
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
* Sylvain and Patrick comments
* Better PyTorch/TF error message
* Add integration tests
* Argument Handler naming
Co-authored-by: patrickvonplaten <patrick.v.platen@gmail.com>
* Fix docs to appease the documentation gods
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
2020-12-16 12:31:50 -05:00