<h3 dir="auto">System Info</h3>
<p dir="auto">Hi. I am working code that only can run on Transformers==3.0.2, however there are other method which only can run on higher version. So I want to ask if there are higher version that is compatible with transformers==3.0.2 or with little revision? Many thanks!</p>
<h3 dir="auto">Who can help?</h3>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/NielsRogge/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/NielsRogge">@NielsRogge</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sgugger/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sgugger">@sgugger</a></p>
<h3 dir="auto">Information</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> The official example scripts</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> My own modified scripts</li>
</ul>
<p dir="auto">Code of facebook research <a href="https://github.com/facebookresearch/FiD">FiD</a></p>
<h3 dir="auto">Tasks</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> An officially supported task in the <code class="notranslate">examples</code> folder (such as GLUE/SQuAD, ...)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> My own task or dataset (give details below)</li>
</ul>
<p dir="auto">NaturalQuestions | TriviaQA</p>
<h3 dir="auto">Reproduction</h3>
<p dir="auto">Run the <a href="https://github.com/facebookresearch/FiD">FiD code</a> on a different version of transformers</p>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">Attribute error</p>
<h3 dir="auto">Description</h3>
<p dir="auto">There are duplicate sentences in <code class="notranslate">document_question_answering.mdx</code> from line number 40 to 45.</p>
<h3 dir="auto">Document / Language</h3>
<p dir="auto"><code class="notranslate">document_question_answering.mdx</code> / <a href="https://huggingface.co/docs/transformers/tasks/document_question_answering" rel="nofollow">en</a></p>
<h3 dir="auto">Suggestion</h3>
<p dir="auto"><a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/46880056/240509754-899f6de9-3730-44f7-95eb-32f3f7d34be7.png"><img src="https://user-images.githubusercontent.com/46880056/240509754-899f6de9-3730-44f7-95eb-32f3f7d34be7.png" alt="Capture 20230524_1541@2x" style="max-width: 100%;"></a><br>
should be either:</p>
<table role="table">
<tbody><tr>
<td> candidate 1 </td> <td> candidate 2 </td>
</tr>
<tr>
<td>
<p dir="auto">(...), to predict the positions of the start and end tokens of the answer. (...)</p>
</td>
<td>
<p dir="auto">(...), in order to predict which token is at the start of the answer and which token is at the end of the answer. (...)</p>
</td>
</tr>
</tbody></table>
<p dir="auto">Please let me know which of the two candidates you would prefer.</p>