kleinay commited on
Commit
72f8242
β€’
1 Parent(s): 7f559e4

update examples

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -7,11 +7,11 @@ pipeline = QASemEndToEndPipeline()
7
 
8
  description = f"""This is a demo of the QASem Parsing pipeline. It wraps models of three QA-based semantic tasks, composing a comprehensive semi-structured representation of sentence meaning - covering verbal and nominal semantic role labeling together with discourse relations."""
9
  title="QASem Parsing Demo"
10
- examples = [["the construction of the officer 's building finished right after the beginning of the destruction of the previous construction .", 0.7],
11
- ["The doctor asked about the progress in Luke 's treatment .", 0.7],
 
12
  ["The Veterinary student was interested in Luke 's treatment of sea animals .", 0.7],
13
- ["Both were shot in the confrontation with police and have been recovering in hospital since the attack .", 0.7],
14
- ["Some reviewers agreed that the criticism raised by the AC is mostly justified .", 0.5]]
15
 
16
 
17
  input_sent_box_label = "Insert sentence here, or select from the examples below"
 
7
 
8
  description = f"""This is a demo of the QASem Parsing pipeline. It wraps models of three QA-based semantic tasks, composing a comprehensive semi-structured representation of sentence meaning - covering verbal and nominal semantic role labeling together with discourse relations."""
9
  title="QASem Parsing Demo"
10
+ examples = [["Both were shot in the confrontation with police and have been recovering in hospital since the attack .", 0.75],
11
+ ["the construction of the officer 's building was delayed by the lockdown and is expected to continue for at least 10 more months.", 0.7],
12
+ ["The doctor asked about the progress in Luke 's treatment .", 0.75],
13
  ["The Veterinary student was interested in Luke 's treatment of sea animals .", 0.7],
14
+ ["Some reviewers agreed that the criticism raised by the AC is mostly justified .", 0.6]]
 
15
 
16
 
17
  input_sent_box_label = "Insert sentence here, or select from the examples below"