Update t_rex.py
Browse files
t_rex.py
CHANGED
|
@@ -7,7 +7,7 @@ import datasets
|
|
| 7 |
logger = datasets.logging.get_logger(__name__)
|
| 8 |
_DESCRIPTION = """T-Rex dataset."""
|
| 9 |
_NAME = "t_rex"
|
| 10 |
-
_VERSION = "1.0.
|
| 11 |
_CITATION = """
|
| 12 |
@inproceedings{elsahar2018t,
|
| 13 |
title={T-rex: A large scale alignment of natural language with knowledge base triples},
|
|
@@ -20,8 +20,8 @@ _CITATION = """
|
|
| 20 |
_HOME_PAGE = "https://github.com/asahi417/relbert"
|
| 21 |
_URL = f'https://huggingface.co/datasets/relbert/{_NAME}/resolve/main/data'
|
| 22 |
_URLS = {
|
| 23 |
-
str(datasets.Split.TRAIN): [f'{_URL}/t_rex.filter_unified.train.jsonl'],
|
| 24 |
-
str(datasets.Split.VALIDATION): [f'{_URL}/t_rex.filter_unified.validation.jsonl'],
|
| 25 |
str(datasets.Split.TEST): [f'{_URL}/t_rex.filter_unified.test.jsonl']
|
| 26 |
}
|
| 27 |
|
|
|
|
| 7 |
logger = datasets.logging.get_logger(__name__)
|
| 8 |
_DESCRIPTION = """T-Rex dataset."""
|
| 9 |
_NAME = "t_rex"
|
| 10 |
+
_VERSION = "1.0.3"
|
| 11 |
_CITATION = """
|
| 12 |
@inproceedings{elsahar2018t,
|
| 13 |
title={T-rex: A large scale alignment of natural language with knowledge base triples},
|
|
|
|
| 20 |
_HOME_PAGE = "https://github.com/asahi417/relbert"
|
| 21 |
_URL = f'https://huggingface.co/datasets/relbert/{_NAME}/resolve/main/data'
|
| 22 |
_URLS = {
|
| 23 |
+
str(datasets.Split.TRAIN): [f'{_URL}/t_rex.filter_unified.min_entity_5.train.jsonl'],
|
| 24 |
+
str(datasets.Split.VALIDATION): [f'{_URL}/t_rex.filter_unified.min_entity_5.validation.jsonl'],
|
| 25 |
str(datasets.Split.TEST): [f'{_URL}/t_rex.filter_unified.test.jsonl']
|
| 26 |
}
|
| 27 |
|