LDGCNs
Lightweight, Dynamic Graph Convolutional Networksfor AMR-to-Text Generation (EMNLP2020)
Install / Use
/learn @yanzhangnlp/LDGCNsREADME
Lightweight, Dynamic Graph Convolutional Networksfor AMR-to-Text Generation (EMNLP2020)
Dependencies
The model requires:
Installation
GPU
If you want to run sockeye on a GPU you need to make sure your version of Apache MXNet Incubating contains the GPU bindings. Depending on your version of CUDA you can do this by running the following:
> pip install -r requirements/requirements.gpu-cu${CUDA_VERSION}.txt
> pip install .
Training
To train the LDGCN model, run (e.g., for AMR2015):
./train_amr15gc.sh
Decoding
When we finish the training, we can use the trained model to decode on the test set, run:
./decode_amr15.sh
This will use the last checkpoint by default. Use --checkpoints to specify a model checkpoint file.
Postprocessing
We use BPE code. In the postprocessing stage, we need to merge them into natural language sequence for evaluation, run:
./merge_amr15.sh
Evaluation
For BLEU score evaluation, run:
./eval_amr15_bleu.sh
Related Skills
node-connect
352.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
