/srv/home/bhattacharyya/anaconda3/envs/py3.7/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint8 = np.dtype([("qint8", np.int8, 1)]) /srv/home/bhattacharyya/anaconda3/envs/py3.7/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_quint8 = np.dtype([("quint8", np.uint8, 1)]) /srv/home/bhattacharyya/anaconda3/envs/py3.7/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint16 = np.dtype([("qint16", np.int16, 1)]) /srv/home/bhattacharyya/anaconda3/envs/py3.7/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:519: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_quint16 = np.dtype([("quint16", np.uint16, 1)]) /srv/home/bhattacharyya/anaconda3/envs/py3.7/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:520: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint32 = np.dtype([("qint32", np.int32, 1)]) /srv/home/bhattacharyya/anaconda3/envs/py3.7/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. np_resource = np.dtype([("resource", np.ubyte, 1)]) /srv/home/bhattacharyya/anaconda3/envs/py3.7/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:541: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint8 = np.dtype([("qint8", np.int8, 1)]) /srv/home/bhattacharyya/anaconda3/envs/py3.7/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:542: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_quint8 = np.dtype([("quint8", np.uint8, 1)]) /srv/home/bhattacharyya/anaconda3/envs/py3.7/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:543: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint16 = np.dtype([("qint16", np.int16, 1)]) /srv/home/bhattacharyya/anaconda3/envs/py3.7/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:544: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_quint16 = np.dtype([("quint16", np.uint16, 1)]) /srv/home/bhattacharyya/anaconda3/envs/py3.7/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:545: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint32 = np.dtype([("qint32", np.int32, 1)]) /srv/home/bhattacharyya/anaconda3/envs/py3.7/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:550: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. np_resource = np.dtype([("resource", np.ubyte, 1)]) 2021-09-20 08:30:23.437400: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2021-09-20 08:30:23.470657: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2099990000 Hz 2021-09-20 08:30:23.472450: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x55f3e4b68070 executing computations on platform Host. Devices: 2021-09-20 08:30:23.472494: I tensorflow/compiler/xla/service/service.cc:175] StreamExecutor device (0): , 2021-09-20 08:30:24.385195: W tensorflow/compiler/jit/mark_for_compilation_pass.cc:1412] (One-time warning): Not using XLA:CPU for cluster because envvar TF_XLA_FLAGS=--tf_xla_cpu_global_jit was not set. If you want XLA:CPU, either set that envvar, or use experimental_jit_scope to enable XLA:CPU. To confirm that XLA is active, pass --vmodule=xla_compilation_cache=1 (as a proper command-line flag, not via TF_XLA_FLAGS) or set the envvar XLA_FLAGS=--xla_hlo_profile. The dataframe X: ent1 rel ent2 0 6 17 1973 1 9 17 183 2 9 19 3275 3 9 19 9511 4 9 19 10002 Value counts for relation: 19 28464 17 25865 27 9198 18 2802 2 1856 10 673 20 673 28 652 12 548 22 548 5 384 16 314 26 314 8 154 7 59 9 46 29 35 3 31 1 19 24 11 14 11 11 9 21 9 13 5 6 5 23 5 15 4 25 4 4 3 30 2 Name: rel, dtype: int64 Changing the edge structure from (synset -> synset) to (word -> word) Number of edges with words as nodes = 388301 Training set = (268301, 3) Test set1 = (40000, 3) Test set2 = (40000, 3) DistMult Model: Fold 1: Results: Test mrr = 0.4386537682627838 Test hits_at_1 score = 0.3430625 Test hits_at_3 score = 0.4736625 Test hits_at_10 score = 0.6436 Fold 2: Results: Test mrr = 0.43797370873235014 Test hits_at_1 score = 0.3420375 Test hits_at_3 score = 0.4726375 Test hits_at_10 score = 0.6429625 Fold 3: Results: Test mrr = 0.4369523396724293 Test hits_at_1 score = 0.341475 Test hits_at_3 score = 0.4709125 Test hits_at_10 score = 0.643375 ComplEx Model: Fold 1: Results: Test mrr = 0.49105560262727704 Test hits_at_1 score = 0.3809625 Test hits_at_3 score = 0.5577875 Test hits_at_10 score = 0.6952 Fold 2: Results: Test mrr = 0.4929840792049159 Test hits_at_1 score = 0.383425 Test hits_at_3 score = 0.5587875 Test hits_at_10 score = 0.6976875 Fold 3: Results: Test mrr = 0.49205072581062886 Test hits_at_1 score = 0.3822 Test hits_at_3 score = 0.5577875 Test hits_at_10 score = 0.6959625 HolE Model: Fold 1: Results: Test mrr = 0.501793329278773 Test hits_at_1 score = 0.4087625 Test hits_at_3 score = 0.5344625 Test hits_at_10 score = 0.7026 Fold 2: Results: Test mrr = 0.50503812044765 Test hits_at_1 score = 0.41345 Test hits_at_3 score = 0.5384875 Test hits_at_10 score = 0.70275 Fold 3: Results: Test mrr = 0.5056886726764588 Test hits_at_1 score = 0.413475 Test hits_at_3 score = 0.5402625 Test hits_at_10 score = 0.7048125