Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Online demo is down #1398

Closed
alpgarcia opened this issue Nov 22, 2023 · 7 comments
Closed

Online demo is down #1398

alpgarcia opened this issue Nov 22, 2023 · 7 comments

Comments

@alpgarcia
Copy link

Hi,

Not sure if this is the right place for this. Please let me know where I should post it instead if needed.

The online demo seems to be down since some days ago (at least). Each time I tried, I got a timeout.

Thanks for your help,
Alberto.

@AngledLuffa
Copy link
Contributor

AngledLuffa commented Nov 22, 2023 via email

@melandresen
Copy link

Can you say anything about whether the demo will be back online at the same URL in the long run? I am referring to the URL in a book that will be printed in January or February, and I would like to avoid it being immediately outdated, if possible. Thank you very much!

@AngledLuffa
Copy link
Contributor

AngledLuffa commented Nov 28, 2023 via email

@melandresen
Copy link

Great, glad to hear that! Thank you!

@mkarmona
Copy link

@melandresen @alpgarcia to easily run locally you can use this script

coursier launch --extra-jars stanford-corenlp-4.5.5-models-english.jar --extra-jars stanford-corenlp-4.5.5-models.jar org.slf4j:slf4j-simple:2.0.7  edu.stanford.nlp:stanford-corenlp:4.5.5 --main-class  edu.stanford.nlp.pipeline.StanfordCoreNLPServer -- -port 9000 -timeout 15000 -annotators "tokenize, ssplit, pos, lemma, depparse, natlog"

The dependencies you need are

  • coursier installed
  • jvm
  • download the models from maven, in my case models.jar and models-english.jar and put in the same script path

Does anyone know how to instruct Coursier to also fetch maven classifiers?

@alpgarcia
Copy link
Author

Thanks @mkarmona!

I have the pending task of trying this: #1356 (comment)

@AngledLuffa
Copy link
Contributor

In general, if you can have your users download external resources, I don't think you need to download all of those pieces yourself. I could be wrong, though.

For now, I've put the demo back up with a much lower max query length. If it crashes again, I'll look for other causes. In the meantime, I do recommend that if people are using the demo for more than just "let's see if CoreNLP can do this thing before we install it and start using it locally", the best approach is to install it and start using it locally. We just don't have the server capacity to support everyone who might want to use it otherwise.

@manning manning closed this as completed Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants