HiAGM:用于层次文本分类的层次感知全局模型

上传者: 42129412 | 上传时间: 2023-01-08 16:47:51 | 文件大小: 251KB | 文件类型: ZIP
HiAGM:层次结构文本分类的层次结构感知全局模型 该存储库实现了层次结构感知的结构编码器,用于标签空间和文本特征之间的相互交互。 这项工作已被接受为ACL 2020中的长篇论文《的》。该存储库中提出了NYTimes(《纽约时报》)和WoS(Web of Science)的数据集拆分。 层次感知全局模型 具有层次结构意识的全局模型利用预先定义的层次结构的先验知识改进了常规文本分类模型。 项目文件夹由以下部分组成: config:配置文件(json格式) 数据:数据目录,可以在配置文件中更改(带有示例数据) data_modules:数据集/ DataLoader /整理器/ Vocab 助手:配置/ Hierarchy_Statistic /记录器/实用工具 模型:StructureModel / EmbeddingLayer / TextEncoder / TextPropaga

文件下载

资源详情

[{"title":"( 46 个子文件 251KB ) HiAGM:用于层次文本分类的层次感知全局模型","children":[{"title":"HiAGM-master","children":[{"title":"data","children":[{"title":"preprocess_nyt.py <span style='color:#111;'> 5.49KB </span>","children":null,"spread":false},{"title":"nyt_label.vocab <span style='color:#111;'> 7.05KB </span>","children":null,"spread":false},{"title":"sample_rcv1.taxonomy <span style='color:#111;'> 250B </span>","children":null,"spread":false},{"title":"rcv1_test.json <span style='color:#111;'> 18.21KB </span>","children":null,"spread":false},{"title":"rcv1_train.json <span style='color:#111;'> 20.34KB </span>","children":null,"spread":false},{"title":"rcv1.taxonomy <span style='color:#111;'> 582B </span>","children":null,"spread":false},{"title":"rcv1_prob.json <span style='color:#111;'> 900B </span>","children":null,"spread":false},{"title":"nyt.taxonomy <span style='color:#111;'> 8.59KB </span>","children":null,"spread":false},{"title":"rcv1_overall_corpus_train_prob.json <span style='color:#111;'> 2.98KB </span>","children":null,"spread":false},{"title":"idnewnyt_train.json <span style='color:#111;'> 569.95KB </span>","children":null,"spread":false},{"title":"idnewnyt_test.json <span style='color:#111;'> 178.03KB </span>","children":null,"spread":false},{"title":"preprocess_wos.py <span style='color:#111;'> 10.72KB </span>","children":null,"spread":false},{"title":"rcv1_val.json <span style='color:#111;'> 13.03KB </span>","children":null,"spread":false},{"title":"idnewnyt_val.json <span style='color:#111;'> 142.43KB </span>","children":null,"spread":false}],"spread":false},{"title":"train_modules","children":[{"title":"trainer.py <span style='color:#111;'> 4.54KB </span>","children":null,"spread":false},{"title":"criterions.py <span style='color:#111;'> 2.81KB </span>","children":null,"spread":false},{"title":"evaluation_metrics.py <span style='color:#111;'> 4.35KB </span>","children":null,"spread":false}],"spread":true},{"title":"models","children":[{"title":"multi_label_attention.py <span style='color:#111;'> 3.47KB </span>","children":null,"spread":false},{"title":"text_feature_propagation.py <span style='color:#111;'> 2.11KB </span>","children":null,"spread":false},{"title":"text_encoder.py <span style='color:#111;'> 5.07KB </span>","children":null,"spread":false},{"title":"origin.py <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"embedding_layer.py <span style='color:#111;'> 4.97KB </span>","children":null,"spread":false},{"title":"structure_model","children":[{"title":"weighted_tree_lstm.py <span style='color:#111;'> 10.14KB </span>","children":null,"spread":false},{"title":"graphcnn.py <span style='color:#111;'> 5.54KB </span>","children":null,"spread":false},{"title":"structure_encoder.py <span style='color:#111;'> 3.32KB </span>","children":null,"spread":false},{"title":"tree.py <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false}],"spread":true},{"title":"model.py <span style='color:#111;'> 4.14KB </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"helper","children":[{"title":"configure.py <span style='color:#111;'> 1.98KB </span>","children":null,"spread":false},{"title":"utils.py <span style='color:#111;'> 2.87KB </span>","children":null,"spread":false},{"title":"hierarchy_tree_statistic.py <span style='color:#111;'> 9.45KB </span>","children":null,"spread":false},{"title":"logger.py <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 2.70KB </span>","children":null,"spread":false},{"title":"config","children":[{"title":"rcv1-v2.json <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false},{"title":"tree-rcv1-v2.json <span style='color:#111;'> 2.19KB </span>","children":null,"spread":false},{"title":"gcn-rcv1-v2-cpu.json <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false},{"title":"gcn-rcv1-v2.json <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false},{"title":"gcnla-rcv1-v2.json <span style='color:#111;'> 2.19KB </span>","children":null,"spread":false},{"title":"treela-rcv1-v2.json <span style='color:#111;'> 2.20KB </span>","children":null,"spread":false}],"spread":true},{"title":"evaluate.py <span style='color:#111;'> 3.17KB </span>","children":null,"spread":false},{"title":"data_modules","children":[{"title":"data_loader.py <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false},{"title":"collator.py <span style='color:#111;'> 2.30KB </span>","children":null,"spread":false},{"title":"preprocess.py <span style='color:#111;'> 4.59KB </span>","children":null,"spread":false},{"title":"dataset.py <span style='color:#111;'> 4.56KB </span>","children":null,"spread":false},{"title":"vocab.py <span style='color:#111;'> 6.03KB </span>","children":null,"spread":false}],"spread":true},{"title":"train.py <span style='color:#111;'> 7.12KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明