Giter Site home page Giter Site logo

qiaofei32 / dnn-lstm-word-segment Goto Github PK

View Code? Open in Web Editor NEW
23.0 6.0 15.0 13 KB

Chinese Word Segmention Base on the Deep Learning and LSTM Neural Network

Batchfile 1.34% Shell 1.92% Python 96.74%
dnn word2vec word-segmentation chinese-text-segmentation keras lstm

dnn-lstm-word-segment's Introduction

dnn-lstm-word-segment

Chinese Word Segmention Base on the Deep Learning and LSTM Neural Network

How To Use

You need to download some resources and extract it in the folder.

dnn-lstm-word-segment's People

Contributors

qiaofei32 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

dnn-lstm-word-segment's Issues

程序运行出错

你好,我试着跑了一遍你的w2v-lstm-word-segment-class.py,报错Traceback (most recent call last):
File "w2v-lstm-word-segment-class.py", line 263, in
sentence = sentence.decode("utf8")
AttributeError: 'NoneType' object has no attribute 'decode'
请问这是什么原因呢?

问一下,您的那个LSTM分词模型训练了多长时间

就是我拿您的程序用来测试了一下。我理解的程序的意思是,先把文档分成每一行的句子,再把句子用长度为5的窗口来再次进行分割。每一个窗口分割的长度为5的数组就要用LSTM模型跑一遍。而每跑一遍就需要500次epoch,每次epoch又进行20000下。我发现的跑的这也太慢了,即使是GPU跑也太慢了。

我看见您百度云里面有已经训练好的模型,我想知道这个模型训练了多长时间,还有我的理解有没有问题。希望您能帮我解惑,谢谢

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.