Update README.md
Browse files
README.md
CHANGED
|
@@ -83,7 +83,7 @@ parent_norms = model.manifold.dist0(parent_entity_embeddings)
|
|
| 83 |
|
| 84 |
# use the empirical function for subsumption prediction proposed in the paper
|
| 85 |
# `centri_score_weight` and the overall threshold are determined on the validation set
|
| 86 |
-
subsumption_scores = dists + centri_score_weight * (parent_norms - child_norms)
|
| 87 |
```
|
| 88 |
|
| 89 |
Training and evaluation scripts are available at [GitHub](https://github.com/KRR-Oxford/HierarchyTransformers).
|
|
|
|
| 83 |
|
| 84 |
# use the empirical function for subsumption prediction proposed in the paper
|
| 85 |
# `centri_score_weight` and the overall threshold are determined on the validation set
|
| 86 |
+
subsumption_scores = - (dists + centri_score_weight * (parent_norms - child_norms))
|
| 87 |
```
|
| 88 |
|
| 89 |
Training and evaluation scripts are available at [GitHub](https://github.com/KRR-Oxford/HierarchyTransformers).
|