【文件属性】:
文件名称:pytorch-sentiment-analysis-classification:情感分析分类的PyTorch教程(RNN,LSTM,Bi-LSTM,LSTM + Attention,CNN)
文件大小:6.45MB
文件格式:ZIP
更新时间:2021-05-24 08:39:44
pytorch lstm rnn bi-lstm lstm-attention
情感分析分类
先决条件
安装依赖项
pip install -r requirements.txt
安装Spacy英语数据
python -m spacy download en
框架
火炬
数据集
Cornell MR(电影评论)数据集
实施
RNN
LSTM
双LSTM
LSTM +注意
有线电视新闻网
【文件预览】:
pytorch-sentiment-analysis-classification-master
----train.py(8KB)
----preprocessing.py(1015B)
----model.py(4KB)
----requirements.txt(51B)
----dataset.py(2KB)
----config()
--------cnn.cfg(116B)
----LICENSE(1KB)
----demo.py(564B)
----README.md(327B)
----mr_vocab.txt.pt(6.07MB)
----data()
--------test.lab(4KB)
--------train.lab(33KB)
--------test.tsv(126KB)
--------dev.tsv(125KB)
--------test.sen(123KB)
--------dev.lab(4KB)
--------train.tsv(995KB)
--------dev.sen(122KB)
--------train.sen(970KB)
----.gitignore(1KB)