brightmart / text_classification

all kinds of text classification models and more with deep learning
MIT License
7.87k stars 2.57k forks source link

Errors when debugging #42

Closed wyl6 closed 6 years ago

wyl6 commented 6 years ago

As a noob,I find it hard to debug your programs.There are too many problems... Dear author,would you please provide even one complete code that could run directly?

Besides,I would really appreciate it if you explain how to make personal files similar with 'zhihu-word2vec-title-desc.bin-100'.

liangtianxin commented 6 years ago

zhihu-word2vec-title-desc.bin-100'. I have the same problem. how can I get the file "zhihu-word2vec-title-desc.bin-100'"

wyl6 commented 6 years ago

Go to sample data, pre-trained word embedding for data.

brightmart commented 6 years ago

yeah. for 'zhihu-word2vec-title-desc.bin-100', you can use data to pre-trained word embedding. for example, use word2vec or fasttext to pre-trained it. then you will get it.

brightmart commented 6 years ago

UPDATE: if you want to try a model now, you can go to folder 'a02_TextCNN', run 'python -u p7_TextCNN_train.py', it will use sample data to train a model, and print loss and F1 score periodically.

wyl6 commented 6 years ago

thank you so much!

在 2018-04-16 22:19:11,brightmart notifications@github.com 写道:

UPDATE: if you want to try a model now, you can go to folder 'a02_TextCNN', run 'python -u p7_TextCNN_train.py', it will use sample data to train a model, and print loss and F1 score periodically.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.