graph4nlp
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!
파일 탐색기
최종 버전 다운로드 (.zip)- bug-report.md
- documentation.md
- feature-request.md
- questions-help-support.md
- code_lint_workflows.yml
- documentation_workflows.yml
- PULL_REQUEST_TEMPLATE.md
- __init__.py
- ci_lint.sh
- code_lint.sh
- readme.md
- requirements.txt
- build_and_upload_to_pypi.sh
- README.md
- arch.png
- cons_tree.jpg
- dynamic_graph_overall.pdf
- g2t.png
- IE_graph_v1.jpg
- tree_decoding.jpg
- workflow.png
- graph_classification.rst.txt
- kgcompletion.rst.txt
- link_prediction.rst.txt
- node_classification.rst.txt
- constituency_graph_construction.rst.txt
- dependencygraphconstruction.rst.txt
- dynamic_graph_construction.rst.txt
- embedding_construction.rst.txt
- iegraphconstruction.rst.txt
- customize.rst.txt
- workflow.rst.txt
- a.rst.txt
- b.rst.txt
- stdrnndecoder.rst.txt
- stdtreedecoder.rst.txt
- a.rst.txt
- b.rst.txt
- gat.rst.txt
- gcn.rst.txt
- ggnn.rst.txt
- graphsage.rst.txt
- batching.rst.txt
- construct.rst.txt
- manipulate.rst.txt
- classification.rst.txt
- construction.rst.txt
- dataset.rst.txt
- decoding.rst.txt
- evaluation.rst.txt
- gnn.rst.txt
- graphdata.rst.txt
- data.rst.txt
- datasets.rst.txt
- evaluation.rst.txt
- graph_construction.rst.txt
- graph_embedding.rst.txt
- loss.rst.txt
- prediction.rst.txt
- knowledge_graph_completion.rst.txt
- math_word_problem.rst.txt
- semantic_parsing.rst.txt
- text_classification.rst.txt
- installation.rst.txt
- index.rst.txt
- fontawesome-webfont.eot
- fontawesome-webfont.svg
- fontawesome-webfont.ttf
- fontawesome-webfont.woff
- fontawesome-webfont.woff2
- lato-bold-italic.woff
- lato-bold-italic.woff2
- lato-bold.woff
- lato-bold.woff2
- lato-normal-italic.woff
- lato-normal-italic.woff2
- lato-normal.woff
- lato-normal.woff2
- Roboto-Slab-Bold.woff
- Roboto-Slab-Bold.woff2
- Roboto-Slab-Regular.woff
- Roboto-Slab-Regular.woff2
- badge_only.css
- theme.css
- lato-bold.eot
- lato-bold.ttf
- lato-bold.woff
- lato-bold.woff2
- lato-bolditalic.eot
- lato-bolditalic.ttf
- lato-bolditalic.woff
- lato-bolditalic.woff2
- lato-italic.eot
- lato-italic.ttf
- lato-italic.woff
- lato-italic.woff2
- lato-regular.eot
- lato-regular.ttf
- lato-regular.woff
- lato-regular.woff2
- roboto-slab-v7-bold.eot
- roboto-slab-v7-bold.ttf
- roboto-slab-v7-bold.woff
- roboto-slab-v7-bold.woff2
- roboto-slab-v7-regular.eot
- roboto-slab-v7-regular.ttf
- roboto-slab-v7-regular.woff
- roboto-slab-v7-regular.woff2
- fontawesome-webfont.eot
- fontawesome-webfont.svg
- fontawesome-webfont.ttf
- fontawesome-webfont.woff
- fontawesome-webfont.woff2
- Inconsolata-Bold.ttf
- Inconsolata-Regular.ttf
- Inconsolata.ttf
- Lato-Bold.ttf
- Lato-Regular.ttf
- RobotoSlab-Bold.ttf
- RobotoSlab-Regular.ttf
- badge_only.js
- html5shiv-printshiv.min.js
- html5shiv.min.js
- modernizr.min.js
- theme.js
- basic.css
- doctools.js
- documentation_options.js
- file.png
- jquery-3.4.1.js
- jquery.js
- language_data.js
- minus.png
- plus.png
- pygments.css
- searchtools.js
- underscore-1.3.1.js
- underscore.js
- graph_classification.html
- kgcompletion.html
- link_prediction.html
- node_classification.html
- constituency_graph_construction.html
- dependencygraphconstruction.html
- dynamic_graph_construction.html
- embedding_construction.html
- iegraphconstruction.html
- customize.html
- workflow.html
- a.html
- b.html
- stdrnndecoder.html
- stdtreedecoder.html
- a.html
- b.html
- gat.html
- gcn.html
- ggnn.html
- graphsage.html
- batching.html
- construct.html
- manipulate.html
- classification.html
- construction.html
- dataset.html
- decoding.html
- evaluation.html
- gnn.html
- graphdata.html
- data.html
- datasets.html
- evaluation.html
- graph_construction.html
- graph_embedding.html
- loss.html
- prediction.html
- graph_classification.rst
- kgcompletion.rst
- link_prediction.rst
- node_classification.rst
- __init__.py
- constituency_graph_construction.rst
- dependencygraphconstruction.rst
- dynamic_graph_construction.rst
- embedding_construction.rst
- iegraphconstruction.rst
- customize.rst
- workflow.png
- workflow.pptx
- workflow.rst
- __init__.py
- a.rst
- b.rst
- stdrnndecoder.rst
- stdtreedecoder.rst
- a.rst
- b.rst
- gat.rst
- gcn.rst
- ggnn.rst
- graphsage.rst
- batching.rst
- construct.rst
- manipulate.rst
- cons_tree.jpg
- dynamic_graph_overall.pdf
- IE_graph_v1.jpg
- tree_decoding.jpg
- classification.rst
- construction.rst
- dataset.rst
- decoding.rst
- evaluation.rst
- gnn.rst
- graphdata.rst
- data.rst
- datasets.rst
- evaluation.rst
- graph_construction.rst
- graph_embedding.rst
- loss.rst
- prediction.rst
- g2t.png
- knowledge_graph_completion.rst
- math_word_problem.rst
- semantic_parsing.rst
- text_classification.rst
- installation.rst
- conf.py
- index.rst
- knowledge_graph_completion.html
- math_word_problem.html
- semantic_parsing.html
- text_classification.html
- installation.html
- .buildinfo
- .nojekyll
- arch.pdf
- arch.png
- genindex.html
- index.html
- make.bat
- makedoc.sh
- Makefile
- new.png
- objects.inv
- py-modindex.html
- README.md
- search.html
- searchindex.js
- kinship.yaml
- wn18rr.yaml
- kinship.tar.gz
- WN18RR.tar.gz
- __init__.py
- evaluation.py
- inference.py
- inference_advance.py
- main.py
- model.py
- preprocess.sh
- readme.md
- wrangle_KG.py
- __init__.py
- new_dynamic_graphsage_undirected.yaml
- data_preprocess.ipynb
- dev.json
- test.json
- test.txt
- train.json
- train.txt
- valid.txt
- __init__.py
- config.py
- evaluation.py
- runner.py
- __init__.py
- __init__.py
- new_dynamic_graphsage_undirected.yaml
- new_dynamic_graphsage_undirected_inference.yaml
- test.txt
- train.txt
- valid.txt
- test.txt
- __init__.py
- config.py
- evaluation.py
- inference.py
- inference_advance.py
- runner.py
- __init__.py
- readme.md
- eng.testa
- eng.testb
- eng.train
- conll.py
- conlleval.py
- dependency_graph_construction_without_tokenize.py
- inference.py
- inference_advance.py
- line_graph_construction.py
- main.py
- model.py
- ner_inference.yaml
- readme.md
- dynamic_gcn.yaml
- dynamic_gcn_inference.yaml
- test.pkl
- train.pkl
- val.pkl
- test.pkl
- __init__.py
- args.py
- build_model.py
- dataset.py
- inference.py
- inference_advance.py
- main.py
- preprocess.py
- readme.md
- utils.py
- __init__.py
- new_dependency_ggnn.yaml
- new_dependency_ggnn_bert.yaml
- new_dependency_ggnn_inference.yaml
- qg.yaml
- test.txt
- train.txt
- val.txt
- test.txt
- __init__.py
- fused_embedding_construction.py
- inference.py
- inference_advance.py
- main.py
- readme.md
- __init__.py
- dependency_gcn_bi_sep_demo.yaml
- new_constituency.yaml
- new_constituency_gat_bi_fuse.yaml
- new_constituency_gat_bi_sep.yaml
- new_constituency_gat_undirected.yaml
- new_constituency_gcn_bi_fuse.yaml
- new_constituency_gcn_bi_sep.yaml
- new_constituency_gcn_undirected.yaml
- new_constituency_ggnn_bi_fuse.yaml
- new_constituency_ggnn_bi_sep.yaml
- new_constituency_ggnn_undirected.yaml
- new_constituency_graphsage_bi_fuse.yaml
- new_constituency_graphsage_bi_sep.yaml
- new_constituency_graphsage_undirected.yaml
- new_dependency_gat_bi_fuse.yaml
- new_dependency_gat_bi_sep.yaml
- new_dependency_gat_undirected.yaml
- new_dependency_gcn_bi_fuse.yaml
- new_dependency_gcn_bi_sep.yaml
- new_dependency_gcn_undirected.yaml
- new_dependency_ggnn_bi_fuse.yaml
- new_dependency_ggnn_bi_sep.yaml
- new_dependency_ggnn_undirected.yaml
- new_dependency_graphsage_bi_fuse.yaml
- new_dependency_graphsage_bi_fuse_nocopy.yaml
- new_dependency_graphsage_bi_fuse_nocopycoverage.yaml
- new_dependency_graphsage_bi_fuse_nocoverage.yaml
- new_dependency_graphsage_bi_sep.yaml
- new_dependency_graphsage_bi_sep_nocopy.yaml
- new_dependency_graphsage_bi_sep_nocopycoverage.yaml
- new_dependency_graphsage_bi_sep_nocoverage.yaml
- new_dependency_graphsage_undirected.yaml
- new_dependency_graphsage_undirected_nocopy.yaml
- new_dependency_graphsage_undirected_nocopycoverage.yaml
- new_dependency_graphsage_undirected_nocoverage.yaml
- new_dynamic_gat_bi_fuse.yaml
- new_dynamic_gat_bi_sep.yaml
- new_dynamic_gat_undirected.yaml
- new_dynamic_gcn_bi_fuse.yaml
- new_dynamic_gcn_bi_sep.yaml
- new_dynamic_gcn_undirected.yaml
- new_dynamic_ggnn_bi_fuse.yaml
- new_dynamic_ggnn_bi_sep.yaml
- new_dynamic_ggnn_undirected.yaml
- new_dynamic_graphsage_bi_fuse.yaml
- new_dynamic_graphsage_bi_sep.yaml
- new_dynamic_graphsage_undirected.yaml
- new_dynamic_refine.yaml
- new_dynamic_refine_gat_bi_fuse.yaml
- new_dynamic_refine_gat_bi_sep.yaml
- new_dynamic_refine_gat_undirected.yaml
- new_dynamic_refine_gcn_bi_fuse.yaml
- new_dynamic_refine_gcn_bi_sep.yaml
- new_dynamic_refine_gcn_undirected.yaml
- new_dynamic_refine_ggnn_bi_fuse.yaml
- new_dynamic_refine_ggnn_bi_sep.yaml
- new_dynamic_refine_ggnn_undirected.yaml
- new_dynamic_refine_graphsage_bi_fuse.yaml
- new_dynamic_refine_graphsage_bi_sep.yaml
- new_dynamic_refine_graphsage_undirected.yaml
- __init__.py
- new_dependency_gcn_undirected.yaml
- sequence.txt
- test.txt
- train.txt
- vocab.f.txt
- vocab.q.txt
- test.txt
- __init__.py
- args.py
- build_model.py
- evaluation.py
- inference.py
- inference_advance.py
- main.py
- readme.md
- utils.py
- __init__.py
- new_dynamic_graphsage_undirected.yaml
- test.txt
- train.txt
- __init__.py
- config.py
- evaluation.py
- runner.py
- __init__.py
- __init__.py
- new_constituency_graphsage_undirected.yaml
- new_constituency_graphsage_undirected_inference.yaml
- new_dynamic_graphsage_undirected.yaml
- new_dynamic_graphsage_undirected_inference.yaml
- test.txt
- train.txt
- test.txt
- __init__.py
- config.py
- evaluation.py
- inference.py
- inference_advance.py
- runner.py
- __init__.py
- __init__.py
- readme.md
- __init__.py
- __init__.py
- cnn.yaml
- gcn_bifuse.yaml
- gcn_bifuse_ie.yaml
- gcn_bisep.yaml
- prerpocess.md
- __init__.py
- inference.py
- inference_advance.py
- main.py
- preprocess.py
- readme.md
- rouge.py
- __init__.py
- gat_bi_sep_constituency.yaml
- gat_bi_sep_dependency.yaml
- ggnn_bi_sep_constituency.yaml
- ggnn_bi_sep_dependency.yaml
- ggnn_bi_sep_node_emb.yaml
- ggnn_bi_sep_node_emb_refined_dependency.yaml
- graphsage_bi_sep_constituency.yaml
- graphsage_bi_sep_dependency.yaml
- graphsage_bi_sep_node_emb.yaml
- graphsage_bi_sep_node_emb_refined_dependency.yaml
- gat_bi_fuse_constituency.yaml
- gat_bi_fuse_dependency.yaml
- gat_bi_sep_constituency.yaml
- gat_bi_sep_dependency.yaml
- gat_undirected_constituency.yaml
- ggnn_bi_fuse_constituency.yaml
- ggnn_bi_fuse_dependency.yaml
- ggnn_bi_sep_constituency.yaml
- ggnn_bi_sep_dependency.yaml
- graphsage_bi_fuse_constituency.yaml
- graphsage_bi_fuse_dependency.yaml
- graphsage_bi_fuse_node_emb.yaml
- graphsage_bi_fuse_node_emb_refined_dependency.yaml
- graphsage_bi_sep_constituency.yaml
- graphsage_bi_sep_dependency.yaml
- graphsage_bi_sep_node_emb.yaml
- graphsage_bi_sep_node_emb_refined_dependency.yaml
- graphsage_undirected_node_emb.yaml
- graphsage_undirected_node_emb_bert.yaml
- graphsage_undirected_node_emb_refined_dependency.yaml
- graphsage_undirected_node_emb_refined_dependency_bert.yaml
- graphsage_undirected_node_emb_refined_line.yaml
- test.txt
- train.txt
- test.txt
- train.txt
- data_preparation.py
- Trec.zip
- __init__.py
- inference.py
- inference_advance.py
- readme.md
- run_text_classifier.py
- __init__.py
- __init__.py
- __init__.py
- data.py
- dataset.py
- profiling.py
- utils.py
- views.py
- __init__.py
- cnn.py
- geo.py
- jobs.py
- kinship.py
- mathqa.py
- mawps.py
- squad.py
- trec.py
- __init__.py
- base.py
- classifier_inference_wrapper.py
- generator_inference_wrapper.py
- generator_inference_wrapper_for_tree.py
- __init__.py
- base.py
- graph2seq.py
- graph2seq_loss.py
- graph2tree.py
- __init__.py
- constituency.yaml
- dependency.yaml
- ie_graph_construction.yaml
- node_emb.yaml
- node_emb_refine.yaml
- __init__.py
- gat.yaml
- gcn.yaml
- ggnn.yaml
- graphsage.yaml
- __init__.py
- constituency.yaml
- default.yaml
- ie_graph_construction.yaml
- general_loss.yaml
- kg_loss.yaml
- ConcatFeedForwardNN.yaml
- ConcatFeedForwardNNLayer.yaml
- ElementSum.yaml
- ElementSumLayer.yaml
- StackedElementProd.yaml
- StackedElementProdLayer.yaml
- BiLSTMForwardNN.yaml
- BiLSTMForwardNNLayer.yaml
- FeedForwardNN.yaml
- FeedForwardNNLayer.yaml
- __init__.py
- stdrnndecoder.yaml
- stdtreedecoder.yaml
- __init__.py
- __init__.py
- __init__.py
- bleu.py
- bleu_scorer.py
- LICENSE
- __init__.py
- cider.py
- cider_scorer.py
- license.txt
- __init__.py
- paraphrase-en.gz
- __init__.py
- license.txt
- meteor-1.5.jar
- meteor.py
- __init__.py
- rouge.py
- __init__.py
- accuracy.py
- base.py
- bleu.py
- bleu_translation.py
- cider.py
- meteor.py
- rouge.py
- rouge_summarization.py
- __init__.py
- base.py
- constituency_graph_construction.py
- dependency_graph_construction.py
- ie_graph_construction.py
- node_embedding_based_graph_construction.py
- node_embedding_based_refined_graph_construction.py
- utility_functions.py
- utils.py
- __init__.py
- embedding_construction.py
- graph_embedding_initialization.py
- __init__.py
- base.py
- gat.py
- gcn.py
- ggnn.py
- graphsage.py
- __init__.py
- base.py
- coverage_loss.py
- cross_entropy_loss.py
- general_loss.py
- kg_loss.py
- seq_generation_loss.py
- __init__.py
- avg_pooling.py
- feedforward_nn.py
- max_pooling.py
- __init__.py
- ComplEx.py
- ComplExLayer.py
- DistMult.py
- DistMultLayer.py
- __init__.py
- ConcatFeedForwardNN.py
- ConcatFeedForwardNNLayer.py
- ElementSum.py
- ElementSumLayer.py
- StackedElementProd.py
- StackedElementProdLayer.py
- __init__.py
- BiLSTMFeedForwardNN.py
- BiLSTMFeedForwardNNLayer.py
- FeedForwardNN.py
- FeedForwardNNLayer.py
- __init__.py
- base.py
- __init__.py
- attention.py
- base.py
- decoder_strategy.py
- StdRNNDecoder.py
- TreeBasedDecoder.py
- __init__.py
- __init__.py
- bert_utils.py
- config_utils.py
- constants.py
- copy_utils.py
- generic_utils.py
- logger.py
- padding_utils.py
- summarization_utils.py
- tree_utils.py
- vocab_utils.py
- __init__.py
- __init__.py
- set_feat_in_batch_time_vs_bs.png
- set_feat_in_batch_time_vs_nnode.png
- test_graphdata.py
- eng.testa
- eng.testb
- eng.train
- sequence.txt
- test.txt
- train.txt
- vocab.f.txt
- vocab.q.txt
- test_jobs.py
- __init__.py
- test_accuracy.py
- test_bleu.py
- test_cider.py
- test_meteor.py
- test_rouge_l.py
- test.txt
- train.txt
- vocab.f.txt
- vocab.q.txt
- graph.test
- graph.train
- test.txt
- train.txt
- vocab.f.txt
- vocab.q.txt
- test.txt
- train.txt
- vocab.f.txt
- vocab.q.txt
- jobs640share_vocab.txt
- beam_search.md
- test.md
- test_tree_decoder.py
- __init__.py
- graph_classification_results.md
- run_graph_classification.py
- __init__.py
- dynamic_graph_construction_results.md
- ie_construction_results.md
- run_batch_graph_embedding_construction.py
- run_dynamic_graph_construction.py
- run_dynamic_text_graph_construction.py
- test_constituecy_graph_construction.py
- test_dependency_construction.py
- test_embedding_construction.py
- test_ie_graph_construction.py
- run_bi_fuse_gat_arxiv.yaml
- run_bi_sep_gat_arxiv.yaml
- run_undirected_gat_arxiv.yaml
- __init__.py
- gat_results.md
- gcn_results.md
- ggnn_results.md
- graphsage_results.md
- logger.py
- ogbn_test.py
- run_gat.py
- run_gcn.py
- run_gcn.yaml
- run_ggnn.py
- run_graphsage.py
- utils.py
- ind.citeseer.allx
- ind.citeseer.graph
- ind.citeseer.test.index
- ind.citeseer.tx
- ind.citeseer.x
- ind.cora.allx
- ind.cora.graph
- ind.cora.test.index
- ind.cora.tx
- ind.cora.x
- __init__.py
- layers.py
- link_prediction_test.py
- model.py
- optimizer.py
- run_link_results.md
- utils.py
- __init__.py
- node_classification_test.py
- __init__.py
- utils.py
- __init__.py
- __init__.py
- graph4nlp_flow.png
- graph4nlp_flow_v1.png
- graph4nlp_flow_v2.png
- graph4nlp_flow_v3.png
- graph4nlp_flow_v4.png
- graph4nlp_flow_v5.png
- graph4nlp_flow_v6.png
- graph4nlp_flow_v7.png
- graph4nlp_logo.png
- logo_graph4nlp.png
- .flake8
- .gitignore
- configure
- configure.bat
- LICENSE
- MANIFEST.in
- pyproject.toml
- README.md
- setup.cfg
- setup.py
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/graph4ai/graph4nlp
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd graph4nlp
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Python
쉬움 추천사전 준비물
| CPU | `pip install graph4nlp` |
requirements.txt 등에 명시된 파이썬 라이브러리를 설치합니다.
| CUDA 9.2 | `pip install graph4nlp-cu92` |
requirements.txt 등에 명시된 파이썬 라이브러리를 설치합니다.
| CUDA 10.1 | `pip install graph4nlp-cu101` |
requirements.txt 등에 명시된 파이썬 라이브러리를 설치합니다.
| CUDA 10.2 | `pip install graph4nlp-cu102` |
requirements.txt 등에 명시된 파이썬 라이브러리를 설치합니다.
| CUDA 11.0 | `pip install graph4nlp-cu110` |
requirements.txt 등에 명시된 파이썬 라이브러리를 설치합니다.
에러 메시지 없이 실행되고 터미널에 안내 문구가 출력되면 정상입니다.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
