|
14 | 14 | "id": "73b4dca6-3257-4709-aac0-9ae6441216aa", |
15 | 15 | "metadata": {}, |
16 | 16 | "source": [ |
17 | | - "# Training Neural Bellman-Ford networks (NBFnet) for inductive knowledge graph link prediction on IPUs\n", |
| 17 | + "# Training Neural Bellman-Ford networks (NBFnet) for inductive knowledge graph link prediction on IPUs \n", |
18 | 18 | "\n", |
19 | 19 | "<a href=\"https://arxiv.org/abs/2106.06935\" target=\"_blank\">Neural Bellman-Ford networks (NBFNet)</a> is a model that generalises path-based reasoning models for predicting links in homogeneous and heterogeneous graphs. \n", |
20 | 20 | "\n", |
21 | 21 | "In this notebook we use NBFNet for link prediction in the FB15k-237 knowledge graph with 14541 entities, 237 relation types and 272115 triples. However in practice we explicitly insert reverse edges, which brings us to a total of 474 relation types and 544230 triples.\n", |
22 | 22 | "\n", |
23 | 23 | "Unlike many other knowledge graph completion models, NBFNet can be *inductive*, in other words it can generalise to entities that do not appear in the training data. To demonstrate this inductive behaviour we train the model on a small subset of the graph (4707 entities, 54406 triples) and perform inference on the complete FB15k-237 graph.\n", |
24 | 24 | "\n", |
| 25 | + "| Domain | Tasks | Model | Datasets | Workflow | Number of IPUs | Execution time |\n", |
| 26 | + "|---------|-------|-------|----------|----------|--------------------|----------------|\n", |
| 27 | + "| GNNs | Link Prediction | NBFNet | FB15k-237 | Training, evaluation | recommended: 16 (min: 4) | 20mn |\n", |
| 28 | + "\n", |
25 | 29 | "This notebook assumes some familiarity with PopTorch as well as PyTorch Geometric (PyG). For additional resources please consult:\n", |
26 | 30 | "* [PopTorch Documentation](https://docs.graphcore.ai/projects/poptorch-user-guide/en/latest/index.html),\n", |
27 | 31 | "* [PopTorch Examples and Tutorials](https://docs.graphcore.ai/en/latest/examples.html#pytorch),\n", |
|
617 | 621 | "name": "python", |
618 | 622 | "nbconvert_exporter": "python", |
619 | 623 | "pygments_lexer": "ipython3", |
620 | | - "version": "3.8.10 (default, Nov 14 2022, 12:59:47) \n[GCC 9.4.0]" |
| 624 | + "version": "3.8.10 (default, Mar 13 2023, 10:26:41) \n[GCC 9.4.0]" |
621 | 625 | }, |
622 | 626 | "pycharm": { |
623 | 627 | "stem_cell": { |
|
0 commit comments