Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Changing QA_input format in tutorial#735

Merged
julian-risch merged 1 commit intomasterfrom
qa_input_format_tutorial
Mar 5, 2021
Merged

Changing QA_input format in tutorial#735
julian-risch merged 1 commit intomasterfrom
qa_input_format_tutorial

Conversation

@julian-risch
Copy link
Copy Markdown
Member

The tutorial on QA used squad format instead of internal FARM format, e.g.:

QA_input = [{"qas": ["Why is model conversion important?"], "context": "Model conversion lets people easily switch between frameworks."}]

instead of

QA_input = [ { "questions": ["Why is model conversion important?"], "text": "Model conversion lets people easily switch between frameworks." }]

Now, the format in the tutorial is changed to the internal FARM format.
closes #734

@julian-risch julian-risch merged commit 731839b into master Mar 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TypeError: string indices must be integers

1 participant