Closed yzho0907 closed 5 years ago
It is only for the case when a dataset consists of negative samples. You can see such datasets as WN11 and FB13 for the triple classification task.
thx, but do u mean there is no any invalid triple in FB15k237 and WN18RR during the training process?
During training, invalid triples are sampled by corrupting valid triples, using the common Bernoulli strategy. You can see this in the training protocol section in our paper.
is corrupting part in builddata_softplus.py? thx for your kind patience
` def parse_line(line): line = line.strip().split() sub = line[0] rel = line[1] obj = line[2] val = [1] if len(line) > 3: if line[3] == '-1':
print('entered')