albertvillanova HF staff sabilmakbar commited on
Commit
59af692
1 Parent(s): 363b2d5

Fix the file pointer in Dataset Loading for Test Split (#5)

Browse files

- Fix the file pointer in Dataset Loading for Test Split (da31b3131bc15249311a59980af41f74b892e9d2)
- Update metadata in dataset card (c007ed5f006729b84df2ec7f54515aaa1606d0e5)


Co-authored-by: Sabil M Akbar <sabilmakbar@users.noreply.huggingface.co>

Files changed (2) hide show
  1. README.md +5 -5
  2. dengue_filipino.py +1 -1
README.md CHANGED
@@ -56,16 +56,16 @@ dataset_info:
56
  '1': '1'
57
  splits:
58
  - name: train
59
- num_bytes: 428553
60
  num_examples: 4015
61
  - name: test
62
- num_bytes: 428553
63
- num_examples: 4015
64
  - name: validation
65
- num_bytes: 54384
66
  num_examples: 500
67
  download_size: 156014
68
- dataset_size: 911490
69
  ---
70
 
71
  # Dataset Card for Dengue Dataset in Filipino
 
56
  '1': '1'
57
  splits:
58
  - name: train
59
+ num_bytes: 428549
60
  num_examples: 4015
61
  - name: test
62
+ num_bytes: 57364
63
+ num_examples: 500
64
  - name: validation
65
+ num_bytes: 54380
66
  num_examples: 500
67
  download_size: 156014
68
+ dataset_size: 540293
69
  ---
70
 
71
  # Dataset Card for Dengue Dataset in Filipino
dengue_filipino.py CHANGED
@@ -74,7 +74,7 @@ class DengueFilipino(datasets.GeneratorBasedBuilder):
74
  """Returns SplitGenerators."""
75
  data_dir = dl_manager.download_and_extract(_URL)
76
  train_path = os.path.join(data_dir, "dengue", "train.csv")
77
- test_path = os.path.join(data_dir, "dengue", "train.csv")
78
  validation_path = os.path.join(data_dir, "dengue", "valid.csv")
79
 
80
  return [
 
74
  """Returns SplitGenerators."""
75
  data_dir = dl_manager.download_and_extract(_URL)
76
  train_path = os.path.join(data_dir, "dengue", "train.csv")
77
+ test_path = os.path.join(data_dir, "dengue", "test.csv")
78
  validation_path = os.path.join(data_dir, "dengue", "valid.csv")
79
 
80
  return [