A PyTorch implementation combining Graph Convolutional Networks with OpenNMT-py for structured data to text generation.
Graph-2-text is a PyTorch-based research implementation that combines Graph Convolutional Networks (GCNs) with the OpenNMT-py library to generate natural language text from structured graph data. It addresses the challenge of converting graph-structured information, such as knowledge graphs or semantic representations, into coherent textual descriptions. The model is designed for structured data-to-text generation tasks, providing a neural approach that leverages graph encoders.
Researchers and practitioners in natural language generation, computational linguistics, and graph neural networks who need to generate text from structured data like knowledge graphs or semantic representations.
It offers a reproducible, extensible codebase that integrates graph neural networks with sequence-to-sequence models, specifically tailored for structured data-to-text tasks. The implementation provides configurable GCN architectures and supports research experimentation with copy mechanisms and pre-trained embeddings.
Graph to sequence implemented in Pytorch combining Graph convolutional networks and opennmt-py
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Processes graph-structured data with nodes and labeled edges, enabling structured input representation for tasks like WebNLG, as detailed in the features and implementation.
Leverages the established OpenNMT-py sequence-to-sequence framework for text generation, ensuring compatibility with standard neural machine learning pipelines.
Includes options for copy attention to handle out-of-vocabulary tokens, improving generation accuracy, as mentioned in the preprocessing and training steps.
Allows multi-layer GCN setups with residual or dense connections, plus optional edge and node gates for controlled information flow, based on command-line arguments.
Relies on PyTorch 0.3.1, which is significantly outdated and may cause compatibility issues with modern systems and libraries, limiting updates and support.
Requires extensive, manual steps for data extraction and preprocessing (e.g., using scripts for WebNLG and SR11), making setup cumbersome and error-prone.
Primarily tailored for specific datasets like WebNLG and SR11, with scripts and instructions focused on these, lacking generalization for custom graph data without significant modification.