mirror of
https://gitee.com/mymagicpower/AIAS.git
synced 2024-11-25 16:05:33 +08:00
.. | ||
models | ||
src | ||
bert_qa_sdk.iml | ||
bert-qa-sdk.iml | ||
pom.xml | ||
README_CN.md | ||
README_EN.md |
Download the model and place it in the models directory
Bert Q&A SDK
Based on the BERT QA model, input a question and a text paragraph containing the answer (maximum length of 384), the model can find the best answer from the text paragraph.
Running Example - BertQaInferenceExample
- Question:
When did Radio International start broadcasting?
- Paragraph containing the answer (maximum length of 384):
Radio International was a general entertainment Channel.
Which operated between December 1983 and April 2001.
After a successful run, the command line should display the following information:
...
[INFO ] - Paragraph: Radio International was a general entertainment Channel.
Which operated between December 1983 and April 2001.
[INFO ] - Question: When did Radio International start broadcasting?
[INFO ] - Answer: [december, 1983]