Skip to content

Instantly share code, notes, and snippets.

@lando22
Created May 24, 2022 06:28
Show Gist options
  • Save lando22/a1919d283ae90ab282782b233eaaece6 to your computer and use it in GitHub Desktop.
Save lando22/a1919d283ae90ab282782b233eaaece6 to your computer and use it in GitHub Desktop.
import humingbird
prediction = humingbird.Text.predict(
text="A example sentence from the dataset",
labels=["positive", "negative", "neutral"]
)
print(prediction)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment