Pytorch 实现文本分类

上传者: u010138055 | 上传时间: 2021-04-08 20:58:20 | 文件大小: 55KB | 文件类型: ZIP
NL
文本分类的标准代码,Pytorch实现 数据集Dataset - IMDB - SST - Trec ### 模型 - FastText - BasicCNN (KimCNN,MultiLayerCNN, Multi-perspective CNN) - InceptionCNN - LSTM (BILSTM, StackLSTM) - LSTM with Attention (Self Attention / Quantum Attention) - Hybrids between CNN and RNN (RCNN, C-LSTM) - Transformer - Attention is all you need - ConS2S - Capsule - Quantum-inspired NN

文件下载

资源详情

[{"title":"( 50 个子文件 55KB ) Pytorch 实现文本分类","children":[{"title":"TextClassificationBenchmark-master","children":[{"title":"models","children":[{"title":"SelfAttention.py <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false},{"title":"CNN_Inception.py <span style='color:#111;'> 3.46KB </span>","children":null,"spread":false},{"title":"ConvS2S.py <span style='color:#111;'> 25B </span>","children":null,"spread":false},{"title":"CNNMultiLayer.py <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false},{"title":"BiBloSA.py <span style='color:#111;'> 97B </span>","children":null,"spread":false},{"title":"FastText.py <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"MLP.py <span style='color:#111;'> 3.11KB </span>","children":null,"spread":false},{"title":"RCNN.py <span style='color:#111;'> 3.07KB </span>","children":null,"spread":false},{"title":"CNNBasic.py <span style='color:#111;'> 4.62KB </span>","children":null,"spread":false},{"title":"RNN_CNN.py <span style='color:#111;'> 2.41KB </span>","children":null,"spread":false},{"title":"LSTMBI.py <span style='color:#111;'> 2.33KB </span>","children":null,"spread":false},{"title":"LSTM.py <span style='color:#111;'> 2.87KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false},{"title":"Transformer.py <span style='color:#111;'> 16.34KB </span>","children":null,"spread":false},{"title":"QuantumCNN.py <span style='color:#111;'> 25B </span>","children":null,"spread":false},{"title":"DiSAN.py <span style='color:#111;'> 108B </span>","children":null,"spread":false},{"title":"LSTMwithAttention.py <span style='color:#111;'> 2.57KB </span>","children":null,"spread":false},{"title":"CNNInception.py <span style='color:#111;'> 3.42KB </span>","children":null,"spread":false},{"title":"LSTMTree.py <span style='color:#111;'> 72B </span>","children":null,"spread":false},{"title":"Capsule.py <span style='color:#111;'> 5.15KB </span>","children":null,"spread":false},{"title":"CNNKim.py <span style='color:#111;'> 5.56KB </span>","children":null,"spread":false},{"title":"MemoryNetwork.py <span style='color:#111;'> 3.19KB </span>","children":null,"spread":false},{"title":"LSTMStack.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"CNNText.py <span style='color:#111;'> 2.45KB </span>","children":null,"spread":false},{"title":"CNN.py <span style='color:#111;'> 7.47KB </span>","children":null,"spread":false}],"spread":false},{"title":"config","children":[{"title":"imdb.ini <span style='color:#111;'> 25B </span>","children":null,"spread":false}],"spread":true},{"title":"main.py <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false},{"title":"docs","children":[{"title":"data_config.md <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"data_config_en.md <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"windows_torch.md <span style='color:#111;'> 979B </span>","children":null,"spread":false},{"title":"windows_torch_en.md <span style='color:#111;'> 1019B </span>","children":null,"spread":false}],"spread":true},{"title":"parameter_search.py <span style='color:#111;'> 3.77KB </span>","children":null,"spread":false},{"title":"utils.py <span style='color:#111;'> 7.24KB </span>","children":null,"spread":false},{"title":"dataHelper.py <span style='color:#111;'> 9.75KB </span>","children":null,"spread":false},{"title":"trandition.py <span style='color:#111;'> 2.75KB </span>","children":null,"spread":false},{"title":"push.bash <span style='color:#111;'> 93B </span>","children":null,"spread":false},{"title":"dataloader","children":[{"title":"glove.py <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"ag.py <span style='color:#111;'> 2.97KB </span>","children":null,"spread":false},{"title":"Dataset.py <span style='color:#111;'> 3.89KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 1004B </span>","children":null,"spread":false},{"title":"sst.py <span style='color:#111;'> 2.96KB </span>","children":null,"spread":false},{"title":"mr.py <span style='color:#111;'> 2.97KB </span>","children":null,"spread":false},{"title":"torch_text_demo","children":[{"title":"trec.py <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"sst.py <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false},{"title":"imdb.py <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false}],"spread":false},{"title":"imdb.py <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false},{"title":"LICENSE.txt <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"opts.py <span style='color:#111;'> 4.21KB </span>","children":null,"spread":false},{"title":"search.sh <span style='color:#111;'> 308B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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