asahi417 commited on
Commit
2018ecf
1 Parent(s): bd607ef

fix readme

Browse files
Files changed (1) hide show
  1. t_rex_relation_similarity.py +4 -4
t_rex_relation_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_relation_similarity"
10
- _VERSION = "0.0.0"
11
  _CITATION = """
12
  @inproceedings{elsahar2018t,
13
  title={T-rex: A large scale alignment of natural language with knowledge base triples},
@@ -24,9 +24,9 @@ MAX_PREDICATE_FREQ = [100, 50, 25, 10]
24
 
25
  _TYPES = [f"filter_unified.min_entity_{a}_max_predicate_{b}" for a, b in product(MIN_ENTITY_FREQ, MAX_PREDICATE_FREQ)]
26
  _URLS = {i: {
27
- str(datasets.Split.TRAIN): [f'{_URL}/t_rex.{i}.train.jsonl'],
28
- str(datasets.Split.VALIDATION): [f'{_URL}/t_rex.{i}.validation.jsonl'],
29
- str(datasets.Split.TEST): [f'{_URL}/t_rex.filter_unified.test.jsonl']
30
  } for i in _TYPES}
31
 
32
 
 
7
  logger = datasets.logging.get_logger(__name__)
8
  _DESCRIPTION = """T-Rex dataset."""
9
  _NAME = "t_rex_relation_similarity"
10
+ _VERSION = "0.0.1"
11
  _CITATION = """
12
  @inproceedings{elsahar2018t,
13
  title={T-rex: A large scale alignment of natural language with knowledge base triples},
 
24
 
25
  _TYPES = [f"filter_unified.min_entity_{a}_max_predicate_{b}" for a, b in product(MIN_ENTITY_FREQ, MAX_PREDICATE_FREQ)]
26
  _URLS = {i: {
27
+ str(datasets.Split.TRAIN): [f'{_URL}/{i}.train.jsonl'],
28
+ str(datasets.Split.VALIDATION): [f'{_URL}/{i}.validation.jsonl'],
29
+ str(datasets.Split.TEST): [f'{_URL}/filter_unified.test.jsonl']
30
  } for i in _TYPES}
31
 
32