Skip to content

Conversation

@ahmedlone127
Copy link
Contributor

@ahmedlone127 ahmedlone127 commented Jul 1, 2022

Fixed docs for transformer question answering annotators

Description

All questions Answer Transformers use


documentAssembler = MultiDocumentAssembler() \
    .setInputCols(["question", "context"]) \
    .setOutputCols(["document_question", "document_context"])

But the docs are wrong and say

documentAssembler = MultiDocumentAssembler() \
    .setInputCols(["question", "context"]) \
    .setOutputCol(["document_question", "document_context"])

@maziyarpanahi maziyarpanahi changed the base branch from master to release/401-release-candidate July 1, 2022 07:52
@maziyarpanahi maziyarpanahi changed the base branch from release/401-release-candidate to master July 1, 2022 07:52
@maziyarpanahi maziyarpanahi merged commit 4da9746 into master Jul 1, 2022
@KshitizGIT KshitizGIT deleted the Docs-fix branch March 2, 2023 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants