kleinay commited on
Commit
6021c85
1 Parent(s): d6b5b47

add verbal example

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -9,7 +9,9 @@ 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
  input_sent_box_label = "Insert sentence here. Mark the predicate by adding the token '<p>' before it."
14
  verb_form_inp_placeholder = "e.g. 'decide' for the nominalization 'decision', 'teach' for 'teacher', etc."
15
  links = """<p style='text-align: center'>
 
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
+
15
  input_sent_box_label = "Insert sentence here. Mark the predicate by adding the token '<p>' before it."
16
  verb_form_inp_placeholder = "e.g. 'decide' for the nominalization 'decision', 'teach' for 'teacher', etc."
17
  links = """<p style='text-align: center'>