Spaces:
Runtime error
Runtime error
add example
Browse files
app.py
CHANGED
|
@@ -9,6 +9,7 @@ pipelines = {model: QASRL_Pipeline(model) for model in models}
|
|
| 9 |
description = f"""This is a demo of QASRL/QANom models, which fine-tuned a Seq2Seq pretrained model (T5) on the QASRL/QANom tasks."""
|
| 10 |
title="QANom Parser Demo"
|
| 11 |
examples = [[models[0], "The doctor was interested in Luke 's <p> treatment .", True, "treat"],
|
|
|
|
| 12 |
[models[0], "The Veterinary student was interested in Luke 's <p> treatment of sea animals .", True, "treat"],
|
| 13 |
[models[1], "The Veterinary student was <p> interested in Luke 's treatment of sea animals .", False, "interest"]]
|
| 14 |
|
|
|
|
| 9 |
description = f"""This is a demo of QASRL/QANom models, which fine-tuned a Seq2Seq pretrained model (T5) on the QASRL/QANom tasks."""
|
| 10 |
title="QANom Parser Demo"
|
| 11 |
examples = [[models[0], "The doctor was interested in Luke 's <p> treatment .", True, "treat"],
|
| 12 |
+
[models[1], "The doctor was interested to know about Luke 's bio-feedback <p> treatment given by the nurse yesterday.", True, "treat"],
|
| 13 |
[models[0], "The Veterinary student was interested in Luke 's <p> treatment of sea animals .", True, "treat"],
|
| 14 |
[models[1], "The Veterinary student was <p> interested in Luke 's treatment of sea animals .", False, "interest"]]
|
| 15 |
|