Giter VIP home page Giter VIP logo

roomylee / rcnn-text-classification Goto Github PK

View Code? Open in Web Editor NEW
150.0 3.0 48.0 2.74 MB

Tensorflow Implementation of "Recurrent Convolutional Neural Network for Text Classification" (AAAI 2015)

Home Page: https://www.aaai.org/ocs/index.php/AAAI/AAAI15/paper/view/9745

Python 100.00%
rcnn recurrent-neural-networks convolutional-neural-networks text-classification sentiment-analysis tensorflow

rcnn-text-classification's Introduction

Hi, I'm Joohong

I am a Machine Learning Researcher at Scatter Lab in South Korea ๐Ÿ‡ฐ๐Ÿ‡ท.

๐Ÿš€ Iโ€™m currently working on ...

  • Developing a Korean Open-domain Chatbot Luda.
  • Building a Dataset for Korean Language Understanding Evaluation, KLUE.

๐Ÿ”ฅ I'm interested in ...

  • Open-domain Conversational AI
  • Language Modeling and Represenation Learning
  • Production ML System in the Real World

๐Ÿ“ซ How to reach me

Tech Blog Badge Linkedin Badge Facebook Badge

rcnn-text-classification's People

Contributors

roomylee 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  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

rcnn-text-classification's Issues

Something about the training accuracy

Thanks for your code ! I wanna ask what is your accuracy on the training set and dev set during the training process ? I am a little bit confused because my best result is 0.67 for the training set, 0.55 for the dev set. I do not use pre-training word2vec, num_epochs was set to 50, and other experiment configurations are just default

์ œ๋ชฉ ์˜คํƒ€

Calssification ์„ Classification ๋กœ ๊ณ ์น˜์…”์•ผ ํ•  ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค.

Implement details

Thanks for sharing code. It seems that your implement of context representation vectors (via Bi-RNN) differ from the original paper's (Equation 1&2). Have you compare the performance between them and what's your intuition? :)

Embeddining part is not running

i have tried to run your code but embedding part is not running. Its giving me various errors such as "vocab_size is not defined", "word_embedding_size is not defined" and "self is not defined". Please tell me how to get rid of these problems.

tensorflow.python.framework.errors_impl.NotFoundError

Thanks for your code,however,I have a problem when running "eval.py".

File "F:\Program Files (x86)\python3.6\00\lib\site-packages\tensorflow\contrib\learn\python\learn\preprocessing\text.py", line 246, in restore
return pickle.loads(f.read())
File "F:\Program Files (x86)\python3.6\00\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 125, in read self._preread_check()
File "F:\Program Files (x86)\python3.6\00\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 85, in _preread_check
compat.as_bytes(self.__name), 1024 * 512, status)
File "F:\Program Files (x86)\python3.6\00\lib\site-packages\tensorflow\python\framework\errors_impl.py", line 526, in exit
c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.NotFoundError: NewRandomAccessFile failed to Create/Open: ..\text_vocab : ฯตอณ\udcd5าฒ\udcbb\udcb5\udcbdึธ\udcb6\udca8\udcb5\udcc4\udcceฤผ\udcfe\udca1\udca3
; No such file or directory

Please tell me how can I get rid of this bug,thanks a lot!

@roomylee

Thanks for your code. But I have a problem. In the raw paper, theta represent all paramaters ,including "E; b(2); b(4); cl(w1); cr(wn); W (2);W (4); W (l); W (r); W (sl); W (sr)", these are all trained while training. But in your code, there are no "W (l); W (r); W (sl); W (sr)" and "cl(w1)" always setted to be zero vector because of the use of biRNN, is that a problem?Thanks!

Different from the raw paper

ur work is very perfect!
But the raw paper use the previous embedding and cell_state as input to calculate current cell_state as context left.your code use normal RNN(current embedding and previous cell_state) to calculate the cell_state.
I try write code as raw paper,but i find it is very slow.
what is your opinion?

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.