localminimum / R-net

A Tensorflow Implementation of R-net: Machine reading comprehension with self matching networks
MIT License
323 stars 122 forks source link

Online demo / realtime user interface #23

Closed ghost closed 6 years ago

ghost commented 6 years ago

From issue #22, we want to make a web based user interface/interaction tool so that users can copy and paste whatever passage context and questions they want and python/tensorflow backend will process the data. @theSage21 could you please submit a pr for the web interface? Thanks!

jenniferzhu commented 6 years ago

Thanks @minsangkim142 @theSage21 for opening a new issue on my question! I think UI is a good idea to do the test. Without having an UI right now, how can I test it on the terminal?

theSage21 commented 6 years ago

@minsangkim142 for some reason I'm unable to get py2.7 to install tensorflow on my system. I've pushed some code to my for of this project. Where do you want to put this ability? Another mode in Params and run through python model.py?

theSage21 commented 6 years ago

@jenniferzhu There's no live evaluation capability web/cli or otherwise AFAIK. We'll just have to wait for this feature to go in.

jenniferzhu commented 6 years ago

@theSage21 Thanks! I guess this will be an interesting feature to add!

ghost commented 6 years ago

@theSage21 Yup I created a branch called "demo" where pushed a basic framework for R-net backend. image Could you have a look?

ghost commented 6 years ago

Committed a working demo at "demo" branch. check here a9244f02f41bf85862f66b31990d4dd24fe5f248 image Now we need to make the damn box bigger haha

theSage21 commented 6 years ago

Bigger box :smile: as of https://github.com/theSage21/R-net/commit/1cb66e967d7ce3b2779ad625877fced02fe78c00

Does that work?

image

ghost commented 6 years ago

Merged to the master branch, thank you @theSage21