syntaxnet-rest-api icon indicating copy to clipboard operation
syntaxnet-rest-api copied to clipboard

SyntaxNet server that does not recreate models (stays alive)

Open malakhovks opened this issue 8 years ago • 8 comments

It will be great to speed up time of analysis with TensorFlow Serving use. I find some info about how to implement it

It's not an issue, but it will great enhancement and feature :)

malakhovks avatar Mar 04 '17 13:03 malakhovks

thanks for the info! will check it out next week :D

ljm625 avatar Mar 05 '17 19:03 ljm625

Hi there, I just did some research these days, it seems that syntaxnet is introducing DRAGNN which I can use to build native version of the wrapper and also it can process instantly. The Tensorflow serving is not officially supported and you need to retrain these modules, so I will probably go for the DRAGNN, hopefully I can complete it in next week :D ( pretty busy these days )

ljm625 avatar Mar 17 '17 23:03 ljm625

Yes, I'm keeping a close eye on the Google Research Blog Maybe it makes sense to divide repository into two sub-packages as it is done by Google:

  1. DRAGNN
  2. SyntaxNet

To make 2 Docker images for each technology.

malakhovks avatar Mar 18 '17 08:03 malakhovks

Please check the DRAGNN branch, it's currently using DRAGNN package and pretty fast :D

ljm625 avatar Mar 21 '17 21:03 ljm625

Ok, I will test it and let you know

malakhovks avatar Mar 22 '17 07:03 malakhovks

thanks, really appreciate it

ljm625 avatar Mar 22 '17 07:03 ljm625

Hi!

Started testing the new DRAGNN

First of all:

  1. Сorrect description of the POST request body (сomma is missing) { "strings": ["Google is awesome!","Syntaxnet is Cool"],
    "tree": true/false }
  2. Response with the result is missing info, such as POS tag
  3. Need to change the way of switching to another ParseySaurus model. GET request that respond "null" it's not good :)

I will continue testing

malakhovks avatar Mar 27 '17 15:03 malakhovks

Thanks for the feedback! All these issues above should be fixed

ljm625 avatar Mar 28 '17 23:03 ljm625