Skip to content

Instantly share code, notes, and snippets.

@zeryx
Created June 5, 2019 18:38
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 zeryx/bdd2d354adeafefd4804a3f783b90614 to your computer and use it in GitHub Desktop.
Save zeryx/bdd2d354adeafefd4804a3f783b90614 to your computer and use it in GitHub Desktop.
{
"data":[
{
"text":"The atomic nucleus is held together with the strong nuclear force. Nuclear power is a very economical fuel source for today's economies."
}
],
"namespace":"data://nlp/arxiv_model",
"mode":"predict",
"option":"very accurate",
"returnDocs":true
}
{
"predictions": [
{
"specimen": "The atomic nucleus is held together with the strong nuclear force. Nuclear power is a very economical fuel source for today's economies.",
"topN": [
{
"distance": 0.05968642234802246,
"prediction": "economics"
},
{
"distance": 0.08835440874099731,
"prediction": "nuclear"
},
{
"distance": 0.23754829168319705,
"prediction": "electron"
},
{
"distance": 0.41273558139801025,
"prediction": "learning"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment