GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - hirobf10/KG-NMT: Knowledge Graph-augmented NMT

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

39 Commits
39 Commits

Folders and files

NameName
Last commit message
Last commit date
OpenNMT-py @ 97ad4c6
OpenNMT-py @ 97ad4c6
 
 
entitiy_linker
entitiy_linker
 
 
experiments
experiments
 
 
mt_metrics
mt_metrics
 
 
nmt_scratch
nmt_scratch
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
KGE_creation.sh
KGE_creation.sh
 
 
README.md
README.md
 
 
SemKGE_creation.sh
SemKGE_creation.sh
 
 
download_data.sh
download_data.sh
 
 
install.sh
install.sh
 
 
kg-nmt_KGE+EL_workflow.sh
kg-nmt_KGE+EL_workflow.sh
 
 
kg-nmt_SemKGE_workflow.sh
kg-nmt_SemKGE_workflow.sh
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

KG-NMT - Knowledge Graph-augmented NMT

About

This project aims at delivering a framework which uses knowledge graphs into Neural Networks for augmenting the translation of entities in texts.

All datasets and models

All data pertaining to our publication can be found and downloaded via the command below

wget -r --no-parent https://hobbitdata.informatik.uni-leipzig.de/KG-NMT/ ;

Required steps

Please first run

./install.sh
./download_data.sh en de - it is for reproducing the results from our paper

Please move the file OpenNMT-py/tools/embeddings_to_torch.py to the main folder OpenNMT-py/embeddings_to_torch.py

mv OpenNMT-py/tools/embeddings_to_torch.py OpenNMT-py/

Running steps

If you want to run the first strategy of KG-NMT which relies on the use of Knowledge Graph embeddigns with Entity Link task, you should run

1. ./kg-nmt_KGE+EL_workflow.sh

In case you want to run the second strategy of KG-NMT which relies on the use of Knowledge Graph embeddigns enriched with textual descriptions, please run

2. ./kg-nmt_SemKGE_workflow.sh

KGE creation separately

In case you prefer to create the knowledge graph embeddings before training it along with the NMT, you can run the code below for the KGE without textual descriptions.

1. ./KGE_creation.sh language

Or the one with textual descriptions.

2. ./SemKGE_creation.sh language

Structure

KG-NMT currently consists of the following modules:

  1. OpenNMT-py - NMT submodule component, you can change it for a tensorflow implementation or another NMT system
  2. fastText - responsible for creating knowledge graph embeddings, you can also change it for another KGE implementation
  3. KG-NMT workflows - they are responsible for creating both strategies described in our paper
  4. Entiy Linker - the component responsible for annotating the entities in the billingual parallel corpora, you can also replace for another EL system.

Support and Feedback

If you need help or you have questions do not hesitate to write an email to Diego Moussallem. Or use the issue tracker in the right sidebar.

About

Knowledge Graph-augmented NMT

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.