maartensap commited on
Commit
6b2303a
·
verified ·
1 Parent(s): a6ea1d2

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +27 -9
README.md CHANGED
@@ -104,17 +104,35 @@ three splits - train, test, and dev.
104
 
105
  From the authors.
106
 
107
- Disclaimer/Content warning: the events in atomic have been
108
- automatically extracted from blogs, stories and books written at
109
- various times. The events might depict violent or problematic actions,
110
- which we left in the corpus for the sake of learning the (probably
111
- negative but still important) commonsense implications associated with
112
- the events. We removed a small set of truly out-dated events, but
113
- might have missed some so please email us (msap@cs.washington.edu) if
114
- you have any concerns.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
115
 
116
 
117
- For more information, see: https://homes.cs.washington.edu/~msap/atomic/
118
 
119
  ### Supported Tasks and Leaderboards
120
 
 
104
 
105
  From the authors.
106
 
107
+ Files present:
108
+
109
+ - `v4_atomic_all_agg.csv`: contains one event per line, with all annotations aggregated into one list (but not de-duplicated, so there might be repeats).
110
+ - `v4_atomic_all.csv`: keeps track of which worker did which annotations. Each line is the answers from one worker only, so there are multiple lines for the same event.
111
+ - `v4_atomic_trn.csv`, `v4_atomic_dev.csv`, `v4_atomic_tst.csv`: same as above, but split based on train/dev/test split.
112
+
113
+ All files are CSVs containing the following columns:
114
+
115
+ - event: just a string representation of the event.
116
+ - oEffect,oReact,oWant,xAttr,xEffect,xIntent,xNeed,xReact,xWant: annotations for each of the dimensions, stored in a json-dumped list of strings.
117
+ **Note**: `[""none""]` means the worker explicitly responded with the empty response, whereas `[]` means the worker did not annotate this dimension.
118
+ - prefix: json-dumped list that represents the prefix of content words (used to make a better trn/dev/tst split).
119
+ - split: string rep of which split the event belongs to.
120
+
121
+ Suggested code for loading the data into a pandas dataframe:
122
+
123
+ ```python
124
+ import pandas as pd
125
+ import json
126
+
127
+ df = pd.read_csv("v4_atomic_all.csv",index_col=0)
128
+ df.iloc[:,:9] = df.iloc[:,:9].apply(lambda col: col.apply(json.loads))
129
+ ```
130
+
131
+ **_Disclaimer/Content warning_**: the events in atomic have been automatically extracted from blogs, stories and books written at various times.
132
+ The events might depict violent or problematic actions, which we left in the corpus for the sake of learning the (probably negative but still important) commonsense implications associated with the events.
133
+ We removed a small set of truly out-dated events, but might have missed some so please email us (msap@cs.washington.edu) if you have any concerns.
134
 
135
 
 
136
 
137
  ### Supported Tasks and Leaderboards
138