Stern5497 commited on
Commit
0ebad4c
1 Parent(s): d5ebf35

Update swiss_legislation.py

Browse files
Files changed (1) hide show
  1. swiss_legislation.py +2 -2
swiss_legislation.py CHANGED
@@ -41,7 +41,7 @@ This dataset contains Swiss law articles
41
  """
42
 
43
  _URLS = {
44
- "all": "https://huggingface.co/datasets/rcds/doc2doc/resolve/main/lexfind_v2.jsonl.xz",
45
  }
46
 
47
 
@@ -56,7 +56,7 @@ class SwissLegilation(datasets.GeneratorBasedBuilder):
56
  DEFAULT_CONFIG_NAME = "full" # It's not mandatory to have a default configuration. Just use one if it make sense.
57
 
58
  def _info(self):
59
- if self.config.name == "full" or self.config.name == "origin": # This is the name of the configuration selected in BUILDER_CONFIGS above
60
  features = datasets.Features(
61
  {
62
  "canton": datasets.Value("string"),
 
41
  """
42
 
43
  _URLS = {
44
+ "full": "https://huggingface.co/datasets/rcds/doc2doc/resolve/main/lexfind_v2.jsonl.xz",
45
  }
46
 
47
 
 
56
  DEFAULT_CONFIG_NAME = "full" # It's not mandatory to have a default configuration. Just use one if it make sense.
57
 
58
  def _info(self):
59
+ if self.config.name == "full":
60
  features = datasets.Features(
61
  {
62
  "canton": datasets.Value("string"),