georgedavila / bart-large-mnli-classifier

Zero-shot classifier which classifies text into categories of your choosing. Returns a dictionary of the most likely class and all class likelihoods.

  • Public
  • 3.6K runs
  • T4
  • GitHub
Run with an API
  • Prediction

    georgedavila/bart-large-mnli-classifier:d929487cf059f96a17752ebe55ae5a85b2e8be6cd627078e49c6caa2fd4213db
    ID
    xltgkejb32yjrdsnoiym7jtjei
    Status
    Succeeded
    Source
    Web
    Hardware
    T4
    Total duration
    Created

    Input

    labels
    Cooking Instructions, Question about Astronomy
    text2classify
    how big is the galaxy?

    Output

    { "allClasses": { "Cooking Instructions": 0.01837284117937088, "Question about Astronomy": 0.9816271662712097 }, "mostLikelyClass": "Question about Astronomy" }
    Generated in
  • Prediction

    georgedavila/bart-large-mnli-classifier:d929487cf059f96a17752ebe55ae5a85b2e8be6cd627078e49c6caa2fd4213db
    ID
    r2p7wyrbtp7angxbhjgc4fmvhi
    Status
    Succeeded
    Source
    Web
    Hardware
    T4
    Total duration
    Created

    Input

    labels
    Directions, Food, Car Advice
    text2classify
    How do i get to the mall?

    Output

    { "allClasses": { "Food": 0.018019305542111397, "Car Advice": 0.058397695422172546, "Directions": 0.9235830307006836 }, "mostLikelyClass": "Directions" }
    Generated in
  • Prediction

    georgedavila/bart-large-mnli-classifier:d929487cf059f96a17752ebe55ae5a85b2e8be6cd627078e49c6caa2fd4213db
    ID
    wwjcl6rbtjkwtyy43knkb462fm
    Status
    Succeeded
    Source
    Web
    Hardware
    T4
    Total duration
    Created

    Input

    labels
    Cooking Instructions, Question about Astronomy
    text2classify
    Add salt to boiling water to prevent pasta from sticking together

    Output

    { "allClasses": { "Cooking Instructions": 0.9597448110580444, "Question about Astronomy": 0.04025513678789139 }, "mostLikelyClass": "Cooking Instructions" }
    Generated in
  • Prediction

    georgedavila/bart-large-mnli-classifier:d929487cf059f96a17752ebe55ae5a85b2e8be6cd627078e49c6caa2fd4213db
    ID
    xltgkejb32yjrdsnoiym7jtjei
    Status
    Succeeded
    Source
    Web
    Hardware
    T4
    Total duration
    Created

    Input

    labels
    Cooking Instructions, Question about Astronomy
    text2classify
    how big is the galaxy?

    Output

    { "allClasses": { "Cooking Instructions": 0.01837284117937088, "Question about Astronomy": 0.9816271662712097 }, "mostLikelyClass": "Question about Astronomy" }
    Generated in

Want to make some of these yourself?

Run this model