├── .idea ├── .gitignore ├── NLP-model.iml ├── inspectionProfiles │ ├── Project_Default.xml │ └── profiles_settings.xml ├── misc.xml ├── modules.xml └── vcs.xml ├── README.md └── model ├── Trick ├── TF_NLP_FGM.py ├── adversarial_training.py ├── fit_generator.py └── focal_loss.py └── model ├── TF_model ├── Information_extraction │ ├── 三元组抽取_指针标注.py │ ├── 关系抽取_Deep Biaffine Attention.py │ └── 关系抽取_Multi-head Selection.py ├── Longsumm │ ├── extract_model │ │ ├── DGCNN_extract.py │ │ ├── add_exdata.py │ │ ├── extract_model.py │ │ ├── extract_model_extrect.py │ │ ├── key_s_pred.py │ │ └── train_pred.py │ ├── generate_model │ │ ├── pagesus_generate │ │ │ ├── pagesus_generate_afex.py │ │ │ ├── pagesus_new_section.py │ │ │ ├── result_pred.py │ │ │ └── tool_pagesus.py │ │ └── unilm_generate │ │ │ ├── generate.py │ │ │ └── tool.py │ └── section_extract_model │ │ ├── Bert_extract_8192.py │ │ ├── bert_extrect_base.py │ │ ├── bert_extrect_gather.py │ │ └── build_label.py ├── NEZHA │ ├── extact_model.py │ ├── seq2seq.py │ ├── tool.py │ ├── transformers_token.py │ └── transformers_until.py ├── SQuAD_baseline.py ├── Train_Bert-Last_3embedding_concat_classification.py ├── Train_Sentence-BERT.py └── Unified Language Model │ ├── train.py │ ├── transformers_token.py │ └── transformers_until.py └── Torch_model ├── ExtractionEntities ├── GPLinker_DUEE │ ├── EfficientGlobalPointer.py │ └── main.py ├── head.py └── train.py ├── SimCSE-Chinese ├── SNIL_data_process.py ├── train_supervised.py └── train_unsupervised.py └── Souhu_TextMatch ├── Conditional_Norm.py ├── Kfold_conditional.py ├── Nezha_1024.py ├── P-tuning.py ├── mogai_bert.py └── tools.py /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /.idea/NLP-model.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/.idea/NLP-model.iml -------------------------------------------------------------------------------- /.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/.idea/inspectionProfiles/Project_Default.xml -------------------------------------------------------------------------------- /.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/.idea/inspectionProfiles/profiles_settings.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/README.md -------------------------------------------------------------------------------- /model/Trick/TF_NLP_FGM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/Trick/TF_NLP_FGM.py -------------------------------------------------------------------------------- /model/Trick/adversarial_training.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/Trick/adversarial_training.py -------------------------------------------------------------------------------- /model/Trick/fit_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/Trick/fit_generator.py -------------------------------------------------------------------------------- /model/Trick/focal_loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/Trick/focal_loss.py -------------------------------------------------------------------------------- /model/model/TF_model/Information_extraction/三元组抽取_指针标注.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/TF_model/Information_extraction/三元组抽取_指针标注.py -------------------------------------------------------------------------------- /model/model/TF_model/Information_extraction/关系抽取_Deep Biaffine Attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/TF_model/Information_extraction/关系抽取_Deep Biaffine Attention.py -------------------------------------------------------------------------------- /model/model/TF_model/Information_extraction/关系抽取_Multi-head Selection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/TF_model/Information_extraction/关系抽取_Multi-head Selection.py -------------------------------------------------------------------------------- /model/model/TF_model/Longsumm/extract_model/DGCNN_extract.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/TF_model/Longsumm/extract_model/DGCNN_extract.py -------------------------------------------------------------------------------- /model/model/TF_model/Longsumm/extract_model/add_exdata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/TF_model/Longsumm/extract_model/add_exdata.py -------------------------------------------------------------------------------- /model/model/TF_model/Longsumm/extract_model/extract_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/TF_model/Longsumm/extract_model/extract_model.py -------------------------------------------------------------------------------- /model/model/TF_model/Longsumm/extract_model/extract_model_extrect.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/TF_model/Longsumm/extract_model/extract_model_extrect.py -------------------------------------------------------------------------------- /model/model/TF_model/Longsumm/extract_model/key_s_pred.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/TF_model/Longsumm/extract_model/key_s_pred.py -------------------------------------------------------------------------------- /model/model/TF_model/Longsumm/extract_model/train_pred.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/TF_model/Longsumm/extract_model/train_pred.py -------------------------------------------------------------------------------- /model/model/TF_model/Longsumm/generate_model/pagesus_generate/pagesus_generate_afex.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/TF_model/Longsumm/generate_model/pagesus_generate/pagesus_generate_afex.py -------------------------------------------------------------------------------- /model/model/TF_model/Longsumm/generate_model/pagesus_generate/pagesus_new_section.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/TF_model/Longsumm/generate_model/pagesus_generate/pagesus_new_section.py -------------------------------------------------------------------------------- /model/model/TF_model/Longsumm/generate_model/pagesus_generate/result_pred.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/TF_model/Longsumm/generate_model/pagesus_generate/result_pred.py -------------------------------------------------------------------------------- /model/model/TF_model/Longsumm/generate_model/pagesus_generate/tool_pagesus.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/TF_model/Longsumm/generate_model/pagesus_generate/tool_pagesus.py -------------------------------------------------------------------------------- /model/model/TF_model/Longsumm/generate_model/unilm_generate/generate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/TF_model/Longsumm/generate_model/unilm_generate/generate.py -------------------------------------------------------------------------------- /model/model/TF_model/Longsumm/generate_model/unilm_generate/tool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/TF_model/Longsumm/generate_model/unilm_generate/tool.py -------------------------------------------------------------------------------- /model/model/TF_model/Longsumm/section_extract_model/Bert_extract_8192.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/TF_model/Longsumm/section_extract_model/Bert_extract_8192.py -------------------------------------------------------------------------------- /model/model/TF_model/Longsumm/section_extract_model/bert_extrect_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/TF_model/Longsumm/section_extract_model/bert_extrect_base.py -------------------------------------------------------------------------------- /model/model/TF_model/Longsumm/section_extract_model/bert_extrect_gather.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/TF_model/Longsumm/section_extract_model/bert_extrect_gather.py -------------------------------------------------------------------------------- /model/model/TF_model/Longsumm/section_extract_model/build_label.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/TF_model/Longsumm/section_extract_model/build_label.py -------------------------------------------------------------------------------- /model/model/TF_model/NEZHA/extact_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/TF_model/NEZHA/extact_model.py -------------------------------------------------------------------------------- /model/model/TF_model/NEZHA/seq2seq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/TF_model/NEZHA/seq2seq.py -------------------------------------------------------------------------------- /model/model/TF_model/NEZHA/tool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/TF_model/NEZHA/tool.py -------------------------------------------------------------------------------- /model/model/TF_model/NEZHA/transformers_token.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/TF_model/NEZHA/transformers_token.py -------------------------------------------------------------------------------- /model/model/TF_model/NEZHA/transformers_until.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/TF_model/NEZHA/transformers_until.py -------------------------------------------------------------------------------- /model/model/TF_model/SQuAD_baseline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/TF_model/SQuAD_baseline.py -------------------------------------------------------------------------------- /model/model/TF_model/Train_Bert-Last_3embedding_concat_classification.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/TF_model/Train_Bert-Last_3embedding_concat_classification.py -------------------------------------------------------------------------------- /model/model/TF_model/Train_Sentence-BERT.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/TF_model/Train_Sentence-BERT.py -------------------------------------------------------------------------------- /model/model/TF_model/Unified Language Model/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/TF_model/Unified Language Model/train.py -------------------------------------------------------------------------------- /model/model/TF_model/Unified Language Model/transformers_token.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/TF_model/Unified Language Model/transformers_token.py -------------------------------------------------------------------------------- /model/model/TF_model/Unified Language Model/transformers_until.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/TF_model/Unified Language Model/transformers_until.py -------------------------------------------------------------------------------- /model/model/Torch_model/ExtractionEntities/GPLinker_DUEE/EfficientGlobalPointer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/Torch_model/ExtractionEntities/GPLinker_DUEE/EfficientGlobalPointer.py -------------------------------------------------------------------------------- /model/model/Torch_model/ExtractionEntities/GPLinker_DUEE/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/Torch_model/ExtractionEntities/GPLinker_DUEE/main.py -------------------------------------------------------------------------------- /model/model/Torch_model/ExtractionEntities/head.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/Torch_model/ExtractionEntities/head.py -------------------------------------------------------------------------------- /model/model/Torch_model/ExtractionEntities/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/Torch_model/ExtractionEntities/train.py -------------------------------------------------------------------------------- /model/model/Torch_model/SimCSE-Chinese/SNIL_data_process.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/Torch_model/SimCSE-Chinese/SNIL_data_process.py -------------------------------------------------------------------------------- /model/model/Torch_model/SimCSE-Chinese/train_supervised.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/Torch_model/SimCSE-Chinese/train_supervised.py -------------------------------------------------------------------------------- /model/model/Torch_model/SimCSE-Chinese/train_unsupervised.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/Torch_model/SimCSE-Chinese/train_unsupervised.py -------------------------------------------------------------------------------- /model/model/Torch_model/Souhu_TextMatch/Conditional_Norm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/Torch_model/Souhu_TextMatch/Conditional_Norm.py -------------------------------------------------------------------------------- /model/model/Torch_model/Souhu_TextMatch/Kfold_conditional.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/Torch_model/Souhu_TextMatch/Kfold_conditional.py -------------------------------------------------------------------------------- /model/model/Torch_model/Souhu_TextMatch/Nezha_1024.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/Torch_model/Souhu_TextMatch/Nezha_1024.py -------------------------------------------------------------------------------- /model/model/Torch_model/Souhu_TextMatch/P-tuning.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/Torch_model/Souhu_TextMatch/P-tuning.py -------------------------------------------------------------------------------- /model/model/Torch_model/Souhu_TextMatch/mogai_bert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/Torch_model/Souhu_TextMatch/mogai_bert.py -------------------------------------------------------------------------------- /model/model/Torch_model/Souhu_TextMatch/tools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhengyanzhao1997/NLP-model/HEAD/model/model/Torch_model/Souhu_TextMatch/tools.py --------------------------------------------------------------------------------