Skip to content

Instantly share code, notes, and snippets.

@willprice76
Last active August 27, 2020 11:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save willprice76/110633b6a9af4e003935ff225f69ad2d to your computer and use it in GitHub Desktop.
Save willprice76/110633b6a9af4e003935ff225f69ad2d to your computer and use it in GitHub Desktop.
example request to train
curl -X POST -H --data
"[{\"text\": \"I love Spark NLP\", \"label\": \"positive\"}, {\"text\": \"I hate using Scala objects in Java\", \"label\": \"negative\"}]"
http://localhost:8080/sentiment/train
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment