add arxiv link
Browse files- README.md +13 -13
- data/data_processed.new.validation.jsonl +5 -5
- relentless.py +11 -2
README.md
CHANGED
@@ -20,11 +20,11 @@ THe test set is private at the moment.
|
|
20 |
|
21 |
```python
|
22 |
{
|
23 |
-
"
|
24 |
-
"
|
25 |
-
"
|
26 |
-
"
|
27 |
-
"
|
28 |
}
|
29 |
```
|
30 |
|
@@ -39,13 +39,13 @@ THe test set is private at the moment.
|
|
39 |
### Dataset Summary
|
40 |
|
41 |
|
42 |
-
| relation_type
|
43 |
-
|
44 |
-
|
|
45 |
-
|
|
46 |
-
|
|
47 |
-
|
|
48 |
-
|
|
49 |
|
50 |
## Dataset Structure
|
51 |
### Data Instances
|
@@ -55,7 +55,7 @@ THe test set is private at the moment.
|
|
55 |
"pairs": [["Le Corbusier", "purism art"], ["Sean Connery", "Finding Forrester"], ...],
|
56 |
"scores_all": [[4.0, 5.0, 3.0, 4.0, 5.0, 3.0, 5.0], [4.0, 5.0, 2, 5.0, 5.0, 4.0, 2], ...],
|
57 |
"scores_mean": [4.142857142857143, 3.857142857142857, 4.857142857142857, ...],
|
58 |
-
"relation_type": "
|
59 |
"ranks": [8.5, 11, 5, 14, 15, 5, 20, 13, 1.5, 18, 10, 1.5, 17, ...],
|
60 |
"prototypical_examples": [["Extinction Rebellion", "Greta Thunberg"], ["Israel", "Palestine"],...]
|
61 |
}
|
|
|
20 |
|
21 |
```python
|
22 |
{
|
23 |
+
"friend/ally of": "entities that are friends or allies",
|
24 |
+
"competitor/rival of": "entities that are competitors or rivals",
|
25 |
+
"known for": "examples of what entities are known for",
|
26 |
+
"influenced by": "what has influenced different entities",
|
27 |
+
"similar to": "examples of entities that are similar"
|
28 |
}
|
29 |
```
|
30 |
|
|
|
39 |
### Dataset Summary
|
40 |
|
41 |
|
42 |
+
| relation_type | val. | test |
|
43 |
+
|:---------------------|-------:|-------:|
|
44 |
+
| friend/ally of | 20 | 92 |
|
45 |
+
| competitor/rival of | 20 | 89 |
|
46 |
+
| known for | 20 | 108 |
|
47 |
+
| influenced by | 20 | 93 |
|
48 |
+
| similar to | 20 | 93 |
|
49 |
|
50 |
## Dataset Structure
|
51 |
### Data Instances
|
|
|
55 |
"pairs": [["Le Corbusier", "purism art"], ["Sean Connery", "Finding Forrester"], ...],
|
56 |
"scores_all": [[4.0, 5.0, 3.0, 4.0, 5.0, 3.0, 5.0], [4.0, 5.0, 2, 5.0, 5.0, 4.0, 2], ...],
|
57 |
"scores_mean": [4.142857142857143, 3.857142857142857, 4.857142857142857, ...],
|
58 |
+
"relation_type": "known for",
|
59 |
"ranks": [8.5, 11, 5, 14, 15, 5, 20, 13, 1.5, 18, 10, 1.5, 17, ...],
|
60 |
"prototypical_examples": [["Extinction Rebellion", "Greta Thunberg"], ["Israel", "Palestine"],...]
|
61 |
}
|
data/data_processed.new.validation.jsonl
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
-
{"pairs": [["Nadal", "Federer"], ["Virgin Media", "BT"], ["UNIQLO", "ZARA"], ["The Notorious B.I.G.", "2Pac"], ["AC Milan", "Juventus"], ["University of Oxford", "University of Cambridge"], ["Red Hat", "Ubuntu"], ["Borussia Dortmund", "PSG"], ["Cardiff FC", "Swansea FC"], ["Microsoft", "Facebook"], ["Doctor Who", "Game of Thrones"], ["Macallan", "Suntory"], ["Christopher Lloyd", "Coriandrum sativum"], ["Wickes", "ScrewFix"], ["EE", "Three UK"], ["US", "Mexico"], ["Marvel Comics", "D.C. Comics"], ["Betty White", "Charli D'Amelio"], ["Salieri", "Mozart"], ["Russia", "US"]], "scores_all": [[5.0, 4.0, 5.0, 5.0, 4.0, 4.0, 5.0], [5.0, 5.0, 4.0, 4.0, 5.0, 5.0, 5.0], [4.0, 4.0, 5.0, 3.0, 5.0, 3, 4.0], [4.0, 1, 5.0, 5.0, 4.0, 4.0, 5.0], [5.0, 5.0, 5.0, 5.0, 5.0, 4.0, 5.0], [4.0, 5.0, 4.0, 4.0, 4.0, 4.0, 5.0], [4.0, 3.0, 4.0, 4.0, 5.0, 3, 5.0], [4.0, 5.0, 3.0, 4.0, 5.0, 4.0, 3.0], [4.0, 5.0, 5.0, 5.0, 5.0, 4.0, 5.0], [3.0, 2, 4.0, 4.0, 5.0, 3.0, 4.0], [3.0, 4.0, 2, 2.0, 3.0, 4.0, 2.0], [4, 3, 3.0, 4.0, 4.0, 5.0, 5.0], [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0], [4.0, 3.0, 5.0, 4.0, 4.0, 5.0, 5.0], [4.0, 5.0, 3.0, 5.0, 5.0, 5.0, 5.0], [3.0, 4.0, 3.0, 2.0, 4.0, 3, 2.0], [4.0, 5.0, 5.0, 5.0, 5, 5.0, 5.0], [1.0, 1.0, 1.0, 2.0, 1.0, 1.0, 1.0], [4, 2.0, 4.0, 4.0, 2.0, 3.0, 2.0], [5.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0]], "scores_mean": [4.571428571428571, 4.714285714285714, 4.0, 4.0, 4.857142857142857, 4.285714285714286, 4.0, 4.0, 4.714285714285714, 3.5714285714285716, 2.857142857142857, 4.0, 1.0, 4.285714285714286, 4.571428571428571, 3.0, 4.857142857142857, 1.1428571428571428, 3.0, 5.0], "relation_type": "
|
2 |
-
{"pairs": [["Owain Glyndwr", "Charles VI of France"], ["United States", "European Union"], ["UK", "USA"], ["Thomas Carlyle", "Charles Dickens"], ["Abraham Lincoln", "George McLellan"], ["Ukraine", "Russia"], ["Russia", "Belarus"], ["Darth Vader", "Obi-Wan Kenobi"], ["Donald Trump", "Ron DeSantis"], ["Microsoft", "OpenAI"], ["Frodo", "Boromir"], ["Lady Gaga", "Madonna"], ["England", "Scotland"], ["Vincent van Gogh", "Paul Gauguin"], ["Gatsby", "Tom Buchanan"], ["UK", "Rwanda"], ["Maximus Decimus Meridius", "Juba"], ["CIA", "MI6"], ["Sherlock", "Lauryn Hill"], ["Schindler's List", "Baz Luhrmann"]], "scores_all": [[4.0, 5, 5.0, 3.0, 3.0, 5.0, 4.0], [4.0, 4.0, 5.0, 4.0, 5.0, 5.0, 4.0], [4.0, 5.0, 5.0, 5.0, 5, 5.0, 5.0], [4.0, 4.0, 5.0, 5.0, 4.0, 3.0, 4.0], [2.0, 1.0, 2.0, 2, 2.0, 1.0, 2.0], [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0], [5.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0], [2.0, 1.0, 1.0, 3, 2.0, 2.0, 1.0], [3.0, 3.0, 2.0, 4.0, 2.0, 3, 4.0], [5.0, 5.0, 4.0, 4.0, 4.0, 5.0, 4.0], [3.0, 1, 4.0, 4.0, 4, 5.0, 5.0], [3.0, 4.0, 1, 2.0, 4.0, 2.0, 2.0], [4.0, 4.0, 4.0, 4.0, 5.0, 3.0, 4.0], [4, 4.0, 3.0, 2, 5.0, 4.0, 5.0], [2, 1.0, 1.0, 2.0, 2.0, 1.0, 1.0], [3.0, 3.0, 2.0, 4.0, 3.0, 3.0, 3.0], [4.0, 5, 5, 4.0, 5, 4, 5], [4.0, 4.0, 5.0, 5.0, 5.0, 4.0, 5.0], [1.0, 1.0, 1.0, 3.0, 1.0, 1.0, 1.0], [1.0, 1.0, 1.0, 3.0, 1.0, 1.0, 2.0]], "scores_mean": [4.142857142857143, 4.428571428571429, 4.857142857142857, 4.142857142857143, 1.7142857142857142, 1.0, 5.0, 1.7142857142857142, 3.0, 4.428571428571429, 3.7142857142857144, 2.5714285714285716, 4.0, 3.857142857142857, 1.4285714285714286, 3.0, 4.571428571428571, 4.571428571428571, 1.2857142857142858, 1.4285714285714286], "relation_type": "
|
3 |
-
{"pairs": [["Oasis", "Beatles"], ["Vincent van gogh", "Bipolar disorder"], ["UK", "Winston Churchill"], ["The Hunger Games", "1984"], ["Acer", "Asus"], ["Vape", "cigarette"], ["Pulp", "Beatles"], ["Buckingham Palace", "Accenture"], ["Chester Bennington", "Jonathan Banks"], ["Mike Tyson", "Muhammad Ali"], ["English Wikipedia", "Alexandra Feodorovna"], ["Liz Truss", "Thatcher"], ["Conservative Party", "Labour Party"], ["Vladimir Lenin", "Karl Marx"], ["Europe", "European Union"], ["UK", "EU"], ["McDonalds", "KFC"], ["Boris Johnson", "Winston Churchill"], ["Rihanna", "Stevie Wonder"], ["Rhys Ifans", "Richard Branson"]], "scores_all": [[4.0, 4.0, 5.0, 5.0, 5.0, 4.0, 5.0], [4.0, 1, 2.0, 4.0, 5.0, 4.0, 5.0], [4.0, 5.0, 3.0, 5.0, 5.0, 4.0, 5.0], [4.0, 5.0, 3.0, 4.0, 4.0, 4.0, 4.0], [4.0, 5.0, 3.0, 4.0, 5.0, 3.0, 5.0], [4.0, 5.0, 3.0, 5.0, 5.0, 5.0, 5.0], [4.0, 2.0, 3.0, 4.0, 5.0, 2, 3.0], [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0], [1.0, 2, 1.0, 3.0, 1.0, 1.0, 1.0], [4.0, 5.0, 3.0, 4.0, 5.0, 5.0, 3.0], [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0], [4.0, 5.0, 4.0, 5.0, 5.0, 4.0, 5.0], [3.0, 5.0, 3.0, 4.0, 5.0, 3.0, 4.0], [4.0, 5.0, 5.0, 5.0, 4.0, 4.0, 5.0], [4.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0], [4.0, 5.0, 4.0, 5.0, 5.0, 5.0, 5.0], [4, 5.0, 3.0, 4.0, 5.0, 4.0, 5], [4.0, 5.0, 4.0, 5.0, 5.0, 4.0, 5.0], [2.0, 2.0, 2.0, 4.0, 4.0, 4.0, 3.0], [2.0, 1.0, 1.0, 2.0, 1.0, 1.0, 1.0]], "scores_mean": [4.571428571428571, 3.5714285714285716, 4.428571428571429, 4.0, 4.142857142857143, 4.571428571428571, 3.2857142857142856, 1.0, 1.4285714285714286, 4.142857142857143, 1.0, 4.571428571428571, 3.857142857142857, 4.571428571428571, 4.857142857142857, 4.714285714285714, 4.285714285714286, 4.571428571428571, 3.0, 1.2857142857142858], "relation_type": "
|
4 |
-
{"pairs": [["Le Corbusier", "purism art"], ["Sean Connery", "Finding Forrester"], ["Russell Crowe", "Gladiator"], ["Qualcomm", "smartphones"], ["Adam Driver", "Hannibal Lecter"], ["Scotland", "bagpipes"], ["Mount Everest", "New Testament"], ["Bosch", "dishwasher"], ["Cadbury", "chocolate"], ["John Krasinski", "Tony Curtis"], ["Ernest Hemingway", "To Have and Have Not"], ["Italy", "pizza"], ["Chris Hemsworth", "Blackbeard"], ["Snap", "Snapchat"], ["Father's Day", "Shirley Temple"], ["Rome", "Colosseum"], ["Jared Leto", "Steve Irwin"], ["Bill Gates", "Microsoft"], ["Nikola Tesla", "robotics"], ["New Zealand", "sheep"]], "scores_all": [[4.0, 5.0, 3.0, 4.0, 5.0, 3.0, 5.0], [4.0, 5.0, 2, 5.0, 5.0, 4.0, 2], [4.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0], [3.0, 3, 2, 3, 2, 2, 2], [1.0, 5, 1.0, 2.0, 1.0, 3.0, 1.0], [4.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0], [2.0, 1.0, 1.0, 1, 1.0, 1.0, 1.0], [4.0, 3.0, 3.0, 2.0, 4.0, 2.0, 3.0], [5.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0], [1.0, 2.0, 1.0, 3.0, 1.0, 1.0, 1.0], [3, 5.0, 3.0, 5.0, 4.0, 5.0, 3.0], [5.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0], [2.0, 1.0, 1.0, 3.0, 3, 1.0, 1.0], [5.0, 5.0, 5.0, 4.0, 5.0, 5.0, 5.0], [1.0, 3, 1.0, 3.0, 1.0, 1.0, 3.0], [5.0, 5.0, 5.0, 5.0, 5.0, 5.0, 4.0], [1.0, 1.0, 1.0, 3.0, 1.0, 1.0, 1.0], [4.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0], [4.0, 3.0, 3.0, 4.0, 4, 4, 1], [4.0, 5.0, 4.0, 4.0, 5.0, 4.0, 3.0]], "scores_mean": [4.142857142857143, 3.857142857142857, 4.857142857142857, 2.4285714285714284, 2.0, 4.857142857142857, 1.1428571428571428, 3.0, 5.0, 1.4285714285714286, 4.0, 5.0, 1.7142857142857142, 4.857142857142857, 1.8571428571428572, 4.857142857142857, 1.2857142857142858, 4.857142857142857, 3.2857142857142856, 4.142857142857143], "relation_type": "
|
5 |
-
{"pairs": [["NATO", "United Nations"], ["Tesco", "Sainsburys"], ["Surrey", "Essex"], ["Squid Game", "Physical: 100"], ["Adele", "Ed Sheeran"], ["Sweden", "Finland"], ["Prada", "Versace"], ["Champions League", "Primavera Sound"], ["Christianity", "Judaism"], ["Marvel Comics", "DC Comics"], ["Doctor Who", "Sherlock Holmes"], ["Iraq", "Iran"], ["Cornwall", "Brittany"], ["The Simpsons", "Family Guy"], ["Domino's", "YO! Sushi"], ["Sukhoi Su-34", "Rita Moreno"], ["Kyivan Rus'", "Julian calendar"], ["cement", "concrete"], ["Quora", "Stack Overflow"], ["Queen", "Richard Wagner"]], "scores_all": [[4.0, 5.0, 3.0, 5.0, 5.0, 5.0, 4], [5.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0], [4.0, 5.0, 5.0, 4.0, 4.0, 4.0, 5.0], [4.0, 4.0, 3.0, 4, 5.0, 4.0, 5.0], [4.0, 2.0, 4.0, 2.0, 4, 3.0, 4.0], [5.0, 4.0, 5.0, 4.0, 5.0, 5.0, 2], [4.0, 5.0, 5.0, 4.0, 5.0, 4.0, 5.0], [2.0, 1.0, 1.0, 2.0, 1.0, 1.0, 1.0], [4.0, 4.0, 4.0, 4.0, 4.0, 3.0, 2.0], [4.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0], [2.0, 2, 3.0, 2.0, 4.0, 4.0, 3.0], [4.0, 4.0, 5.0, 4.0, 3.0, 5.0, 2], [4.0, 3.0, 4.0, 4.0, 3, 5.0, 4.0], [5.0, 4.0, 5.0, 5.0, 5.0, 5.0, 5.0], [4, 1.0, 3.0, 2, 1.0, 1.0, 1.0], [1.0, 2.0, 1.0, 1.0, 1.0, 1.0, 1.0], [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 3], [4.0, 5.0, 3.0, 2, 4.0, 5.0, 5.0], [4.0, 5.0, 4.0, 4.0, 4.0, 4.0, 4], [3.0, 3, 2.0, 2.0, 3.0, 1.0, 1.0]], "scores_mean": [4.428571428571429, 5.0, 4.428571428571429, 4.142857142857143, 3.2857142857142856, 4.285714285714286, 4.571428571428571, 1.2857142857142858, 3.5714285714285716, 4.857142857142857, 2.857142857142857, 3.857142857142857, 3.857142857142857, 4.857142857142857, 1.8571428571428572, 1.1428571428571428, 1.2857142857142858, 4.0, 4.142857142857143, 2.142857142857143], "relation_type": "
|
|
|
1 |
+
{"pairs": [["Nadal", "Federer"], ["Virgin Media", "BT"], ["UNIQLO", "ZARA"], ["The Notorious B.I.G.", "2Pac"], ["AC Milan", "Juventus"], ["University of Oxford", "University of Cambridge"], ["Red Hat", "Ubuntu"], ["Borussia Dortmund", "PSG"], ["Cardiff FC", "Swansea FC"], ["Microsoft", "Facebook"], ["Doctor Who", "Game of Thrones"], ["Macallan", "Suntory"], ["Christopher Lloyd", "Coriandrum sativum"], ["Wickes", "ScrewFix"], ["EE", "Three UK"], ["US", "Mexico"], ["Marvel Comics", "D.C. Comics"], ["Betty White", "Charli D'Amelio"], ["Salieri", "Mozart"], ["Russia", "US"]], "scores_all": [[5.0, 4.0, 5.0, 5.0, 4.0, 4.0, 5.0], [5.0, 5.0, 4.0, 4.0, 5.0, 5.0, 5.0], [4.0, 4.0, 5.0, 3.0, 5.0, 3, 4.0], [4.0, 1, 5.0, 5.0, 4.0, 4.0, 5.0], [5.0, 5.0, 5.0, 5.0, 5.0, 4.0, 5.0], [4.0, 5.0, 4.0, 4.0, 4.0, 4.0, 5.0], [4.0, 3.0, 4.0, 4.0, 5.0, 3, 5.0], [4.0, 5.0, 3.0, 4.0, 5.0, 4.0, 3.0], [4.0, 5.0, 5.0, 5.0, 5.0, 4.0, 5.0], [3.0, 2, 4.0, 4.0, 5.0, 3.0, 4.0], [3.0, 4.0, 2, 2.0, 3.0, 4.0, 2.0], [4, 3, 3.0, 4.0, 4.0, 5.0, 5.0], [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0], [4.0, 3.0, 5.0, 4.0, 4.0, 5.0, 5.0], [4.0, 5.0, 3.0, 5.0, 5.0, 5.0, 5.0], [3.0, 4.0, 3.0, 2.0, 4.0, 3, 2.0], [4.0, 5.0, 5.0, 5.0, 5, 5.0, 5.0], [1.0, 1.0, 1.0, 2.0, 1.0, 1.0, 1.0], [4, 2.0, 4.0, 4.0, 2.0, 3.0, 2.0], [5.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0]], "scores_mean": [4.571428571428571, 4.714285714285714, 4.0, 4.0, 4.857142857142857, 4.285714285714286, 4.0, 4.0, 4.714285714285714, 3.5714285714285716, 2.857142857142857, 4.0, 1.0, 4.285714285714286, 4.571428571428571, 3.0, 4.857142857142857, 1.1428571428571428, 3.0, 5.0], "relation_type": "competitor/rival of", "ranks": [6.5, 4.5, 12, 12, 2.5, 8.5, 12, 12, 4.5, 15, 18, 12, 20, 8.5, 6.5, 16.5, 2.5, 19, 16.5, 1], "prototypical_examples": [["Aznar", "Bush"], ["Sprite", "7 Up"], ["Cadbury", "chocolate"], ["Plato", "Socrates"], ["Ligue 1", "Bundesliga"]]}
|
2 |
+
{"pairs": [["Owain Glyndwr", "Charles VI of France"], ["United States", "European Union"], ["UK", "USA"], ["Thomas Carlyle", "Charles Dickens"], ["Abraham Lincoln", "George McLellan"], ["Ukraine", "Russia"], ["Russia", "Belarus"], ["Darth Vader", "Obi-Wan Kenobi"], ["Donald Trump", "Ron DeSantis"], ["Microsoft", "OpenAI"], ["Frodo", "Boromir"], ["Lady Gaga", "Madonna"], ["England", "Scotland"], ["Vincent van Gogh", "Paul Gauguin"], ["Gatsby", "Tom Buchanan"], ["UK", "Rwanda"], ["Maximus Decimus Meridius", "Juba"], ["CIA", "MI6"], ["Sherlock", "Lauryn Hill"], ["Schindler's List", "Baz Luhrmann"]], "scores_all": [[4.0, 5, 5.0, 3.0, 3.0, 5.0, 4.0], [4.0, 4.0, 5.0, 4.0, 5.0, 5.0, 4.0], [4.0, 5.0, 5.0, 5.0, 5, 5.0, 5.0], [4.0, 4.0, 5.0, 5.0, 4.0, 3.0, 4.0], [2.0, 1.0, 2.0, 2, 2.0, 1.0, 2.0], [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0], [5.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0], [2.0, 1.0, 1.0, 3, 2.0, 2.0, 1.0], [3.0, 3.0, 2.0, 4.0, 2.0, 3, 4.0], [5.0, 5.0, 4.0, 4.0, 4.0, 5.0, 4.0], [3.0, 1, 4.0, 4.0, 4, 5.0, 5.0], [3.0, 4.0, 1, 2.0, 4.0, 2.0, 2.0], [4.0, 4.0, 4.0, 4.0, 5.0, 3.0, 4.0], [4, 4.0, 3.0, 2, 5.0, 4.0, 5.0], [2, 1.0, 1.0, 2.0, 2.0, 1.0, 1.0], [3.0, 3.0, 2.0, 4.0, 3.0, 3.0, 3.0], [4.0, 5, 5, 4.0, 5, 4, 5], [4.0, 4.0, 5.0, 5.0, 5.0, 4.0, 5.0], [1.0, 1.0, 1.0, 3.0, 1.0, 1.0, 1.0], [1.0, 1.0, 1.0, 3.0, 1.0, 1.0, 2.0]], "scores_mean": [4.142857142857143, 4.428571428571429, 4.857142857142857, 4.142857142857143, 1.7142857142857142, 1.0, 5.0, 1.7142857142857142, 3.0, 4.428571428571429, 3.7142857142857144, 2.5714285714285716, 4.0, 3.857142857142857, 1.4285714285714286, 3.0, 4.571428571428571, 4.571428571428571, 1.2857142857142858, 1.4285714285714286], "relation_type": "friend/ally of", "ranks": [7.5, 5.5, 2, 7.5, 15.5, 20, 1, 15.5, 12.5, 5.5, 11, 14, 9, 10, 17.5, 12.5, 3.5, 3.5, 19, 17.5], "prototypical_examples": [["Australia", "New Zealand"], ["Dell", "HP"], ["Russell Crowe", "Gladiator"], ["Europe", "European Union"], ["Coca-Cola", "Pepsi"]]}
|
3 |
+
{"pairs": [["Oasis", "Beatles"], ["Vincent van gogh", "Bipolar disorder"], ["UK", "Winston Churchill"], ["The Hunger Games", "1984"], ["Acer", "Asus"], ["Vape", "cigarette"], ["Pulp", "Beatles"], ["Buckingham Palace", "Accenture"], ["Chester Bennington", "Jonathan Banks"], ["Mike Tyson", "Muhammad Ali"], ["English Wikipedia", "Alexandra Feodorovna"], ["Liz Truss", "Thatcher"], ["Conservative Party", "Labour Party"], ["Vladimir Lenin", "Karl Marx"], ["Europe", "European Union"], ["UK", "EU"], ["McDonalds", "KFC"], ["Boris Johnson", "Winston Churchill"], ["Rihanna", "Stevie Wonder"], ["Rhys Ifans", "Richard Branson"]], "scores_all": [[4.0, 4.0, 5.0, 5.0, 5.0, 4.0, 5.0], [4.0, 1, 2.0, 4.0, 5.0, 4.0, 5.0], [4.0, 5.0, 3.0, 5.0, 5.0, 4.0, 5.0], [4.0, 5.0, 3.0, 4.0, 4.0, 4.0, 4.0], [4.0, 5.0, 3.0, 4.0, 5.0, 3.0, 5.0], [4.0, 5.0, 3.0, 5.0, 5.0, 5.0, 5.0], [4.0, 2.0, 3.0, 4.0, 5.0, 2, 3.0], [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0], [1.0, 2, 1.0, 3.0, 1.0, 1.0, 1.0], [4.0, 5.0, 3.0, 4.0, 5.0, 5.0, 3.0], [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0], [4.0, 5.0, 4.0, 5.0, 5.0, 4.0, 5.0], [3.0, 5.0, 3.0, 4.0, 5.0, 3.0, 4.0], [4.0, 5.0, 5.0, 5.0, 4.0, 4.0, 5.0], [4.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0], [4.0, 5.0, 4.0, 5.0, 5.0, 5.0, 5.0], [4, 5.0, 3.0, 4.0, 5.0, 4.0, 5], [4.0, 5.0, 4.0, 5.0, 5.0, 4.0, 5.0], [2.0, 2.0, 2.0, 4.0, 4.0, 4.0, 3.0], [2.0, 1.0, 1.0, 2.0, 1.0, 1.0, 1.0]], "scores_mean": [4.571428571428571, 3.5714285714285716, 4.428571428571429, 4.0, 4.142857142857143, 4.571428571428571, 3.2857142857142856, 1.0, 1.4285714285714286, 4.142857142857143, 1.0, 4.571428571428571, 3.857142857142857, 4.571428571428571, 4.857142857142857, 4.714285714285714, 4.285714285714286, 4.571428571428571, 3.0, 1.2857142857142858], "relation_type": "influenced by", "ranks": [5, 14, 8, 12, 10.5, 5, 15, 19.5, 17, 10.5, 19.5, 5, 13, 5, 1, 2, 9, 5, 16, 18], "prototypical_examples": [["Elsa", "Anna"], ["Liverpool FC", "Manchester United"], ["Leonardo Da Vinci", "Mona Lisa"], ["Messi", "Maradona"], ["The Avengers", "The Justice League"]]}
|
4 |
+
{"pairs": [["Le Corbusier", "purism art"], ["Sean Connery", "Finding Forrester"], ["Russell Crowe", "Gladiator"], ["Qualcomm", "smartphones"], ["Adam Driver", "Hannibal Lecter"], ["Scotland", "bagpipes"], ["Mount Everest", "New Testament"], ["Bosch", "dishwasher"], ["Cadbury", "chocolate"], ["John Krasinski", "Tony Curtis"], ["Ernest Hemingway", "To Have and Have Not"], ["Italy", "pizza"], ["Chris Hemsworth", "Blackbeard"], ["Snap", "Snapchat"], ["Father's Day", "Shirley Temple"], ["Rome", "Colosseum"], ["Jared Leto", "Steve Irwin"], ["Bill Gates", "Microsoft"], ["Nikola Tesla", "robotics"], ["New Zealand", "sheep"]], "scores_all": [[4.0, 5.0, 3.0, 4.0, 5.0, 3.0, 5.0], [4.0, 5.0, 2, 5.0, 5.0, 4.0, 2], [4.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0], [3.0, 3, 2, 3, 2, 2, 2], [1.0, 5, 1.0, 2.0, 1.0, 3.0, 1.0], [4.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0], [2.0, 1.0, 1.0, 1, 1.0, 1.0, 1.0], [4.0, 3.0, 3.0, 2.0, 4.0, 2.0, 3.0], [5.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0], [1.0, 2.0, 1.0, 3.0, 1.0, 1.0, 1.0], [3, 5.0, 3.0, 5.0, 4.0, 5.0, 3.0], [5.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0], [2.0, 1.0, 1.0, 3.0, 3, 1.0, 1.0], [5.0, 5.0, 5.0, 4.0, 5.0, 5.0, 5.0], [1.0, 3, 1.0, 3.0, 1.0, 1.0, 3.0], [5.0, 5.0, 5.0, 5.0, 5.0, 5.0, 4.0], [1.0, 1.0, 1.0, 3.0, 1.0, 1.0, 1.0], [4.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0], [4.0, 3.0, 3.0, 4.0, 4, 4, 1], [4.0, 5.0, 4.0, 4.0, 5.0, 4.0, 3.0]], "scores_mean": [4.142857142857143, 3.857142857142857, 4.857142857142857, 2.4285714285714284, 2.0, 4.857142857142857, 1.1428571428571428, 3.0, 5.0, 1.4285714285714286, 4.0, 5.0, 1.7142857142857142, 4.857142857142857, 1.8571428571428572, 4.857142857142857, 1.2857142857142858, 4.857142857142857, 3.2857142857142856, 4.142857142857143], "relation_type": "known for", "ranks": [8.5, 11, 5, 14, 15, 5, 20, 13, 1.5, 18, 10, 1.5, 17, 5, 16, 5, 19, 5, 12, 8.5], "prototypical_examples": [["Extinction Rebellion", "Greta Thunberg"], ["Israel", "Palestine"], ["Paris", "Eiffel Tower"], ["Ethereum", "Bitcoin"], ["Australia", "New Zealand"]]}
|
5 |
+
{"pairs": [["NATO", "United Nations"], ["Tesco", "Sainsburys"], ["Surrey", "Essex"], ["Squid Game", "Physical: 100"], ["Adele", "Ed Sheeran"], ["Sweden", "Finland"], ["Prada", "Versace"], ["Champions League", "Primavera Sound"], ["Christianity", "Judaism"], ["Marvel Comics", "DC Comics"], ["Doctor Who", "Sherlock Holmes"], ["Iraq", "Iran"], ["Cornwall", "Brittany"], ["The Simpsons", "Family Guy"], ["Domino's", "YO! Sushi"], ["Sukhoi Su-34", "Rita Moreno"], ["Kyivan Rus'", "Julian calendar"], ["cement", "concrete"], ["Quora", "Stack Overflow"], ["Queen", "Richard Wagner"]], "scores_all": [[4.0, 5.0, 3.0, 5.0, 5.0, 5.0, 4], [5.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0], [4.0, 5.0, 5.0, 4.0, 4.0, 4.0, 5.0], [4.0, 4.0, 3.0, 4, 5.0, 4.0, 5.0], [4.0, 2.0, 4.0, 2.0, 4, 3.0, 4.0], [5.0, 4.0, 5.0, 4.0, 5.0, 5.0, 2], [4.0, 5.0, 5.0, 4.0, 5.0, 4.0, 5.0], [2.0, 1.0, 1.0, 2.0, 1.0, 1.0, 1.0], [4.0, 4.0, 4.0, 4.0, 4.0, 3.0, 2.0], [4.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0], [2.0, 2, 3.0, 2.0, 4.0, 4.0, 3.0], [4.0, 4.0, 5.0, 4.0, 3.0, 5.0, 2], [4.0, 3.0, 4.0, 4.0, 3, 5.0, 4.0], [5.0, 4.0, 5.0, 5.0, 5.0, 5.0, 5.0], [4, 1.0, 3.0, 2, 1.0, 1.0, 1.0], [1.0, 2.0, 1.0, 1.0, 1.0, 1.0, 1.0], [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 3], [4.0, 5.0, 3.0, 2, 4.0, 5.0, 5.0], [4.0, 5.0, 4.0, 4.0, 4.0, 4.0, 4], [3.0, 3, 2.0, 2.0, 3.0, 1.0, 1.0]], "scores_mean": [4.428571428571429, 5.0, 4.428571428571429, 4.142857142857143, 3.2857142857142856, 4.285714285714286, 4.571428571428571, 1.2857142857142858, 3.5714285714285716, 4.857142857142857, 2.857142857142857, 3.857142857142857, 3.857142857142857, 4.857142857142857, 1.8571428571428572, 1.1428571428571428, 1.2857142857142858, 4.0, 4.142857142857143, 2.142857142857143], "relation_type": "similar to", "ranks": [5.5, 1, 5.5, 8.5, 14, 7, 4, 18.5, 13, 2.5, 15, 11.5, 11.5, 2.5, 17, 20, 18.5, 10, 8.5, 16], "prototypical_examples": [["CIA", "MI6"], ["Microsoft Teams", "Slack"], ["Apple", "iPhone"], ["Impressionism", "Edouard Manet"], ["Tesco", "Sainsburys"]]}
|
relentless.py
CHANGED
@@ -9,8 +9,17 @@ import datasets
|
|
9 |
logger = datasets.logging.get_logger(__name__)
|
10 |
_DESCRIPTION = """ Named-entities Relation Ranking. """
|
11 |
_NAME = "relentless"
|
12 |
-
_VERSION = "0.2.
|
13 |
-
_CITATION = """
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
_HOME_PAGE = "https://huggingface.co/datasets/cardiffnlp/relentless"
|
15 |
_URL = f'https://huggingface.co/datasets/cardiffnlp/{_NAME}/raw/main'
|
16 |
_URLS = {
|
|
|
9 |
logger = datasets.logging.get_logger(__name__)
|
10 |
_DESCRIPTION = """ Named-entities Relation Ranking. """
|
11 |
_NAME = "relentless"
|
12 |
+
_VERSION = "0.2.2"
|
13 |
+
_CITATION = """
|
14 |
+
@misc{ushio2023relentless,
|
15 |
+
title={A RelEntLess Benchmark for Modelling Graded Relations between Named Entities},
|
16 |
+
author={Asahi Ushio and Jose Camacho Collados and Steven Schockaert},
|
17 |
+
year={2023},
|
18 |
+
eprint={2305.15002},
|
19 |
+
archivePrefix={arXiv},
|
20 |
+
primaryClass={cs.CL}
|
21 |
+
}
|
22 |
+
"""
|
23 |
_HOME_PAGE = "https://huggingface.co/datasets/cardiffnlp/relentless"
|
24 |
_URL = f'https://huggingface.co/datasets/cardiffnlp/{_NAME}/raw/main'
|
25 |
_URLS = {
|