README.md CHANGED
@@ -1,50 +1,13 @@
1
  ---
2
  configs:
3
- - config_name: idiom-detection-task
4
  data_files:
5
  - split: test
6
- path: "idiom_detection_task.csv"
7
- - config_name: metaphor-detection-task
8
  data_files:
9
  - split: test
10
- path: "metaphor_detection_task.csv"
11
- - config_name: simile-detection-task
12
- data_files:
13
- - split: test
14
- path: "simile_detection_task.csv"
15
- - config_name: open-simile-detection-task
16
- data_files:
17
- - split: test
18
- path: "open_simile_detection_task.csv"
19
- - config_name: idiom-retrieval-task
20
- data_files:
21
- - split: test
22
- path: "idiom_retrieval_task.csv"
23
- - config_name: metaphor-retrieval-task
24
- data_files:
25
- - split: test
26
- path: "metaphor_retrieval_task.csv"
27
- - config_name: simile-retrieval-task
28
- data_files:
29
- - split: test
30
- path: "simile_retrieval_task.csv"
31
- - config_name: open-simile-retrieval-task
32
- data_files:
33
- - split: test
34
- path: "open_simile_retrieval_task.csv"
35
- - config_name: idioms-dataset
36
- data_files:
37
- - split: dataset
38
- path: "idioms_dataset.csv"
39
- - config_name: similes-dataset
40
- data_files:
41
- - split: dataset
42
- path: "similes_dataset.csv"
43
- - config_name: metaphors-dataset
44
- data_files:
45
- - split: dataset
46
- path: "metaphors_dataset.csv"
47
-
48
  license: cc-by-4.0
49
  language:
50
  - en
98
 
99
  https://irfl-dataset.github.io/leaderboard
100
 
101
- ### Colab notebook for IRFL evaluation
102
- https://colab.research.google.com/drive/1RfcUhBTHvREx5X7TMY5UAgMYX8NMKy7u?usp=sharing
103
 
104
  ### Languages
105
 
@@ -109,40 +72,39 @@ English.
109
 
110
  ### Data Fields
111
  ★ - refers to idiom-only fields
112
- ⁺₊ - refers to metaphor-only fields
113
 
114
- Multimodal Figurative Language Detection task
115
  - query (★): the idiom definition the answer image originated from.
116
  - distractors: the distractor images
117
  - answer: the correct image
118
  - figurative_type: idiom | metaphor | simile
119
- - type: the correct image type (Figurative or Figurative+Literal).
 
120
  - definition (★): list of all the definitions of the idiom
121
  - phrase: the figurative phrase.
122
 
123
- Multimodal Figurative Language Retrieval task
124
- - type: the rival categories FvsPL (Figurative images vs. Partial Literal) or FLvsPL (Figurative+Literal images vs. Partial Literal)
125
  - figurative_type: idiom | metaphor | simile
126
- - images_metadata: the metadata of the distractors and answer images.
127
- - first_category: the first category images (Figurative images if FvsPL, Figurative Literal images if FLvsPL)
128
- - second_category: the second category images (Partial Literal)
129
  - definition (★): list of all the definitions of the idiom
130
- - theme (⁺₊): the theme of the partial literal distractor, for example, for the metaphor heart of gold, an image of a "gold bar" and an image of a "human heart" will have different theme value
131
  - phrase: the figurative phrase.
132
 
133
  The idioms, metaphor, and similes datasets contain all the figurative phrases, annotated images, and corresponding metadata. <br/>
134
 
 
135
  ## Dataset Collection
136
- Using an automatic pipeline we created, we collected figurative and literal images for textual idioms, metaphors, and similes. We annotated the relations between these images and the figurative phrase they originated from.
137
 
138
  #### Annotation process
139
 
140
  We paid Amazon Mechanical Turk Workers to annotate the relation between each image and phrase (Figurative vs. Literal).
141
 
142
  ## Considerations for Using the Data
143
- - Idioms: Annotated by five crowdworkers with rigorous qualifications and training.
144
- - Metaphors and Similes: Annotated by three expert team members.
145
- - Detection and Ranking Tasks: Annotated by three crowdworkers not involved in prior IRFL annotations.
146
 
147
  ### Licensing Information
148
 
 
1
  ---
