Sean MacAvaney commited on
Commit ·
cc1e9e0
1
Parent(s): 597b485
commit files to HF hub
Browse files- README.md +5 -2
- antique.py +0 -1
README.md
CHANGED
|
@@ -22,9 +22,12 @@ This dataset is used by: [`antique_test`](https://huggingface.co/datasets/irds/a
|
|
| 22 |
|
| 23 |
```python
|
| 24 |
from datasets import load_dataset
|
| 25 |
-
dataset = load_dataset({repr("irds/"+hgf_id)})
|
| 26 |
-
```
|
| 27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
## Citation Information
|
| 30 |
|
|
|
|
| 22 |
|
| 23 |
```python
|
| 24 |
from datasets import load_dataset
|
|
|
|
|
|
|
| 25 |
|
| 26 |
+
docs = load_dataset('irds/antique', 'docs')
|
| 27 |
+
for record in docs:
|
| 28 |
+
record # {'docs': Ellipsis}
|
| 29 |
+
|
| 30 |
+
```
|
| 31 |
|
| 32 |
## Citation Information
|
| 33 |
|
antique.py
CHANGED
|
@@ -16,7 +16,6 @@ _DESCRIPTION = "" # TODO
|
|
| 16 |
|
| 17 |
class antique(datasets.GeneratorBasedBuilder):
|
| 18 |
BUILDER_CONFIGS = [datasets.BuilderConfig(name=e) for e in IRDS_ENTITY_TYPES]
|
| 19 |
-
DEFAULT_CONFIG_NAME = list(IRDS_ENTITY_TYPES)[0]
|
| 20 |
|
| 21 |
def _info(self):
|
| 22 |
return datasets.DatasetInfo(
|
|
|
|
| 16 |
|
| 17 |
class antique(datasets.GeneratorBasedBuilder):
|
| 18 |
BUILDER_CONFIGS = [datasets.BuilderConfig(name=e) for e in IRDS_ENTITY_TYPES]
|
|
|
|
| 19 |
|
| 20 |
def _info(self):
|
| 21 |
return datasets.DatasetInfo(
|