Updated QA example
@@ -33,7 +33,7 @@ Extractive question answering from a given question and context. DistilBERT mode
let question = String::from("Where does Amy live ?");
let context = String::from("Amy lives in Amsterdam");
- let answers = qa_model.predict(QaInput { question, context }, 1, 32);
+ let answers = qa_model.predict(vec!(QaInput { question, context }), 1, 32);
```
Output:
