neelalex commited on
Commit
6e059a4
1 Parent(s): aebcb19

Adding brief code example for labels.

Browse files
Files changed (1) hide show
  1. README.md +39 -14
README.md CHANGED
@@ -65,21 +65,46 @@ The Real-world Annotation for Few-shot Tasks (RAFT) dataset is an aggregation of
65
 
66
  ### Supported Tasks and Leaderboards
67
 
68
- [More Information Needed]
69
 
70
  ### Languages
71
 
72
- [More Information Needed]
73
 
74
  ## Dataset Structure
75
 
76
  ### Data Instances
77
 
78
- [More Information Needed]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79
 
80
  ### Data Fields
81
 
82
- [More Information Needed]
 
 
 
 
 
 
 
 
 
 
 
83
 
84
  ### Data Splits
85
 
@@ -142,16 +167,16 @@ RAFT aggregates many other datasets, each of which is provided under its own lic
142
  | Dataset | License |
143
  | ----------- | ----------- |
144
  | Ade Corpus V2 | Test |
145
- | Banking 77 | |
146
- | Terms Of Service | |
147
- | Tai Safety Research | |
148
- | Neurips Impact Statement Risks | |
149
- | Overruling | |
150
- | Systematic Review Inclusion | |
151
- | One Stop English | |
152
- | Tweet Eval Hate | |
153
- | Twitter Complaints | |
154
- | Semiconductor Org Types | |
155
 
156
 
157
 
 
65
 
66
  ### Supported Tasks and Leaderboards
67
 
68
+ - `text-classification`: Each subtask in RAFT is a text classification task, and the provided train and test sets can be used to submit to the (RAFT Leaderboard)[https://huggingface.co/spaces/ought/raft-leaderboard] To prevent overfitting and tuning on a held-out test set, the leaderboard is only evaluated once per week. Each task has its macro-f1 score calculated, then those scores are averaged to produce the overall leaderboard score.
69
 
70
  ### Languages
71
 
72
+ The only language intentionally included in the dataset is American English (en-US). However, we have not examined every single example in the train and test sets.
73
 
74
  ## Dataset Structure
75
 
76
  ### Data Instances
77
 
78
+
79
+ | Dataset | First Example |
80
+ | ----------- | ----------- |
81
+ | Ade Corpus V2 | <pre>Sentence: No regional side effects were noted.<br>ID: 0<br>Label: 2</pre> |
82
+ | Banking 77 | <pre>Query: Is it possible for me to change my PIN number?<br>ID: 0<br>Label: 23<br></pre> |
83
+ | Terms Of Service | <pre>Sentence: Crowdtangle may change these terms of service, as described above, notwithstanding any provision to the contrary in any agreemen...<br>ID: 0<br>Label: 2<br></pre> |
84
+ | Tai Safety Research | <pre>Title: Malign generalization without internal search<br>Abstract Note: In my last post, I challenged the idea that inner alignment failures should be explained by appealing to agents which perform ex...<br>Url: https://www.alignmentforum.org/posts/ynt9TD6PrYw6iT49m/malign-generalization-without-internal-search...<br>Publication Year: 2020<br>Item Type: blogPost<br>Author: Barnett, Matthew<br>Publication Title: AI Alignment Forum<br>ID: 0<br>Label: 1</pre> |
85
+ | Neurips Impact Statement Risks | <pre>Paper title: Auto-Panoptic: Cooperative Multi-Component Architecture Search for Panoptic Segmentation...<br>Paper link: https://proceedings.neurips.cc/paper/2020/file/ec1f764517b7ffb52057af6df18142b7-Paper.pdf...<br>Impact statement: This work makes the first attempt to search for all key components of panoptic pipeline and manages to accomplish this via the p...<br>ID: 0<br>Label: 1</pre> |
86
+ | Overruling | <pre>Sentence: in light of both our holding today and previous rulings in johnson, dueser, and gronroos, we now explicitly overrule dupree....<br>ID: 0<br>Label: 2<br></pre> |
87
+ | Systematic Review Inclusion | <pre>Title: Prototyping and transforming facial textures for perception research...<br>Abstract: Wavelet based methods for prototyping facial textures for artificially transforming the age of facial images were described. Pro...<br>Authors: Tiddeman, B.; Burt, M.; Perrett, D.<br>Journal: IEEE Comput Graphics Appl<br>ID: 0<br>Label: 2</pre> |
88
+ | One Stop English | <pre>Article: For 85 years, it was just a grey blob on classroom maps of the solar system. But, on 15 July, Pluto was seen in high resolution ...<br>ID: 0<br>Label: 3<br></pre> |
89
+ | Tweet Eval Hate | <pre>Tweet: New to Twitter-- any men on here know what the process is to get #verified?...<br>ID: 0<br>Label: 2<br></pre> |
90
+ | Twitter Complaints | <pre>Tweet text: @HMRCcustomers No this is my first job<br>ID: 0<br>Label: 2</pre> |
91
+ | Semiconductor Org Types | <pre>Paper title: 3Gb/s AC-coupled chip-to-chip communication using a low-swing pulse receiver...<br>Organization name: North Carolina State Univ.,Raleigh,NC,USA<br>ID: 0<br>Label: 3<br></pre> |
92
+
93
 
94
  ### Data Fields
95
 
96
+ The ID field is used for indexing data points. It will be used to match your submissions with the true test labels, so you must include it in your submission. All other columns contain textual data. Some contain links and URLs to websites on the internet.
97
+
98
+ All output fields are designated with the "Label" column header. The 0 value in this column indicates that the entry is unlabeled, and should only appear in the unlabeled test set. Other values in this column are various other labels. To get their textual value for a given dataset:
99
+ ```
100
+ # Load the dataset
101
+ dataset = datasets.load_dataset("ought/raft", "ade_corpus_v2")
102
+ # First, get the object that holds information about the "Label" feature in the dataset.
103
+ label_info = dataset.features["Label"]
104
+ # Use the int2str method to access the textual labels.
105
+ print([label_info.int2str(i) for i in (0, 1, 2)])
106
+ # >>> ['Unlabeled', 'ADE-related', 'not ADE-related']
107
+ ```
108
 
109
  ### Data Splits
110
 
 
167
  | Dataset | License |
168
  | ----------- | ----------- |
169
  | Ade Corpus V2 | Test |
170
+ | Banking 77 | |
171
+ | Terms Of Service | |
172
+ | Tai Safety Research | |
173
+ | Neurips Impact Statement Risks | |
174
+ | Overruling | |
175
+ | Systematic Review Inclusion | |
176
+ | One Stop English | |
177
+ | Tweet Eval Hate | |
178
+ | Twitter Complaints | |
179
+ | Semiconductor Org Types | |
180
 
181
 
182