【文件属性】:
文件名称:cnn_text_classification:Tensorflow CNN文本分类的实现
文件大小:494KB
文件格式:ZIP
更新时间:2021-04-27 12:52:17
text-classification tensorflow cnn cnn-classification Python
cnn_text_classification
Tensorflow中的Kim的。
要求
的Python 3
Tensorflow> 1.0
脾气暴躁的
纳尔特克
tqdm
资料格式
我们需要2个文件,一个用于训练,一个用于验证。数据的格式很容易,文件中的每一行都有两列,第一列是标签,第二列是文本。它们用'\ t'分段。 数据格式示例
1 for a long time the film succeeds with its dark , delicate treatment of these characters and its unerring respect for them .
0 the film seems all but destined to pop up on a television screen in the background of a scene in a
【文件预览】:
cnn_text_classification-master
----cnn_model.py(9KB)
----input()
--------data()
----train.py(3KB)
----data_utils.py(7KB)
----README.md(3KB)
----download.sh(198B)