基于ELMo词向量的textCNN中文文本分类python代码

上传者: vivian_ll | 上传时间: 2021-03-30 10:07:32 | 文件大小: 383.46MB | 文件类型: ZIP
基于ELMo词向量的textCNN中文文本分类python代码,ELMo是基于哈工大的HIT-SCIR/ELMoForManyLangs,文本分类代码是基于keras的,有数据有模型有代码。

文件下载

资源详情

[{"title":"( 94 个子文件 383.46MB ) 基于ELMo词向量的textCNN中文文本分类python代码","children":[{"title":"1.ELMo_Chinese_text_classifier","children":[{"title":"ELMoForManyLangs","children":[{"title":"setup.py <span style='color:#111;'> 375B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":".git","children":[{"title":"info","children":[{"title":"exclude <span style='color:#111;'> 250B </span>","children":null,"spread":false}],"spread":true},{"title":"objects","children":[{"title":"pack","children":[{"title":"pack-f27df9a1e43ce577a82f2d62bbffa9925112f857.idx <span style='color:#111;'> 5.80KB </span>","children":null,"spread":false},{"title":"pack-f27df9a1e43ce577a82f2d62bbffa9925112f857.pack <span style='color:#111;'> 86.67KB </span>","children":null,"spread":false}],"spread":true},{"title":"info","children":null,"spread":false}],"spread":true},{"title":"HEAD <span style='color:#111;'> 23B </span>","children":null,"spread":false},{"title":"description <span style='color:#111;'> 73B </span>","children":null,"spread":false},{"title":"packed-refs <span style='color:#111;'> 114B </span>","children":null,"spread":false},{"title":"branches","children":null,"spread":false},{"title":"config <span style='color:#111;'> 318B </span>","children":null,"spread":false},{"title":"index <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false},{"title":"refs","children":[{"title":"tags","children":null,"spread":false},{"title":"remotes","children":[{"title":"origin","children":[{"title":"HEAD <span style='color:#111;'> 32B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"heads","children":[{"title":"master <span style='color:#111;'> 41B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"hooks","children":[{"title":"commit-msg.sample <span style='color:#111;'> 896B </span>","children":null,"spread":false},{"title":"pre-receive.sample <span style='color:#111;'> 544B </span>","children":null,"spread":false},{"title":"fsmonitor-watchman.sample <span style='color:#111;'> 3.25KB </span>","children":null,"spread":false},{"title":"pre-rebase.sample <span style='color:#111;'> 4.78KB </span>","children":null,"spread":false},{"title":"prepare-commit-msg.sample <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"update.sample <span style='color:#111;'> 3.53KB </span>","children":null,"spread":false},{"title":"pre-push.sample <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"pre-commit.sample <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"post-update.sample <span style='color:#111;'> 189B </span>","children":null,"spread":false},{"title":"applypatch-msg.sample <span style='color:#111;'> 478B </span>","children":null,"spread":false},{"title":"pre-applypatch.sample <span style='color:#111;'> 424B </span>","children":null,"spread":false}],"spread":false},{"title":"logs","children":[{"title":"HEAD <span style='color:#111;'> 191B </span>","children":null,"spread":false},{"title":"refs","children":[{"title":"remotes","children":[{"title":"origin","children":[{"title":"HEAD <span style='color:#111;'> 191B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"heads","children":[{"title":"master <span style='color:#111;'> 191B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"build","children":[{"title":"bdist.win-amd64","children":null,"spread":false},{"title":"lib","children":[{"title":"elmoformanylangs","children":[{"title":"__init__.py <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":"dataloader.py <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"elmo.py <span style='color:#111;'> 7.68KB </span>","children":null,"spread":false},{"title":"biLM.py <span style='color:#111;'> 24.86KB </span>","children":null,"spread":false},{"title":"utils.py <span style='color:#111;'> 428B </span>","children":null,"spread":false},{"title":"frontend.py <span style='color:#111;'> 7.07KB </span>","children":null,"spread":false},{"title":"__main__.py <span style='color:#111;'> 10.05KB </span>","children":null,"spread":false},{"title":"modules","children":[{"title":"lstm_cell_with_projection.py <span style='color:#111;'> 12.85KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"elmo.py <span style='color:#111;'> 9.28KB </span>","children":null,"spread":false},{"title":"highway.py <span style='color:#111;'> 2.87KB </span>","children":null,"spread":false},{"title":"token_embedder.py <span style='color:#111;'> 4.54KB </span>","children":null,"spread":false},{"title":"util.py <span style='color:#111;'> 8.82KB </span>","children":null,"spread":false},{"title":"embedding_layer.py <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false},{"title":"encoder_base.py <span style='color:#111;'> 16.26KB </span>","children":null,"spread":false},{"title":"classify_layer.py <span style='color:#111;'> 8.64KB </span>","children":null,"spread":false},{"title":"lstm.py <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"dist","children":[{"title":"elmoformanylangs-0.0.2-py3.6.egg <span style='color:#111;'> 81.55KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 10.17KB </span>","children":null,"spread":false},{"title":"configs","children":[{"title":"cnn_0_100_512_4096_sample.json <span style='color:#111;'> 474B </span>","children":null,"spread":false},{"title":"cnn_50_100_512_4096_sample.json <span style='color:#111;'> 474B </span>","children":null,"spread":false}],"spread":true},{"title":"elmoformanylangs","children":[{"title":"__init__.py <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":"dataloader.py <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"elmo.py <span style='color:#111;'> 7.68KB </span>","children":null,"spread":false},{"title":"biLM.py <span style='color:#111;'> 24.86KB </span>","children":null,"spread":false},{"title":"utils.py <span style='color:#111;'> 428B </span>","children":null,"spread":false},{"title":"frontend.py <span style='color:#111;'> 7.07KB </span>","children":null,"spread":false},{"title":"__main__.py <span style='color:#111;'> 10.05KB </span>","children":null,"spread":false},{"title":"modules","children":[{"title":"lstm_cell_with_projection.py <span style='color:#111;'> 12.85KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"elmo.py <span style='color:#111;'> 9.28KB </span>","children":null,"spread":false},{"title":"highway.py <span style='color:#111;'> 2.87KB </span>","children":null,"spread":false},{"title":"token_embedder.py <span style='color:#111;'> 4.54KB </span>","children":null,"spread":false},{"title":"util.py <span style='color:#111;'> 8.82KB </span>","children":null,"spread":false},{"title":"embedding_layer.py <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false},{"title":"encoder_base.py <span style='color:#111;'> 16.26KB </span>","children":null,"spread":false},{"title":"classify_layer.py <span style='color:#111;'> 8.64KB </span>","children":null,"spread":false},{"title":"lstm.py <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"elmoformanylangs.egg-info","children":[{"title":"top_level.txt <span style='color:#111;'> 17B </span>","children":null,"spread":false},{"title":"SOURCES.txt <span style='color:#111;'> 808B </span>","children":null,"spread":false},{"title":"PKG-INFO <span style='color:#111;'> 344B </span>","children":null,"spread":false},{"title":"dependency_links.txt <span style='color:#111;'> 1B </span>","children":null,"spread":false},{"title":"requires.txt <span style='color:#111;'> 27B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"ELMo_text_classification.py <span style='color:#111;'> 3.83KB </span>","children":null,"spread":false},{"title":".ipynb_checkpoints","children":[{"title":"ELMo_text_classification-checkpoint.ipynb <span style='color:#111;'> 8.99KB </span>","children":null,"spread":false}],"spread":true},{"title":"zhs.model","children":[{"title":"encoder.pkl <span style='color:#111;'> 288.25MB </span>","children":null,"spread":false},{"title":"token_embedder.pkl <span style='color:#111;'> 98.94MB </span>","children":null,"spread":false},{"title":".DS_Store <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"word.dic <span style='color:#111;'> 970.10KB </span>","children":null,"spread":false},{"title":"char.dic <span style='color:#111;'> 52.94KB </span>","children":null,"spread":false},{"title":"config.json <span style='color:#111;'> 479B </span>","children":null,"spread":false}],"spread":true},{"title":"ELMo_model.h5 <span style='color:#111;'> 18.07MB </span>","children":null,"spread":false},{"title":".DS_Store <span style='color:#111;'> 8.00KB </span>","children":null,"spread":false},{"title":"utils.py <span style='color:#111;'> 4.17KB </span>","children":null,"spread":false},{"title":"configs","children":[{"title":"cnn_50_100_512_4096_sample.json <span style='color:#111;'> 474B </span>","children":null,"spread":false}],"spread":true},{"title":".idea","children":[{"title":"1.ELMo_Chinese_text_classifier.iml <span style='color:#111;'> 464B </span>","children":null,"spread":false},{"title":"misc.xml <span style='color:#111;'> 294B </span>","children":null,"spread":false},{"title":"workspace.xml <span style='color:#111;'> 15.06KB </span>","children":null,"spread":false},{"title":"vcs.xml <span style='color:#111;'> 202B </span>","children":null,"spread":false},{"title":"deployment.xml <span style='color:#111;'> 370B </span>","children":null,"spread":false},{"title":"inspectionProfiles","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 319B </span>","children":null,"spread":false}],"spread":true},{"title":"__pycache__","children":[{"title":"utils.cpython-36.pyc <span style='color:#111;'> 4.58KB </span>","children":null,"spread":false}],"spread":true},{"title":"processed_data","children":[{"title":"technology.txt <span style='color:#111;'> 4.42MB </span>","children":null,"spread":false},{"title":"sports.txt <span style='color:#111;'> 3.72MB </span>","children":null,"spread":false},{"title":"entertainment.txt <span style='color:#111;'> 4.09MB </span>","children":null,"spread":false},{"title":"car.txt <span style='color:#111;'> 2.39MB </span>","children":null,"spread":false},{"title":"military.txt <span style='color:#111;'> 3.06MB </span>","children":null,"spread":false}],"spread":true},{"title":"ELMo_text_classification.ipynb <span style='color:#111;'> 24.90KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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