rfernand commited on
Commit
4909b02
1 Parent(s): 7f191b3

Upload 37 files

Browse files

add nc_pat/v21 files and updated README.md

README.md CHANGED
@@ -99,20 +99,34 @@ The 12 diagnostic/warm-up tasks are:
99
  - car_cdr_seq_path_tuc (same task as car_cdr_seq_path, but requires mapping lowercase fillers to their uppercase tokens)
100
  ```
101
 
102
- There are 14 core tasks are:
103
  ```
104
  - active_active_stb (active sentence translation, from sentence to parenthesized tree form, both directions)
105
  - active_active_stb_40k (same task as active_active_stb, but train samples increased from 10K to 40K)
 
 
 
106
  - active_logical_ttb (active to logical tree translation, in both directions)
107
  - active_logical_ttb_40k (same task as active_logical_ttb, but train samples increased from 10K to 40K)
 
108
  - active_passive_ssb (active to passive sentence translation, in both directions)
109
  - active_passive_ssb_40k (same task as active_passive_ssb, but train samples increased from 10K to 40K)
110
  - active_passive_ttb (active to passive tree translation, in both directions)
111
  - active_passive_ttb_40k (same task as active_passive_ttb, but train samples increased from 10K to 40K)
 
 
 
112
  - actpass_logical_tt (mixture of active to logical and passive to logical tree translations, single direction)
113
  - actpass_logical_tt_40k (same task as actpass_logical_tt, but train samples increased from 10K to 40K)
 
 
 
 
 
 
114
  - passive_logical_ttb (passive to logical tree translation, in both directions)
115
  - passive_logical_ttb_40k (same task as passive_logical_ttb, but train samples increased from 10K to 40K)
 
116
  - passive_passive_stb (passive sentence translation, from sentence to parenthesized tree form, both directions)
117
  - passive_passive_stb_40k (same task as passive_passive_stb, but train samples increased from 10K to 40K)
118
  ```
@@ -125,6 +139,7 @@ Most tasks have the following splits:
125
  - test
126
  - ood_new
127
  - ood_long
 
128
 
129
  Here is a table showing how the number of examples varies by split (for most tasks):
130
 
@@ -135,6 +150,7 @@ Here is a table showing how the number of examples varies by split (for most tas
135
  | test | 1,250 |
136
  | ood_new | 1,250 |
137
  | ood_long | 1,250 |
 
138
 
139
 
140
  ### Data Instances
@@ -216,6 +232,8 @@ way that generalizes to out of distribution adjective values and lengths.
216
 
217
  ## Additional Information
218
 
 
 
219
  ### Dataset Curators
220
 
221
  The dataset by generated from templates designed by Paul Smolensky and Roland Fernandez.
 
99
  - car_cdr_seq_path_tuc (same task as car_cdr_seq_path, but requires mapping lowercase fillers to their uppercase tokens)
100
  ```
101
 
102
+ There are 22 core tasks are:
103
  ```
104
  - active_active_stb (active sentence translation, from sentence to parenthesized tree form, both directions)
105
  - active_active_stb_40k (same task as active_active_stb, but train samples increased from 10K to 40K)
106
+
107
+ - active_logical_ssb (active to logical sentence translation, in both directions)
108
+ - active_logical_ssb_40k (same task as active_logical_ssb, but train samples increased from 10K to 40K)
109
  - active_logical_ttb (active to logical tree translation, in both directions)
110
  - active_logical_ttb_40k (same task as active_logical_ttb, but train samples increased from 10K to 40K)
111
+
112
  - active_passive_ssb (active to passive sentence translation, in both directions)
113
  - active_passive_ssb_40k (same task as active_passive_ssb, but train samples increased from 10K to 40K)
114
  - active_passive_ttb (active to passive tree translation, in both directions)
115
  - active_passive_ttb_40k (same task as active_passive_ttb, but train samples increased from 10K to 40K)
116
+
117
+ - actpass_logical_ss (mixture of active to logical and passive to logical sentence translations, single direction)
118
+ - actpass_logical_ss_40k (same task as actpass_logical_ss, but train samples increased from 10K to 40K)
119
  - actpass_logical_tt (mixture of active to logical and passive to logical tree translations, single direction)
120
  - actpass_logical_tt_40k (same task as actpass_logical_tt, but train samples increased from 10K to 40K)
121
+
122
+ - logical_logical_stb (logical form sentence translation, from sentence to parenthesized tree form, both directions)
123
+ - logical_logical_stb_40k (same task as logical_logical_stb, but train samples increased from 10K to 40K)
124
+
125
+ - passive_logical_ssb (passive to logical sentence translation, in both directions)
126
+ - passive_logical_ssb_40k (same task as passive_logical_ssb, but train samples increased from 10K to 40K)
127
  - passive_logical_ttb (passive to logical tree translation, in both directions)
128
  - passive_logical_ttb_40k (same task as passive_logical_ttb, but train samples increased from 10K to 40K)
129
+
130
  - passive_passive_stb (passive sentence translation, from sentence to parenthesized tree form, both directions)
131
  - passive_passive_stb_40k (same task as passive_passive_stb, but train samples increased from 10K to 40K)
132
  ```
 
