Giter VIP home page Giter VIP logo

classify-text's Introduction

classify-text's People

Contributors

lstaroth avatar surfrid3r avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

classify-text's Issues

依赖文件所在百度文库地址已失效

项目使用的词向量:embedding_64.bin(1.5G)
训练语料:百度百科800w条 20G+搜狐新闻400w条 12G+小说:90G左右
模型参数:window=5 min_count=5 size=64
下载链接:百度网盘链接 密码:wzqv

FileNotFoundError: [Errno 2] No such file or directory: './data//cnn//training_params.pickle'

test速度非常慢

很不错的项目。
有一个问题,训练完成后,进行测试,即使只有几行测试文本,也会在word2vec环节消耗几十秒时间,有解决办法吗?

visual.py中可视化结果错了

这是readdata文件中的向量化:
#pos都是[0,1],neg都是[1,0]
positive_label_lists=[[0,1] for _ in positive_sample_lists]
negative_label_lists=[[1,0] for _ in negative_sample_lists]

这是prediction:
self.predictions=tf.argmax(self.result,1,name="predictions")

这是结果统计:
for i, num in enumerate(prediction):
if num == 0:
positive+=1
else:
negative+=1
pos不应该是1吗?[0,1] argmax之后不就是1吗?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.