Update t_rex_relational_similarity.py
Browse files
t_rex_relational_similarity.py
CHANGED
@@ -7,7 +7,7 @@ import datasets
|
|
7 |
logger = datasets.logging.get_logger(__name__)
|
8 |
_DESCRIPTION = """T-Rex dataset."""
|
9 |
_NAME = "t_rex_relational_similarity"
|
10 |
-
_VERSION = "0.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}/
|
24 |
-
str(datasets.Split.VALIDATION): [f'{_URL}/
|
25 |
str(datasets.Split.TEST): [f'{_URL}/filter_unified.test.jsonl']
|
26 |
}
|
27 |
|
|
|
7 |
logger = datasets.logging.get_logger(__name__)
|
8 |
_DESCRIPTION = """T-Rex dataset."""
|
9 |
_NAME = "t_rex_relational_similarity"
|
10 |
+
_VERSION = "0.0.5"
|
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}/filter_unified.train.jsonl'],
|
24 |
+
str(datasets.Split.VALIDATION): [f'{_URL}/filter_unified.validation.jsonl'],
|
25 |
str(datasets.Split.TEST): [f'{_URL}/filter_unified.test.jsonl']
|
26 |
}
|
27 |
|