Add title, description, article
Browse files
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
title: Ranking
|
| 3 |
emoji: 💯
|
| 4 |
colorFrom: green
|
| 5 |
colorTo: purple
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Turn Your Side-by-Side Comparisons into Ranking!
|
| 3 |
emoji: 💯
|
| 4 |
colorFrom: green
|
| 5 |
colorTo: purple
|
app.py
CHANGED
|
@@ -117,6 +117,25 @@ iface = gr.Interface(
|
|
| 117 |
outputs=gr.Dataframe(
|
| 118 |
headers=['item', 'score', 'rank']
|
| 119 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 120 |
allow_flagging='never'
|
| 121 |
)
|
| 122 |
|
|
|
|
| 117 |
outputs=gr.Dataframe(
|
| 118 |
headers=['item', 'score', 'rank']
|
| 119 |
),
|
| 120 |
+
title='Turn Your Side-by-Side Comparisons into Ranking!',
|
| 121 |
+
description='''
|
| 122 |
+
This easy-to-use tool transforms pairwise comparisons (aka side-by-side) to a meaningful ranking of items.
|
| 123 |
+
|
| 124 |
+
As an input, it expects a comma-separated (CSV) file containing the following columns:
|
| 125 |
+
|
| 126 |
+
- `left`: the first compared item
|
| 127 |
+
- `right`: the second compared item
|
| 128 |
+
- `winner`: the label indicating the winning item
|
| 129 |
+
|
| 130 |
+
Possible values for `winner` are `left`, `right`, or `tie`.
|
| 131 |
+
The provided example might be a good starting point of the format.
|
| 132 |
+
|
| 133 |
+
As the output, this tool provides a table with items, their estimated scores, and ranks.
|
| 134 |
+
''',
|
| 135 |
+
article='''
|
| 136 |
+
This tool implements the tie-aware ranking aggregation algorithm as described in
|
| 137 |
+
[Efficient Computation of Rankings from Pairwise Comparisons](https://www.jmlr.org/papers/v24/22-1086.html).
|
| 138 |
+
''',
|
| 139 |
allow_flagging='never'
|
| 140 |
)
|
| 141 |
|