ibaucells commited on
Commit
053a9a0
1 Parent(s): 4554bc0

Update COPA-ca.py

Browse files
Files changed (1) hide show
  1. COPA-ca.py +12 -1
COPA-ca.py CHANGED
@@ -22,7 +22,18 @@ _TRAINING_FILE = "copa-ca.train.jsonl"
22
  _DEV_FILE = "copa-ca.val.jsonl"
23
  _TEST_FILE = "copa-ca.test.jsonl"
24
 
25
- class copaCaConfig(datasets.GeneratorBasedBuilder):
 
 
 
 
 
 
 
 
 
 
 
26
  """ COPA-ca Dataset """
27
 
28
  BUILDER_CONFIGS = [
 
22
  _DEV_FILE = "copa-ca.val.jsonl"
23
  _TEST_FILE = "copa-ca.test.jsonl"
24
 
25
+
26
+ class copaCaConfig(datasets.BuilderConfig):
27
+ """ Builder config for the COPA-ca dataset """
28
+
29
+ def __init__(self, **kwargs):
30
+ """BuilderConfig for COPA-ca.
31
+ Args:
32
+ **kwargs: keyword arguments forwarded to super.
33
+ """
34
+ super(copaCaConfig, self).__init__(**kwargs)
35
+
36
+ class copaCa(datasets.GeneratorBasedBuilder):
37
  """ COPA-ca Dataset """
38
 
39
  BUILDER_CONFIGS = [