mstz commited on
Commit
c479416
1 Parent(s): e589b40

Update victorian_authorship.py

Browse files
Files changed (1) hide show
  1. victorian_authorship.py +1 -3
victorian_authorship.py CHANGED
@@ -32,7 +32,6 @@ _CITATION = """
32
  # Dataset info
33
  urls_per_split = {
34
  "train": "https://huggingface.co/datasets/mstz/victorian_authorship/resolve/main/train.csv",
35
- "test": "https://huggingface.co/datasets/mstz/victorian_authorship/resolve/main/test.csv",
36
  }
37
  features_types_per_config = {
38
  "authorship": {
@@ -68,8 +67,7 @@ class Victorian(datasets.GeneratorBasedBuilder):
68
  downloads = dl_manager.download_and_extract(urls_per_split)
69
 
70
  return [
71
- datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": downloads["train"]}),
72
- datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={"filepath": downloads["test"]})
73
  ]
74
 
75
  def _generate_examples(self, filepath: str):
 
32
  # Dataset info
33
  urls_per_split = {
34
  "train": "https://huggingface.co/datasets/mstz/victorian_authorship/resolve/main/train.csv",
 
35
  }
36
  features_types_per_config = {
37
  "authorship": {
 
67
  downloads = dl_manager.download_and_extract(urls_per_split)
68
 
69
  return [
70
+ datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": downloads["train"]})
 
71
  ]
72
 
73
  def _generate_examples(self, filepath: str):