Stanislav Kalinin commited on
Commit
1c4dfa3
1 Parent(s): 71ba84f

chore: Update dataset_infos.json

Browse files
Files changed (2) hide show
  1. dataset_infos.json +1 -14
  2. school_notebooks_EN.py +2 -2
dataset_infos.json CHANGED
@@ -1,14 +1 @@
1
- {
2
- "default": {
3
- "description": "Dataset of school notebooks in English",
4
- "features": {
5
- "image": {"decode": true, "id": null, "_type": "Image"}
6
- },
7
- "splits": {"test": {
8
- "name": "train",
9
- "num_bytes": 15374,
10
- "num_examples": 90,
11
- "dataset_name": "images"
12
- }}
13
- }
14
- }
 
1
+ {"default": {"description": "", "citation": "", "homepage": "", "license": "", "features": {"image": {"decode": true, "id": null, "_type": "Image"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "school_notebooks_en", "config_name": "default", "version": {"version_str": "0.0.0", "description": null, "major": 0, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 15374, "num_examples": 90, "dataset_name": "school_notebooks_en"}}, "download_checksums": {"images.zip": {"num_bytes": 356400252, "checksum": "295ab37246a1ec976f50019ab77b3bb35543b0cdcbd2b825a7949c4959448a75"}}, "download_size": 356400252, "post_processing_size": null, "dataset_size": 15374, "size_in_bytes": 356415626}}
 
 
 
 
 
 
 
 
 
 
 
 
 
school_notebooks_EN.py CHANGED
@@ -2,7 +2,7 @@ import os
2
  import datasets
3
 
4
 
5
- class FixturesOCR(datasets.GeneratorBasedBuilder):
6
  def _info(self):
7
  return datasets.DatasetInfo(
8
  features=datasets.Features(
@@ -14,7 +14,7 @@ class FixturesOCR(datasets.GeneratorBasedBuilder):
14
 
15
  def _split_generators(self, dl_manager):
16
  DL_URLS = [
17
- "https://huggingface.co/datasets/sberbank-ai/school_notebooks_EN/resolve/main/images.zip"
18
  ]
19
  data_files = dl_manager.download_and_extract(DL_URLS)
20
 
 
2
  import datasets
3
 
4
 
5
+ class SchoolNotebooks(datasets.GeneratorBasedBuilder):
6
  def _info(self):
7
  return datasets.DatasetInfo(
8
  features=datasets.Features(
 
14
 
15
  def _split_generators(self, dl_manager):
16
  DL_URLS = [
17
+ "images.zip"
18
  ]
19
  data_files = dl_manager.download_and_extract(DL_URLS)
20