Skip to content

Commit e87fd0e

Browse files
authored
Removed/updated outdated links to example system outputs (#537)
* removed/updated outdated links to example system outputs * add example output files to chunking
1 parent 9a2c9ae commit e87fd0e

File tree

2 files changed

+25
-11
lines changed

2 files changed

+25
-11
lines changed

backend/src/impl/tasks.py

+24-10
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,10 @@ class TaskCategory:
7171
name=TaskType.named_entity_recognition,
7272
description="""
7373
Recognize named entities from a given text.
74-
See one example of the uploaded file:
75-
https://github.com/neulab/ExplainaBoard/blob/main/data/system_outputs/conll2003/conll2003.elmo
74+
See one example of the system output:
75+
https://github.com/neulab/ExplainaBoard/blob/main/data/system_outputs/conll2003/conll2003-elmo-output.conll
76+
See one example of the custom dataset file:
77+
https://github.com/neulab/ExplainaBoard/blob/main/data/system_outputs/conll2003/conll2003-dataset.conll
7678
""",
7779
),
7880
Task(
@@ -85,6 +87,10 @@ class TaskCategory:
8587
name=TaskType.chunking,
8688
description="""
8789
Dividing text into syntactically related non-overlapping groups of words.
90+
See one example of the system output:
91+
https://github.com/neulab/ExplainaBoard/blob/main/data/system_outputs/chunking/test-conll00-predictions.tsv
92+
See one example of the custom dataset file:
93+
https://github.com/neulab/ExplainaBoard/blob/main/data/system_outputs/chunking/dataset-test-conll00.tsv
8894
""",
8995
),
9096
],
@@ -96,15 +102,13 @@ class TaskCategory:
96102
Task(
97103
name=TaskType.cloze_mutiple_choice,
98104
description="""
99-
fill in a blank in a text based on given options:
100-
https://github.com/neulab/ExplainaBoard/blob/main/docs/cloze.md
105+
Fill in a blank in a text based on given options.
101106
""",
102107
),
103108
Task(
104109
name=TaskType.cloze_generative,
105110
description="""
106-
fill in a blank in a text based on given hint:
107-
https://github.com/neulab/ExplainaBoard/blob/main/docs/cloze.md
111+
Fill in a blank in a text based on given hint.
108112
""",
109113
),
110114
],
@@ -118,16 +122,24 @@ class TaskCategory:
118122
description="""
119123
A task of extracting an answer from a text given a question.
120124
See more details about the format of upload files:
121-
https://github.com/neulab/ExplainaBoard/blob/main/docs/task_extractive_qa_squad.md
125+
https://github.com/neulab/ExplainaBoard/blob/main/docs/task_extractive_qa.md
122126
""",
123127
),
124128
Task(
125129
name=TaskType.qa_multiple_choice,
126-
description="Answer a question from multiple options",
130+
description="""
131+
Answer a question from multiple options
132+
See more details about the format of upload files:
133+
https://github.com/neulab/ExplainaBoard/blob/main/docs/task_qa_multiple_choice.md
134+
""",
127135
),
128136
Task(
129137
name=TaskType.qa_open_domain,
130-
description="Answer a question in an open domain",
138+
description="""
139+
Answer a question in an open domain
140+
See more details about the format of upload files:
141+
https://github.com/neulab/ExplainaBoard/blob/main/docs/task_qa_open_domain.md
142+
""",
131143
),
132144
],
133145
),
@@ -139,8 +151,10 @@ class TaskCategory:
139151
name=TaskType.aspect_based_sentiment_classification,
140152
description="""
141153
Predict the sentiment of a text based on a specific aspect.
142-
See more details about the format of upload files:
154+
See one example of the system output:
143155
https://github.com/neulab/ExplainaBoard/blob/main/data/system_outputs/absa/absa-example-output.txt
156+
See one example of the custom dataset file:
157+
https://github.com/neulab/ExplainaBoard/blob/main/data/system_outputs/absa/absa-dataset.tsv
144158
""",
145159
),
146160
],

frontend/src/components/SystemSubmitDrawer/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ export function SystemSubmitDrawer(props: Props) {
590590
overlayInnerStyle={{ color: "black" }}
591591
>
592592
<Button type="link" size="small" style={{ padding: 0 }}>
593-
Need help generating system output?
593+
Submission guide for {selectedTask.name}
594594
</Button>
595595
</Tooltip>
596596
)

0 commit comments

Comments
 (0)