dmlc / gluon-nlp

NLP made easy
https://nlp.gluon.ai/
Apache License 2.0
2.56k stars 538 forks source link

[DEMO] GluonNLP demos #688

Open eric-haibin-lin opened 5 years ago

eric-haibin-lin commented 5 years ago

Similar to https://demo.allennlp.org, it would be great to have online demo applications for various models available in gluonnlp.

List of demos from AllenNLP for reference:

Annotate a sentence

Annotate a passage

Answer a question

Semantic parsing

Other

eric-haibin-lin commented 4 years ago
  1. We can add dependency parsing, coreference resolution, named entity recognition, and POS tagging similar to https://emorynlp.github.io/ddr/viz/

Specifically, we want users to enter a paragraph (or selection one from a set of candidate paragraphs), and we show the result of coreference, NER, POS tagging inline with the paragraph. When the user clicks on any sentence in the paragraph, we show an additional dependency parsing visualization result for that sentence.

  1. Abstractive Summarization

  2. Natural Language for Visual Reasoning

eric-haibin-lin commented 4 years ago
  1. Abstractive Summarization
eric-haibin-lin commented 4 years ago
  1. Natural Language for Visual Reasoning
eric-haibin-lin commented 4 years ago

@StrayBird-ATSH we can probably pick 1 or 2

eric-haibin-lin commented 4 years ago

We can have the following stack:

leezu commented 4 years ago

dedicated g4dn.xlarge instance for server hosting

how to handle traffic spikes? It may require auto-scaling and batching of user requests?

eric-haibin-lin commented 4 years ago

Maybe we can add auto scaling for the second phase of the project, considering team's capacity. For now, I assume the traffic (number_unique_visitors) is not a lot. Because the Web UI will not allow large amount of automated inference jobs, we will have at most number_unique_visitors concurrent connections. If users want to leverage our demo for running a large amount of data, they can use the sagemaker/colab script we prepared.