graph4nlp
graph4nlp copied to clipboard
Graph4nlp is the library for the easy use of Graph Neural Networks for NLP. Welcome to visit our DLG4NLP website (https://dlg4nlp.github.io/index.html) for various learning resources!
``` import torch from ...modules.graph_construction.embedding_construction import EmbeddingConstruction from ...modules.utils.padding_utils import pad_2d_vals_no_size from ...modules.utils.vocab_utils import VocabModel if __name__ == "__main__": raw_text_data = [["I like nlp.", "Same here!"], ["I like graph.", "Same...
Thank you for developing such a nice library! I have a problem when using the graph2seq model with my custom graph which has multi-token nodes. I set the config file...
🚀 Feature In the current implementation, RNNs are used as the decoder. I think it would be great to have Transformer as the decoder. Wondering whether this feature is already...
I am using Graph2Seq model for a NMT task. I use GCN as the encoder. **Graph stats:** - I have around 400 nodes in the graph per data point. -...
## ❓ Questions and Help It's quite a while now. So following up. Wondering whether the RGCN implementation is available now in a branch? I wonder how long would it...
Hi and thanks for this library. Since it is not very clear from the examples / documentation, I wanted to ask whether is it possible to train an NMT model...
Task List * [New Feature] A brand new configuration system based on [OmegaConf](https://omegaconf.readthedocs.io/en/2.1_branch/). * [Feature] Upgrade ``stanford CoreNLP`` to [Stanza](https://stanfordnlp.github.io/stanza/). * [Feature] Improve the dataset custermize experiments. * [Feature] Add...
## ❓ Questions and Help I have follow your tutorial on how to using graph4nlp for text classification using the trec data. So i try to create custom dataset for...
## Description ## Checklist Please feel free to remove inapplicable items for your PR. - [ ] The PR title starts with [$CATEGORY] (such as [Doc], [Feature]]) - [ ]...
## ❓ Questions and Help there is a way to plot "GraphData" object in a figure??