Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Changing QA_input format in tutorial #735

Merged
merged 1 commit into from
Mar 5, 2021

Conversation

julian-risch
Copy link
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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeError: string indices must be integers
1 participant