├── .DS_Store ├── .gitignore ├── README.md ├── chat-kg ├── .eslintrc.cjs ├── .gitignore ├── .prettierrc.json ├── README.md ├── index.html ├── package-lock.json ├── package.json ├── public │ ├── 9787030719799.jpg │ ├── Emoji_u1f60e.svg │ ├── about.png │ ├── chatgraph.png │ ├── favicon.ico │ ├── homegraph.png │ ├── logo_jnu.svg │ └── teamnum.png ├── src │ ├── App.vue │ ├── assets │ │ ├── KG.png │ │ ├── base.css │ │ ├── logo.svg │ │ └── main.css │ ├── components │ │ ├── HelloWorld.vue │ │ ├── TheWelcome.vue │ │ ├── WelcomeItem.vue │ │ └── icons │ │ │ ├── IconCommunity.vue │ │ │ ├── IconDocumentation.vue │ │ │ ├── IconEcosystem.vue │ │ │ ├── IconSupport.vue │ │ │ └── IconTooling.vue │ ├── main.js │ ├── router │ │ └── index.js │ ├── stores │ │ └── counter.js │ └── views │ │ ├── AboutView.vue │ │ ├── ChatView.vue │ │ ├── GraphView.vue │ │ └── HomeView.vue └── vite.config.js ├── data ├── README.md ├── __init__.py ├── clean_data.txt ├── clean_data_res_41lines_100epoch.json ├── clean_data_res_doc2_300epoch.json ├── clean_data_res_doc2_300epoch.txt ├── project_v1 │ ├── base.json │ ├── base_filtered.json │ ├── base_refined.json │ ├── history │ │ ├── 20230326-205422_iter_v0.json │ │ ├── 20230326-235601_iter_v0.json │ │ ├── 20230327-001537_iter_v1.json │ │ └── 20230327-001538_iter_v1.json │ ├── iter_v0.json │ ├── iteration_v0 │ │ ├── alphabet.json │ │ ├── knowledge_graph.json │ │ ├── prediction.json │ │ ├── running_log.txt │ │ ├── test.json │ │ ├── test_result_format.json │ │ ├── test_result_refine.json │ │ ├── train.json │ │ └── valid.json │ └── iteration_v1 │ │ ├── alphabet.json │ │ ├── knowledge_graph.json │ │ ├── prediction.json │ │ ├── test.json │ │ ├── test_result_format.json │ │ ├── test_result_refine.json │ │ ├── train.json │ │ └── valid.json ├── raw_data │ ├── raw_data.txt │ └── raw_data_test.txt └── schema │ ├── schema_v1.py │ ├── schema_v2.py │ ├── schema_v3.py │ └── schema_v4.py ├── demo ├── all.png ├── build_kg.png ├── chat.png ├── data_process.png ├── demo-chat.png ├── demo-kg.png ├── kg.png ├── technical_file.pdf └── web.png ├── main.py ├── modules ├── SPN4RE │ ├── README.md │ ├── bert_pretrain │ │ ├── .pytorch_model.bin.86ZS6q │ │ ├── README.md │ │ └── config.json │ ├── data │ │ ├── NYT │ │ │ ├── casrel_data │ │ │ │ ├── Untitled.ipynb │ │ │ │ ├── new_test.json │ │ │ │ ├── new_train.json │ │ │ │ └── new_valid.json │ │ │ └── exact_data │ │ │ │ ├── Deduplication.ipynb │ │ │ │ ├── test.json │ │ │ │ ├── train.json │ │ │ │ └── valid.json │ │ ├── WebNLG │ │ │ ├── build_data.py │ │ │ └── clean_WebNLG │ │ │ │ ├── new_test.json │ │ │ │ ├── new_train.json │ │ │ │ └── new_valid.json │ │ ├── generated_data │ │ │ ├── alphabet.json │ │ │ └── model_param │ │ │ │ └── prediction.json │ │ ├── generated_data_v0 │ │ │ └── model_param │ │ │ │ └── prediction.json │ │ ├── zhijian_data_v1 │ │ │ ├── base_filtered.json │ │ │ ├── lines_sentence.txt │ │ │ ├── res_base_v2.json │ │ │ ├── res_base_v3.txt │ │ │ ├── res_base_v4.json │ │ │ ├── test.json │ │ │ ├── train.json │ │ │ └── valid.json │ │ └── zhijian_data_v2 │ │ │ ├── all512_BS1v1.json │ │ │ ├── all512_v0.json │ │ │ ├── base_bs1v2.json │ │ │ ├── test.json │ │ │ ├── train.json │ │ │ └── valid.json │ ├── main.py │ ├── models │ │ ├── __init__.py │ │ ├── matcher.py │ │ ├── seq_encoder.py │ │ ├── set_criterion.py │ │ ├── set_decoder.py │ │ └── setpred4RE.py │ ├── trainer │ │ ├── __init__.py │ │ └── trainer.py │ └── utils │ │ ├── __init__.py │ │ ├── alphabet.py │ │ ├── average_meter.py │ │ ├── data.py │ │ ├── functions.py │ │ └── metric.py ├── Uie-finetune │ ├── annotation │ │ ├── 41line │ │ │ ├── dev.txt │ │ │ ├── doccano.json │ │ │ ├── sample_index.json │ │ │ ├── test.txt │ │ │ └── train.txt │ │ ├── 77line │ │ │ ├── dev.txt │ │ │ ├── doccano_ext.json │ │ │ ├── sample_index.json │ │ │ ├── test.txt │ │ │ └── train.txt │ │ ├── doccano │ │ │ ├── dev.txt │ │ │ ├── doccano.md │ │ │ ├── doccano.py │ │ │ ├── doccano_41lines.json │ │ │ ├── doccano_77lines.json │ │ │ ├── labelstudio2doccano.py │ │ │ ├── sample_index.json │ │ │ ├── test.txt │ │ │ └── train.txt │ │ ├── finetune │ │ │ ├── evaluate.py │ │ │ ├── finetune.py │ │ │ └── finetune.sh │ │ └── utils.py │ └── deploy │ │ ├── python │ │ ├── infer_cpu.py │ │ ├── infer_gpu.py │ │ ├── requirements_cpu.txt │ │ ├── requirements_gpu.txt │ │ └── uie_predictor.py │ │ └── serving │ │ └── simple_serving │ │ ├── README.md │ │ ├── client.py │ │ └── server.py ├── fewshot_model │ ├── preprocess.py │ ├── process.py │ └── run_fewshot.py ├── knowledge_graph_builder.py ├── model_trainer.py └── prepare │ ├── __init__.py │ ├── cprint.py │ ├── filter.py │ ├── preprocess.py │ ├── process.py │ └── utils.py ├── ocr └── pageindex_ocr_example.ipynb ├── server ├── app │ ├── __init__.py │ ├── utils │ │ ├── __init__.py │ │ ├── chat_glm.py │ │ ├── graph_utils.py │ │ ├── image_searcher.py │ │ ├── logger.py │ │ ├── ner.py │ │ └── query_wiki.py │ └── views │ │ ├── __init__.py │ │ ├── chat.py │ │ └── graph.py ├── data │ └── data.json └── main.py └── test └── test.py /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/.DS_Store -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/README.md -------------------------------------------------------------------------------- /chat-kg/.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/chat-kg/.eslintrc.cjs -------------------------------------------------------------------------------- /chat-kg/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/chat-kg/.gitignore -------------------------------------------------------------------------------- /chat-kg/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/chat-kg/.prettierrc.json -------------------------------------------------------------------------------- /chat-kg/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/chat-kg/README.md -------------------------------------------------------------------------------- /chat-kg/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/chat-kg/index.html -------------------------------------------------------------------------------- /chat-kg/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/chat-kg/package-lock.json -------------------------------------------------------------------------------- /chat-kg/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/chat-kg/package.json -------------------------------------------------------------------------------- /chat-kg/public/9787030719799.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/chat-kg/public/9787030719799.jpg -------------------------------------------------------------------------------- /chat-kg/public/Emoji_u1f60e.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/chat-kg/public/Emoji_u1f60e.svg -------------------------------------------------------------------------------- /chat-kg/public/about.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/chat-kg/public/about.png -------------------------------------------------------------------------------- /chat-kg/public/chatgraph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/chat-kg/public/chatgraph.png -------------------------------------------------------------------------------- /chat-kg/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/chat-kg/public/favicon.ico -------------------------------------------------------------------------------- /chat-kg/public/homegraph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/chat-kg/public/homegraph.png -------------------------------------------------------------------------------- /chat-kg/public/logo_jnu.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/chat-kg/public/logo_jnu.svg -------------------------------------------------------------------------------- /chat-kg/public/teamnum.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/chat-kg/public/teamnum.png -------------------------------------------------------------------------------- /chat-kg/src/App.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/chat-kg/src/App.vue -------------------------------------------------------------------------------- /chat-kg/src/assets/KG.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/chat-kg/src/assets/KG.png -------------------------------------------------------------------------------- /chat-kg/src/assets/base.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/chat-kg/src/assets/base.css -------------------------------------------------------------------------------- /chat-kg/src/assets/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/chat-kg/src/assets/logo.svg -------------------------------------------------------------------------------- /chat-kg/src/assets/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/chat-kg/src/assets/main.css -------------------------------------------------------------------------------- /chat-kg/src/components/HelloWorld.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/chat-kg/src/components/HelloWorld.vue -------------------------------------------------------------------------------- /chat-kg/src/components/TheWelcome.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/chat-kg/src/components/TheWelcome.vue -------------------------------------------------------------------------------- /chat-kg/src/components/WelcomeItem.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/chat-kg/src/components/WelcomeItem.vue -------------------------------------------------------------------------------- /chat-kg/src/components/icons/IconCommunity.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/chat-kg/src/components/icons/IconCommunity.vue -------------------------------------------------------------------------------- /chat-kg/src/components/icons/IconDocumentation.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/chat-kg/src/components/icons/IconDocumentation.vue -------------------------------------------------------------------------------- /chat-kg/src/components/icons/IconEcosystem.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/chat-kg/src/components/icons/IconEcosystem.vue -------------------------------------------------------------------------------- /chat-kg/src/components/icons/IconSupport.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/chat-kg/src/components/icons/IconSupport.vue -------------------------------------------------------------------------------- /chat-kg/src/components/icons/IconTooling.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/chat-kg/src/components/icons/IconTooling.vue -------------------------------------------------------------------------------- /chat-kg/src/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/chat-kg/src/main.js -------------------------------------------------------------------------------- /chat-kg/src/router/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/chat-kg/src/router/index.js -------------------------------------------------------------------------------- /chat-kg/src/stores/counter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/chat-kg/src/stores/counter.js -------------------------------------------------------------------------------- /chat-kg/src/views/AboutView.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/chat-kg/src/views/AboutView.vue -------------------------------------------------------------------------------- /chat-kg/src/views/ChatView.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/chat-kg/src/views/ChatView.vue -------------------------------------------------------------------------------- /chat-kg/src/views/GraphView.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/chat-kg/src/views/GraphView.vue -------------------------------------------------------------------------------- /chat-kg/src/views/HomeView.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/chat-kg/src/views/HomeView.vue -------------------------------------------------------------------------------- /chat-kg/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/chat-kg/vite.config.js -------------------------------------------------------------------------------- /data/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/data/README.md -------------------------------------------------------------------------------- /data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/clean_data.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/data/clean_data.txt -------------------------------------------------------------------------------- /data/clean_data_res_41lines_100epoch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/data/clean_data_res_41lines_100epoch.json -------------------------------------------------------------------------------- /data/clean_data_res_doc2_300epoch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/data/clean_data_res_doc2_300epoch.json -------------------------------------------------------------------------------- /data/clean_data_res_doc2_300epoch.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/data/clean_data_res_doc2_300epoch.txt -------------------------------------------------------------------------------- /data/project_v1/base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/data/project_v1/base.json -------------------------------------------------------------------------------- /data/project_v1/base_filtered.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/data/project_v1/base_filtered.json -------------------------------------------------------------------------------- /data/project_v1/base_refined.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/data/project_v1/base_refined.json -------------------------------------------------------------------------------- /data/project_v1/history/20230326-205422_iter_v0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/data/project_v1/history/20230326-205422_iter_v0.json -------------------------------------------------------------------------------- /data/project_v1/history/20230326-235601_iter_v0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/data/project_v1/history/20230326-235601_iter_v0.json -------------------------------------------------------------------------------- /data/project_v1/history/20230327-001537_iter_v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/data/project_v1/history/20230327-001537_iter_v1.json -------------------------------------------------------------------------------- /data/project_v1/history/20230327-001538_iter_v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/data/project_v1/history/20230327-001538_iter_v1.json -------------------------------------------------------------------------------- /data/project_v1/iter_v0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/data/project_v1/iter_v0.json -------------------------------------------------------------------------------- /data/project_v1/iteration_v0/alphabet.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/data/project_v1/iteration_v0/alphabet.json -------------------------------------------------------------------------------- /data/project_v1/iteration_v0/knowledge_graph.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/data/project_v1/iteration_v0/knowledge_graph.json -------------------------------------------------------------------------------- /data/project_v1/iteration_v0/prediction.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/data/project_v1/iteration_v0/prediction.json -------------------------------------------------------------------------------- /data/project_v1/iteration_v0/running_log.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/project_v1/iteration_v0/test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/data/project_v1/iteration_v0/test.json -------------------------------------------------------------------------------- /data/project_v1/iteration_v0/test_result_format.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/data/project_v1/iteration_v0/test_result_format.json -------------------------------------------------------------------------------- /data/project_v1/iteration_v0/test_result_refine.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/data/project_v1/iteration_v0/test_result_refine.json -------------------------------------------------------------------------------- /data/project_v1/iteration_v0/train.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/data/project_v1/iteration_v0/train.json -------------------------------------------------------------------------------- /data/project_v1/iteration_v0/valid.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/data/project_v1/iteration_v0/valid.json -------------------------------------------------------------------------------- /data/project_v1/iteration_v1/alphabet.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/data/project_v1/iteration_v1/alphabet.json -------------------------------------------------------------------------------- /data/project_v1/iteration_v1/knowledge_graph.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/data/project_v1/iteration_v1/knowledge_graph.json -------------------------------------------------------------------------------- /data/project_v1/iteration_v1/prediction.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/data/project_v1/iteration_v1/prediction.json -------------------------------------------------------------------------------- /data/project_v1/iteration_v1/test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/data/project_v1/iteration_v1/test.json -------------------------------------------------------------------------------- /data/project_v1/iteration_v1/test_result_format.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/data/project_v1/iteration_v1/test_result_format.json -------------------------------------------------------------------------------- /data/project_v1/iteration_v1/test_result_refine.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/data/project_v1/iteration_v1/test_result_refine.json -------------------------------------------------------------------------------- /data/project_v1/iteration_v1/train.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/data/project_v1/iteration_v1/train.json -------------------------------------------------------------------------------- /data/project_v1/iteration_v1/valid.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/data/project_v1/iteration_v1/valid.json -------------------------------------------------------------------------------- /data/raw_data/raw_data.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/data/raw_data/raw_data.txt -------------------------------------------------------------------------------- /data/raw_data/raw_data_test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/data/raw_data/raw_data_test.txt -------------------------------------------------------------------------------- /data/schema/schema_v1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/data/schema/schema_v1.py -------------------------------------------------------------------------------- /data/schema/schema_v2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/data/schema/schema_v2.py -------------------------------------------------------------------------------- /data/schema/schema_v3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/data/schema/schema_v3.py -------------------------------------------------------------------------------- /data/schema/schema_v4.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/data/schema/schema_v4.py -------------------------------------------------------------------------------- /demo/all.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/demo/all.png -------------------------------------------------------------------------------- /demo/build_kg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/demo/build_kg.png -------------------------------------------------------------------------------- /demo/chat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/demo/chat.png -------------------------------------------------------------------------------- /demo/data_process.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/demo/data_process.png -------------------------------------------------------------------------------- /demo/demo-chat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/demo/demo-chat.png -------------------------------------------------------------------------------- /demo/demo-kg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/demo/demo-kg.png -------------------------------------------------------------------------------- /demo/kg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/demo/kg.png -------------------------------------------------------------------------------- /demo/technical_file.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/demo/technical_file.pdf -------------------------------------------------------------------------------- /demo/web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/demo/web.png -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/main.py -------------------------------------------------------------------------------- /modules/SPN4RE/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/README.md -------------------------------------------------------------------------------- /modules/SPN4RE/bert_pretrain/.pytorch_model.bin.86ZS6q: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/bert_pretrain/.pytorch_model.bin.86ZS6q -------------------------------------------------------------------------------- /modules/SPN4RE/bert_pretrain/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/bert_pretrain/README.md -------------------------------------------------------------------------------- /modules/SPN4RE/bert_pretrain/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/bert_pretrain/config.json -------------------------------------------------------------------------------- /modules/SPN4RE/data/NYT/casrel_data/Untitled.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/data/NYT/casrel_data/Untitled.ipynb -------------------------------------------------------------------------------- /modules/SPN4RE/data/NYT/casrel_data/new_test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/data/NYT/casrel_data/new_test.json -------------------------------------------------------------------------------- /modules/SPN4RE/data/NYT/casrel_data/new_train.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/data/NYT/casrel_data/new_train.json -------------------------------------------------------------------------------- /modules/SPN4RE/data/NYT/casrel_data/new_valid.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/data/NYT/casrel_data/new_valid.json -------------------------------------------------------------------------------- /modules/SPN4RE/data/NYT/exact_data/Deduplication.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/data/NYT/exact_data/Deduplication.ipynb -------------------------------------------------------------------------------- /modules/SPN4RE/data/NYT/exact_data/test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/data/NYT/exact_data/test.json -------------------------------------------------------------------------------- /modules/SPN4RE/data/NYT/exact_data/train.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/data/NYT/exact_data/train.json -------------------------------------------------------------------------------- /modules/SPN4RE/data/NYT/exact_data/valid.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/data/NYT/exact_data/valid.json -------------------------------------------------------------------------------- /modules/SPN4RE/data/WebNLG/build_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/data/WebNLG/build_data.py -------------------------------------------------------------------------------- /modules/SPN4RE/data/WebNLG/clean_WebNLG/new_test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/data/WebNLG/clean_WebNLG/new_test.json -------------------------------------------------------------------------------- /modules/SPN4RE/data/WebNLG/clean_WebNLG/new_train.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/data/WebNLG/clean_WebNLG/new_train.json -------------------------------------------------------------------------------- /modules/SPN4RE/data/WebNLG/clean_WebNLG/new_valid.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/data/WebNLG/clean_WebNLG/new_valid.json -------------------------------------------------------------------------------- /modules/SPN4RE/data/generated_data/alphabet.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/data/generated_data/alphabet.json -------------------------------------------------------------------------------- /modules/SPN4RE/data/generated_data/model_param/prediction.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/data/generated_data/model_param/prediction.json -------------------------------------------------------------------------------- /modules/SPN4RE/data/generated_data_v0/model_param/prediction.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/data/generated_data_v0/model_param/prediction.json -------------------------------------------------------------------------------- /modules/SPN4RE/data/zhijian_data_v1/base_filtered.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/data/zhijian_data_v1/base_filtered.json -------------------------------------------------------------------------------- /modules/SPN4RE/data/zhijian_data_v1/lines_sentence.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/data/zhijian_data_v1/lines_sentence.txt -------------------------------------------------------------------------------- /modules/SPN4RE/data/zhijian_data_v1/res_base_v2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/data/zhijian_data_v1/res_base_v2.json -------------------------------------------------------------------------------- /modules/SPN4RE/data/zhijian_data_v1/res_base_v3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/data/zhijian_data_v1/res_base_v3.txt -------------------------------------------------------------------------------- /modules/SPN4RE/data/zhijian_data_v1/res_base_v4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/data/zhijian_data_v1/res_base_v4.json -------------------------------------------------------------------------------- /modules/SPN4RE/data/zhijian_data_v1/test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/data/zhijian_data_v1/test.json -------------------------------------------------------------------------------- /modules/SPN4RE/data/zhijian_data_v1/train.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/data/zhijian_data_v1/train.json -------------------------------------------------------------------------------- /modules/SPN4RE/data/zhijian_data_v1/valid.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/data/zhijian_data_v1/valid.json -------------------------------------------------------------------------------- /modules/SPN4RE/data/zhijian_data_v2/all512_BS1v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/data/zhijian_data_v2/all512_BS1v1.json -------------------------------------------------------------------------------- /modules/SPN4RE/data/zhijian_data_v2/all512_v0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/data/zhijian_data_v2/all512_v0.json -------------------------------------------------------------------------------- /modules/SPN4RE/data/zhijian_data_v2/base_bs1v2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/data/zhijian_data_v2/base_bs1v2.json -------------------------------------------------------------------------------- /modules/SPN4RE/data/zhijian_data_v2/test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/data/zhijian_data_v2/test.json -------------------------------------------------------------------------------- /modules/SPN4RE/data/zhijian_data_v2/train.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/data/zhijian_data_v2/train.json -------------------------------------------------------------------------------- /modules/SPN4RE/data/zhijian_data_v2/valid.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/data/zhijian_data_v2/valid.json -------------------------------------------------------------------------------- /modules/SPN4RE/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/main.py -------------------------------------------------------------------------------- /modules/SPN4RE/models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/SPN4RE/models/matcher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/models/matcher.py -------------------------------------------------------------------------------- /modules/SPN4RE/models/seq_encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/models/seq_encoder.py -------------------------------------------------------------------------------- /modules/SPN4RE/models/set_criterion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/models/set_criterion.py -------------------------------------------------------------------------------- /modules/SPN4RE/models/set_decoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/models/set_decoder.py -------------------------------------------------------------------------------- /modules/SPN4RE/models/setpred4RE.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/models/setpred4RE.py -------------------------------------------------------------------------------- /modules/SPN4RE/trainer/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/SPN4RE/trainer/trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/trainer/trainer.py -------------------------------------------------------------------------------- /modules/SPN4RE/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/SPN4RE/utils/alphabet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/utils/alphabet.py -------------------------------------------------------------------------------- /modules/SPN4RE/utils/average_meter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/utils/average_meter.py -------------------------------------------------------------------------------- /modules/SPN4RE/utils/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/utils/data.py -------------------------------------------------------------------------------- /modules/SPN4RE/utils/functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/utils/functions.py -------------------------------------------------------------------------------- /modules/SPN4RE/utils/metric.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/SPN4RE/utils/metric.py -------------------------------------------------------------------------------- /modules/Uie-finetune/annotation/41line/dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/Uie-finetune/annotation/41line/dev.txt -------------------------------------------------------------------------------- /modules/Uie-finetune/annotation/41line/doccano.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/Uie-finetune/annotation/41line/doccano.json -------------------------------------------------------------------------------- /modules/Uie-finetune/annotation/41line/sample_index.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/Uie-finetune/annotation/41line/sample_index.json -------------------------------------------------------------------------------- /modules/Uie-finetune/annotation/41line/test.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/Uie-finetune/annotation/41line/train.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/Uie-finetune/annotation/41line/train.txt -------------------------------------------------------------------------------- /modules/Uie-finetune/annotation/77line/dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/Uie-finetune/annotation/77line/dev.txt -------------------------------------------------------------------------------- /modules/Uie-finetune/annotation/77line/doccano_ext.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/Uie-finetune/annotation/77line/doccano_ext.json -------------------------------------------------------------------------------- /modules/Uie-finetune/annotation/77line/sample_index.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/Uie-finetune/annotation/77line/sample_index.json -------------------------------------------------------------------------------- /modules/Uie-finetune/annotation/77line/test.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/Uie-finetune/annotation/77line/train.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/Uie-finetune/annotation/77line/train.txt -------------------------------------------------------------------------------- /modules/Uie-finetune/annotation/doccano/dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/Uie-finetune/annotation/doccano/dev.txt -------------------------------------------------------------------------------- /modules/Uie-finetune/annotation/doccano/doccano.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/Uie-finetune/annotation/doccano/doccano.md -------------------------------------------------------------------------------- /modules/Uie-finetune/annotation/doccano/doccano.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/Uie-finetune/annotation/doccano/doccano.py -------------------------------------------------------------------------------- /modules/Uie-finetune/annotation/doccano/doccano_41lines.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/Uie-finetune/annotation/doccano/doccano_41lines.json -------------------------------------------------------------------------------- /modules/Uie-finetune/annotation/doccano/doccano_77lines.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/Uie-finetune/annotation/doccano/doccano_77lines.json -------------------------------------------------------------------------------- /modules/Uie-finetune/annotation/doccano/labelstudio2doccano.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/Uie-finetune/annotation/doccano/labelstudio2doccano.py -------------------------------------------------------------------------------- /modules/Uie-finetune/annotation/doccano/sample_index.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/Uie-finetune/annotation/doccano/sample_index.json -------------------------------------------------------------------------------- /modules/Uie-finetune/annotation/doccano/test.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/Uie-finetune/annotation/doccano/train.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/Uie-finetune/annotation/doccano/train.txt -------------------------------------------------------------------------------- /modules/Uie-finetune/annotation/finetune/evaluate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/Uie-finetune/annotation/finetune/evaluate.py -------------------------------------------------------------------------------- /modules/Uie-finetune/annotation/finetune/finetune.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/Uie-finetune/annotation/finetune/finetune.py -------------------------------------------------------------------------------- /modules/Uie-finetune/annotation/finetune/finetune.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/Uie-finetune/annotation/finetune/finetune.sh -------------------------------------------------------------------------------- /modules/Uie-finetune/annotation/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/Uie-finetune/annotation/utils.py -------------------------------------------------------------------------------- /modules/Uie-finetune/deploy/python/infer_cpu.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/Uie-finetune/deploy/python/infer_cpu.py -------------------------------------------------------------------------------- /modules/Uie-finetune/deploy/python/infer_gpu.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/Uie-finetune/deploy/python/infer_gpu.py -------------------------------------------------------------------------------- /modules/Uie-finetune/deploy/python/requirements_cpu.txt: -------------------------------------------------------------------------------- 1 | onnx 2 | onnxruntime -------------------------------------------------------------------------------- /modules/Uie-finetune/deploy/python/requirements_gpu.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/Uie-finetune/deploy/python/requirements_gpu.txt -------------------------------------------------------------------------------- /modules/Uie-finetune/deploy/python/uie_predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/Uie-finetune/deploy/python/uie_predictor.py -------------------------------------------------------------------------------- /modules/Uie-finetune/deploy/serving/simple_serving/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/Uie-finetune/deploy/serving/simple_serving/README.md -------------------------------------------------------------------------------- /modules/Uie-finetune/deploy/serving/simple_serving/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/Uie-finetune/deploy/serving/simple_serving/client.py -------------------------------------------------------------------------------- /modules/Uie-finetune/deploy/serving/simple_serving/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/Uie-finetune/deploy/serving/simple_serving/server.py -------------------------------------------------------------------------------- /modules/fewshot_model/preprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/fewshot_model/preprocess.py -------------------------------------------------------------------------------- /modules/fewshot_model/process.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/fewshot_model/process.py -------------------------------------------------------------------------------- /modules/fewshot_model/run_fewshot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/fewshot_model/run_fewshot.py -------------------------------------------------------------------------------- /modules/knowledge_graph_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/knowledge_graph_builder.py -------------------------------------------------------------------------------- /modules/model_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/model_trainer.py -------------------------------------------------------------------------------- /modules/prepare/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/prepare/cprint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/prepare/cprint.py -------------------------------------------------------------------------------- /modules/prepare/filter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/prepare/filter.py -------------------------------------------------------------------------------- /modules/prepare/preprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/prepare/preprocess.py -------------------------------------------------------------------------------- /modules/prepare/process.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/prepare/process.py -------------------------------------------------------------------------------- /modules/prepare/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/modules/prepare/utils.py -------------------------------------------------------------------------------- /ocr/pageindex_ocr_example.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/ocr/pageindex_ocr_example.ipynb -------------------------------------------------------------------------------- /server/app/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/server/app/__init__.py -------------------------------------------------------------------------------- /server/app/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/app/utils/chat_glm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/server/app/utils/chat_glm.py -------------------------------------------------------------------------------- /server/app/utils/graph_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/server/app/utils/graph_utils.py -------------------------------------------------------------------------------- /server/app/utils/image_searcher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/server/app/utils/image_searcher.py -------------------------------------------------------------------------------- /server/app/utils/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/server/app/utils/logger.py -------------------------------------------------------------------------------- /server/app/utils/ner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/server/app/utils/ner.py -------------------------------------------------------------------------------- /server/app/utils/query_wiki.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/server/app/utils/query_wiki.py -------------------------------------------------------------------------------- /server/app/views/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/app/views/chat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/server/app/views/chat.py -------------------------------------------------------------------------------- /server/app/views/graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/server/app/views/graph.py -------------------------------------------------------------------------------- /server/data/data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/server/data/data.json -------------------------------------------------------------------------------- /server/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/littlewwwhite/KnowledgeGraph-based-on-Raw-text-A27/HEAD/server/main.py -------------------------------------------------------------------------------- /test/test.py: -------------------------------------------------------------------------------- 1 | # this is a test file --------------------------------------------------------------------------------