Conversation
|
I would like to have a feedback to see if this is in good direction. @sgugger |
|
cc @vumichien and @bhadreshpsavani to keep them updated |
|
The documentation is not available anymore as the PR was closed or merged. |
src/transformers/utils/doc.py
Outdated
| >>> target_start_index, target_end_index = torch.tensor([{qa_target_start_index}]), torch.tensor( | ||
| ... [{qa_target_end_index}] | ||
| ... ) |
There was a problem hiding this comment.
You should be on two separate lines since there is formatting.
|
I should do the same for |
|
I also changed Ran locally for Ready for @sgugger to give a final look :-) |
|
Could you pull the latest change into the master/main branch of your local clone, rebase your working branch for this sprint, and check if the QA doc example can now pass the doctest, please? Thanks a lot! |
What does this PR do?
Try to address the issue about
PT_QUESTION_ANSWERING_SAMPLEdiscussed in the following 2 comments:#16523 (comment)
#16523 (comment)