8000 GitHub - WangYuxuan93/G2GConversion
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

WangYuxuan93/G2GConversion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Graph2Graph Conversion

This is the code we used in the following paper

Simple and Effective Graph-to-Graph Annotation Conversion

Yuxuan Wang*, Zhilin Lei*, Yuqiu Ji, Wanxiang Che

Coling 2022

Requirements

Python 3.6, PyTorch >=1.3.1, ...

Running the experiments

First to set the branch:

git checkout -b origin/linear-transfer

Then to the scripts folder:

cd scripts

Training

To train a g2g parser, simply run

./scripts/DFT.sh

Remeber to setup the paths for data, embeddings and other parameters.

Noting

All methods in this paper are included in the branch "linear-transfer", except for the Pattern Embedding method which is coded into the branch "pattern".

Thanks

Thanks to Ma et al. The implementation is based on the dependency parser by Ma et al. (2018) (https://github.com/XuezheMax/NeuroNLP2) and reuses part of its code.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0