139
  - test
140
  - ood_new
141
  - ood_long
142
+ - ood_all
143
 
144
  Here is a table showing how the number of examples varies by split (for most tasks):
145
 
 
150
  | test | 1,250 |
151
  | ood_new | 1,250 |
152
  | ood_long | 1,250 |
153
+ | ood_all | 1,250 |
154
 
155
 
156
  ### Data Instances
 
232
 
233
  ## Additional Information
234
 
235
+ The internal name of this dataset is nc_pat.
236
+
237
  ### Dataset Curators
238
 
239
  The dataset by generated from templates designed by Paul Smolensky and Roland Fernandez.
active_active_stb.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a9a78b795d48e844cef12629b695cd6fcfe584b366efdd0b8f564e2ea5fa5838
3
- size 370739
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c6a80c908d5dc70e169a78a9163c4ddfb1f3632865469bdd0dbfc7f79aa751a
3
+ size 445718
active_active_stb_40k.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a61f9c742a4d9121807935f037be2d2d16798f11dd48af9a4ea2d3e53b2201cf
3
- size 1467464
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3fa273e25c4ad958a810f388f9b5497a7052a3bd9cd6c27f915e9c45aaf14d7
3
+ size 1765072
active_logical_ssb.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a96c006751ad2ac003a3f57550fe97371963b243e5a868b1bf9629b270957e10
3
+ size 312866
active_logical_ssb_40k.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43175d3dee4fdd2f250fb682faa24d4b51db61185a45bc3f6e1016f24763c93e
3
+ size 1236386
active_logical_ttb.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:50374cc9e5173b33916687a51f6783feb50ca291e25a09c6c8c06dd72c98cb8a
3
- size 332978
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0833d331714aa8cdc4d37ebab6c65512bafef20e9af426a1f691bb49ad16df14
3
+ size 386029
active_logical_ttb_40k.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d7300e6f7020ad367f1f4977f398b703e818bda32e8e9a924ec3db0c5a7d4583
3
- size 1318875
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78e750334e73e0e4f2f6155d756753503f145db180510334296cb228c3971910
3
+ size 1529770
active_passive_ssb.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6c752f22c5ee36f39d99f058fe08e7c7a74824ba20fd2eb0aba804f4b6d5fd42
3
- size 266018
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a51e95429185c81276fa2adf9dbab0b7fdb1c140cbcecca1fbee8d069d47e51
3
+ size 311376
active_passive_ssb_40k.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4a534a0a6979cd36aa1ea5991c8b528db74f361bd1c93faa118c147daa5e9053
3
- size 1050369
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:067343fa181df2e124a04df37d7cd1cf067c483447442ccfc9aa5b75b1b92e8d
3
+ size 1231100
active_passive_ttb.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:360f07d8898a2ba1cce8d3350f35d515fd630e7d3c5f4bd52ec470ae2754645c
3
- size 365532
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d2bd8ed8bd0ef1446ede4494964f0d96b99f7752fa67eddf0bfce5a9e703bb5d
3
+ size 427228
active_passive_ttb_40k.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:94c580577add92d75f6748eb404d899a0116a3910e482dc296c923ea71c0764a
3
- size 1447423
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec49890dad29bad84db777214ad10e289388eca14341b0787cd42154140dda04
3
+ size 1693985
actpass_logical_ss.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f8da242e426ab2f34ad166d37cc10791e71cfb82a5681f738333168bdfb4c7e
3
+ size 309486
actpass_logical_ss_40k.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ceae165ea6fc5c94b6c034e1ddd200de2ac07583b0399ddf9dc025ef7d971b4b
3
+ size 1223105
actpass_logical_tt.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:14396b24a8dffed30204f965994adf0e112912843a940126d596a689e5c41413
3
- size 335073
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:44cd52446ef33818df17b745c8a9e906969c1a866c63a7d34298369bc26b90e7
3
+ size 387679
actpass_logical_tt_40k.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c2ba2b4abc16268bf0d7c044adf0b7b5d95a42ee1ad2f97696598f3d8cef20e6
3
- size 1327673
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21a804e9356b7c5d0875d88df737447f44023e8344b17558138320e7b0fa42fa
3
+ size 1536277
basic_sentence_transforms.py CHANGED
@@ -183,11 +183,11 @@ class BasicSentenceTransforms(datasets.GeneratorBasedBuilder):
183
 
