Update nell_relational_similarity.py
Browse files
nell_relational_similarity.py
CHANGED
@@ -4,7 +4,7 @@ import datasets
|
|
4 |
logger = datasets.logging.get_logger(__name__)
|
5 |
_DESCRIPTION = """NELL-one for relational similarity"""
|
6 |
_NAME = "nell_relational_similarity"
|
7 |
-
_VERSION = "0.0.
|
8 |
_CITATION = """@inproceedings{xiong-etal-2018-one,
|
9 |
title = "One-Shot Relational Learning for Knowledge Graphs",
|
10 |
author = "Xiong, Wenhan and
|
@@ -28,7 +28,7 @@ _HOME_PAGE = "https://github.com/asahi417/relbert"
|
|
28 |
_URL = f'https://huggingface.co/datasets/relbert/{_NAME}/raw/main/data'
|
29 |
_URLS = {
|
30 |
str(datasets.Split.TRAIN): [f'{_URL}/train.jsonl'],
|
31 |
-
str(datasets.Split.VALIDATION): [f'{_URL}/
|
32 |
str(datasets.Split.TEST): [f'{_URL}/test.jsonl'],
|
33 |
}
|
34 |
|
|
|
4 |
logger = datasets.logging.get_logger(__name__)
|
5 |
_DESCRIPTION = """NELL-one for relational similarity"""
|
6 |
_NAME = "nell_relational_similarity"
|
7 |
+
_VERSION = "0.0.2"
|
8 |
_CITATION = """@inproceedings{xiong-etal-2018-one,
|
9 |
title = "One-Shot Relational Learning for Knowledge Graphs",
|
10 |
author = "Xiong, Wenhan and
|
|
|
28 |
_URL = f'https://huggingface.co/datasets/relbert/{_NAME}/raw/main/data'
|
29 |
_URLS = {
|
30 |
str(datasets.Split.TRAIN): [f'{_URL}/train.jsonl'],
|
31 |
+
str(datasets.Split.VALIDATION): [f'{_URL}/validation.jsonl'],
|
32 |
str(datasets.Split.TEST): [f'{_URL}/test.jsonl'],
|
33 |
}
|
34 |
|