2
  configs:
3
+ - config_name: Idioms Detection Task
4
  data_files:
5
  - split: test
6
+ path: "idiom_understanding_task.csv"
7
+ - config_name: Metaphors Detection Task
8
  data_files:
9
  - split: test
10
+ path: "metaphor_understanding_task.csv"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  license: cc-by-4.0
12
  language:
13
  - en
 
61
 
62
  https://irfl-dataset.github.io/leaderboard
63
 
64
+ ### Colab notebook code for IRFL evaluation
65
+ https://colab.research.google.com/drive/1zbW7R8Cn9sXICV3x_FGKjKIKu8GCrCme?usp=sharing
66
 
67
  ### Languages
68
 
 
72
 
73
  ### Data Fields
74
  ★ - refers to idiom-only fields
 
75
 
76
+ Detection task
77
  - query (★): the idiom definition the answer image originated from.
78
  - distractors: the distractor images
79
  - answer: the correct image
80
  - figurative_type: idiom | metaphor | simile
81
+ - images_metadata: the metadata of the distractors and asnwer images.
82
+ - type: the correct image type (Figurative or Figurative Literal).
83
  - definition (★): list of all the definitions of the idiom
84
  - phrase: the figurative phrase.
85
 
86
+ Retrieval task
87
+ - type: the rival categories FvsPO (Figurative images vs. Partial Objects) or FLvsPO (Figurative Literal images vs. Partial Objects)
88
  - figurative_type: idiom | metaphor | simile
89
+ - first_category: the first category images (Figurative images if FvsPO, Figurative Literal images if FLvsPO)
90
+ - second_category: the second category images (Partial Objects)
 
91
  - definition (★): list of all the definitions of the idiom
 
92
  - phrase: the figurative phrase.
93
 
94
  The idioms, metaphor, and similes datasets contain all the figurative phrases, annotated images, and corresponding metadata. <br/>
95
 
96
+
97
  ## Dataset Collection
98
+ We collected figurative and literal images for textual idioms, metaphors, and similes using an automatic pipeline we created. We annotated the relations between these images and the figurative phrase they originated from.
99
 
100
  #### Annotation process
101
 
102
  We paid Amazon Mechanical Turk Workers to annotate the relation between each image and phrase (Figurative vs. Literal).
103
 
104
  ## Considerations for Using the Data
105
+ - Idioms: Annotated by crowdworkers with rigorous qualifications and training.
106
+ - Metaphors and Similes: Annotated by expert team members.
107
+ - Detection and Ranking Tasks: Annotated by crowdworkers not involved in prior IRFL annotations.
108
 
109
  ### Licensing Information
110
 
idiom_detection_task.csv CHANGED
The diff for this file is too large to render. See raw diff
 
idiom_preference_task.csv ADDED
The diff for this file is too large to render. See raw diff
 
idiom_retrieval_task.csv CHANGED
The diff for this file is too large to render. See raw diff
 
idiom_understanding_task.csv ADDED
The diff for this file is too large to render. See raw diff
 
idioms_dataset.csv DELETED
The diff for this file is too large to render. See raw diff
 
idioms_dataset.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29cb0c064ad8b87535d8e120f6aee17956326b0fc7494b8f92e4a8c49436385d
3
+ size 5630459
metaphor_retrieval_task.csv → metaphor_preference_task.csv RENAMED
The diff for this file is too large to render. See raw diff
 
metaphor_detection_task.csv → metaphor_understanding_task.csv RENAMED
File without changes
metaphors_dataset.csv DELETED
The diff for this file is too large to render. See raw diff
 
metaphors_dataset.json ADDED
The diff for this file is too large to render. See raw diff
 
open_simile_detection_task.csv DELETED
The diff for this file is too large to render. See raw diff
 
open_simile_retrieval_task.csv DELETED
The diff for this file is too large to render. See raw diff
 
simile_retrieval_task.csv → simile_preference_task.csv RENAMED
The diff for this file is too large to render. See raw diff
 
simile_detection_task.csv → simile_understanding_task.csv RENAMED
File without changes
similes_dataset.csv DELETED
The diff for this file is too large to render. See raw diff
 
similes_dataset.json ADDED
The diff for this file is too large to render. See raw diff