184
  def _split_generators(self, dl_manager: datasets.DownloadManager):
185
  url = self.config.data_url
186
- print("_split_generator: url={}".format(url))
187
 
188
  dl_dir = dl_manager.download_and_extract(url)
189
  task = self.config_id
190
- print("task: {}, dl_dir: {}".format(task, dl_dir))
191
 
192
  splits = [
193
  SplitGenerator(name=Split.TRAIN, gen_kwargs={"data_file": os.path.join(dl_dir, "train.jsonl")}),
@@ -204,7 +204,7 @@ class BasicSentenceTransforms(datasets.GeneratorBasedBuilder):
204
  return splits
205
 
206
  def _generate_examples(self, data_file):
207
- print("_generate_examples: data_file: {}".format(data_file))
208
 
209
  with open(data_file, encoding="utf-8") as f:
210
  for i, line in enumerate(f):
 
183
 
184
  def _split_generators(self, dl_manager: datasets.DownloadManager):
185
  url = self.config.data_url
186
+ #print("_split_generator: url={}".format(url))
187
 
188
  dl_dir = dl_manager.download_and_extract(url)
189
  task = self.config_id
190
+ #print("task: {}, dl_dir: {}".format(task, dl_dir))
191
 
192
  splits = [
193
  SplitGenerator(name=Split.TRAIN, gen_kwargs={"data_file": os.path.join(dl_dir, "train.jsonl")}),
 
204
  return splits
205
 
206
  def _generate_examples(self, data_file):
207
+ #print("_generate_examples: data_file: {}".format(data_file))
208
 
209
  with open(data_file, encoding="utf-8") as f:
210
  for i, line in enumerate(f):
car_cdr_cons.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2ba06a2f9de2cc7530b3846e3e36913411e26a3bc3a140c4e6e1ece53b6fc7c5
3
- size 5244
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dba51acde72cd6418171e9dbcbac379982e57f432553399f2fd7de81ee4bfc41
3
+ size 5353
car_cdr_cons_tuc.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e9b5954a9639882ff8669e61ee0d4d3f957dcbc0071ba5c0161f734cc00f6f26
3
- size 5634
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:84ff209f74a57415dca1d10b7fdf12938fb562e9c7fd54d066a7aa077df6364c
3
+ size 5864
car_cdr_rcons.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6d32c7cb899c0251f14bcbfb8b01914a068d787f519d3f2950079d193a935341
3
- size 5323
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56844ecf5c13850ee1625ace33823b17d9a95cd5b56448651e95de802c45e3e4
3
+ size 5292
car_cdr_rcons_tuc.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:50f8976fc948127a26fa4f2297fddaf84d530685dce9eff76048b46bfe615b68
3
- size 5746
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:68478e1d488bb22b7f7ee025fedfcde2ae4ca33e6b97476bc20dd4309ed82807
3
+ size 5787
car_cdr_seq.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3f6852343f289322cf191247b29a34e44bca75ad5bdf9b1f47b0d86452af8d22
3
- size 334088
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7476bd8c1120ff3fde7ce2590db8b4427412bfc89f22035c4a7d3849bb5bf60d
3
+ size 338482
car_cdr_seq_40k.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:227647b0c0f121d3c49dfa66187d0572768388d3f04ef89696456bd1875d5c7f
3
- size 1317512
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:524b5c5604497fb84691274cb53f393d23fe35a24942da78961d047dd38f75f0
3
+ size 1338181
car_cdr_seq_40k_tuc.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:79a83bdf7e785cc836e32b63fb2c93b8f381ca24a0ac4ef2cb80e99cb3f24d5c
3
- size 1356014
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a74a94f07cab917bcaa6495226e916ff3630a5ad6debc7f0d4914f8e53dc8a36
3
+ size 1517108
car_cdr_seq_path.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:21eae58557c8d872b68fbe3f4a07f2794fbce02916d9b7517ba7d721e5f9476f
3
- size 350890
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a810a3745906003ea2f37c0b45d77acc3fbfefa96574f98710b8e77943290fee
3
+ size 359545
car_cdr_seq_path_40k.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1f995b1758a02d3dcb83e00d61d3aff7e4151006259f9485be44d82ffa998959
3
- size 1391078
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5932560411418c43addce8e512fdfbaf5a055170c8c1c751c05e85aa86f4d04f
3
+ size 1418186
car_cdr_seq_path_40k_tuc.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f1966c2936c2ec816f1652a3fd2e8909d97b416c06d9412a2b5b7c082d86edff
3
- size 1433208
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd4bc7c9fe00311952bd336825b98dec3e1b44d5a3aee3216b7403d566d1102b
3
+ size 1608746
car_cdr_seq_path_tuc.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:13268c6c054f316da29941047079b0febbfb61370788b123ed994e54db8f07ef
3
- size 361916
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c744fdf651222e5fd4006498960ddaf0ea8b1ec10ef7db273ae231e50f454128
3
+ size 407363
car_cdr_seq_tuc.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4c8d1fe1a2dbd8a7bb443c0b02e5f813080f315d8aebabfebdf5be34155813a6
3
- size 341644
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b2e8dd2f339e8de3ab3a10f77f163f1a416d569cf25ae15f2b4c5a8f97b3c800
3
+ size 384227
logical_logical_stb.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:538f339597c1a32d4f40b604bf7ebe7c3609b5f65998ee8d3dd215903aaef3a6
3
+ size 450640
logical_logical_stb_40k.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7beaad0033b8fb0f91a8504f92881433e74351a9c768952152fc901ea23acac5
3
+ size 1781925
passive_logical_ssb.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:87d271ea33ebbbd23d4687772450d22a615834f807d99a1307f8e4c141fde845
3
+ size 328240
passive_logical_ssb_40k.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b534dd7e35ab0665ea1ac15d19f0a76a694d3509e0362758725cd3d0eb1233a6
3
+ size 1297601
passive_logical_ttb.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:95cbe08ed9ff4af510ef24708dde7dc57b7beecd3a85ac415df6e8e763f3709c
3
- size 363364
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:251075fc32da125fd2363cd97f61b53f4b29fc462101feb940b4f4332dcd8f25
3
+ size 423560
passive_logical_ttb_40k.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8192baf4c5e1e5cca1a9ab24a9ab00df1ff587376140808262ab3c923da43254
3
- size 1442210
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:104f56d2804e532db2d974e1792433d5ee86ce28bd8be321365716e6fbabf2ce
3
+ size 1675739
passive_passive_stb.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:af83d88bb288b88b4b9337d12bf4eca296faea66ba40886a6748f5549e9c92cf
3
- size 391492
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d68e71d54265a41c6d2c8f4703f25be76109666a859c58cf4b81f671f05b22e
3
+ size 470805
passive_passive_stb_40k.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8efd9d40efaf628aae8a5ec75673cc6b027a72c05086023af93679d5808356b8
3
- size 1558842
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4661af40e2d88682c6bcede5a3840c0f0973614051edcfd6634013efe53949b3
3
+ size 1864977