Stanislav Kalinin commited on
Commit
c5a2483
1 Parent(s): d8e36e0

chore: Update dataset_infos.json

Browse files
Files changed (2) hide show
  1. Peter.py +2 -2
  2. dataset_infos.json +3 -14
Peter.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/Peter/resolve/main/images.zip"
18
  ]
19
  data_files = dl_manager.download_and_extract(DL_URLS)
20
 
 
2
  import datasets
3
 
4
 
5
+ class Peter(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
 
dataset_infos.json CHANGED
@@ -1,14 +1,3 @@
1
- {
2
- "default": {
3
- "description": "Digital Peter: recognition of Peter the Great's manuscripts",
4
- "features": {
5
- "image": {"decode": true, "id": null, "_type": "Image"}
6
- },
7
- "splits": {"test": {
8
- "name": "train",
9
- "num_bytes": 100259,
10
- "num_examples": 662,
11
- "dataset_name": "images"
12
- }}
13
- }
14
- }
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cae139928d7cdc8ef961757d8bb9a0713053aeba76ae15d07c1ce4fc134993cc
3
+ size 729