All Projects → daiquocnguyen → Capse

daiquocnguyen / Capse

Licence: apache-2.0
A Capsule Network-based Embedding Model for Knowledge Graph Completion and Search Personalization (NAACL 2019)

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Capse

typedb
TypeDB: a strongly-typed database
Stars: ✭ 3,152 (+2664.91%)
Mutual labels:  knowledge-graph, knowledge-base
Logseq
A privacy-first, open-source platform for knowledge management and collaboration. Desktop app download link: https://github.com/logseq/logseq/releases, roadmap: https://trello.com/b/8txSM12G/roadmap
Stars: ✭ 8,210 (+7101.75%)
Mutual labels:  knowledge-base, knowledge-graph
awesome-ontology
A curated list of ontology things
Stars: ✭ 73 (-35.96%)
Mutual labels:  knowledge-graph, knowledge-base
Simple
SimplE Embedding for Link Prediction in Knowledge Graphs
Stars: ✭ 104 (-8.77%)
Mutual labels:  knowledge-graph, knowledge-base
Workbase
Grakn Workbase (Knowledge IDE)
Stars: ✭ 106 (-7.02%)
Mutual labels:  knowledge-graph, knowledge-base
harika
Offline-, mobile-first graph note-taking app focused on performance with the knowledgebase of any scale
Stars: ✭ 111 (-2.63%)
Mutual labels:  knowledge-graph, knowledge-base
Graphbrain
Language, Knowledge, Cognition
Stars: ✭ 294 (+157.89%)
Mutual labels:  knowledge-graph, knowledge-base
Grakn
TypeDB: a strongly-typed database
Stars: ✭ 2,947 (+2485.09%)
Mutual labels:  knowledge-graph, knowledge-base
Athens
Free self-hosted desktop app: https://github.com/athensresearch/athens/releases; Try the demo at https://athensresearch.github.io/athens; Docs viewable at https://athensresearch.github.io/docs/
Stars: ✭ 5,501 (+4725.44%)
Mutual labels:  knowledge-graph, knowledge-base
Dynamic Kg
Dynamic (Temporal) Knowledge Graph Completion (Reasoning)
Stars: ✭ 381 (+234.21%)
Mutual labels:  knowledge-graph, knowledge-base
CONVEX
As far as we know, CONVEX is the first unsupervised method for conversational question answering over knowledge graphs. A demo and our benchmark (and more) can be found at
Stars: ✭ 24 (-78.95%)
Mutual labels:  knowledge-graph, knowledge-base
Awesome Knowledge Management
A curated list of amazingly awesome articles, people, applications, software libraries and projects related to the knowledge management space
Stars: ✭ 758 (+564.91%)
Mutual labels:  knowledge-graph, knowledge-base
hugo-documentation-theme
📖 Project Docs / Knowledge Base template for Hugo Website Builder. 创建项目文档
Stars: ✭ 101 (-11.4%)
Mutual labels:  knowledge-graph, knowledge-base
KGReasoning
Multi-Hop Logical Reasoning in Knowledge Graphs
Stars: ✭ 197 (+72.81%)
Mutual labels:  knowledge-graph, knowledge-base
Zincbase
A batteries-included kit for knowledge graphs
Stars: ✭ 249 (+118.42%)
Mutual labels:  knowledge-graph, knowledge-base
typedb-loader
TypeDB Loader - Data Migration Tool for TypeDB
Stars: ✭ 43 (-62.28%)
Mutual labels:  knowledge-graph, knowledge-base
Aser
ASER (activities, states, events, and their relations), a large-scale eventuality knowledge graph extracted from more than 11-billion-token unstructured textual data.
Stars: ✭ 171 (+50%)
Mutual labels:  knowledge-graph, knowledge-base
Kbgan
Code for "KBGAN: Adversarial Learning for Knowledge Graph Embeddings" https://arxiv.org/abs/1711.04071
Stars: ✭ 186 (+63.16%)
Mutual labels:  knowledge-graph, knowledge-base
Ccks2019 el
CCKS 2019 中文短文本实体链指比赛技术创新奖解决方案
Stars: ✭ 326 (+185.96%)
Mutual labels:  knowledge-graph, knowledge-base
Atomspace
The OpenCog (hyper-)graph database and graph rewriting system
Stars: ✭ 495 (+334.21%)
Mutual labels:  knowledge-graph, knowledge-base

A Capsule Network-based Embedding Model for Knowledge Graph Completion and Search PersonalizationTwitter

GitHub top languageGitHub repo sizeGitHub last commitGitHub forksGitHub starsGitHub

This program provides the implementation of the capsule network-based model CapsE as described in the paper:

    @InProceedings{Nguyen2019CapsE,
      author={Dai Quoc Nguyen and Thanh Vu and Tu Dinh Nguyen and Dat Quoc Nguyen and Dinh Phung},
      title={{A Capsule Network-based Embedding Model for Knowledge Graph Completion and Search Personalization}},
      booktitle={Proceedings of the 2019 Annual Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT)},
      year={2019},
      pages={2180--2189}
      }

Usage

Requirements

  • Python 3
  • Tensorflow >= 1.6

Training

    $ python CapsE.py --embedding_dim 100 --num_epochs 31 --num_filters 50 --learning_rate 0.0001 --name FB15k-237 --useConstantInit --savedEpochs 30 --model_name fb15k237
    
    $ python CapsE.py --embedding_dim 100 --num_epochs 31 --num_filters 400 --learning_rate 0.00001 --name WN18RR --savedEpochs 30 --model_name wn18rr

Evaluation metrics

Depending on the memory resources, you should change the values of --num_splits to a suitable value to get a faster process. To get the results (supposing num_splits = 8):

    $ python evalCapsE.py --embedding_dim 100 --num_filters 50 --name FB15k-237 --useConstantInit --model_index 30 --model_name fb15k237 --num_splits 8 --decode
    
    $ python evalCapsE.py --embedding_dim 100 --num_filters 400 --name WN18RR --model_index 30 --model_name wn18rr --num_splits 8 --decode

Note SEARCH17

As in an agreement, you have to cite the paper Search Personalization with Embeddings whenever SEARCH17 is used to produce your published results. Unzip doc2vec.200.zip in the data/SEARCH17 folder.

At the moment, I cannot release the text because of the privacy issues.

License

Please cite the paper whenever CapsE is used to produce published results or incorporated into other software. As a free open-source implementation, CapsE is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. All other warranties including, but not limited to, merchantability and fitness for purpose, whether express, implied, or arising by operation of law, course of dealing, or trade usage are hereby disclaimed. I believe that the programs compute what I claim they compute, but I do not guarantee this. The programs may be poorly and inconsistently documented and may contain undocumented components, features or modifications. I make no guarantee that these programs will be suitable for any application.

CapsE is is licensed under the Apache License 2.0.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].