asli / distilbert_multiclass_classifier / 0.1.0


Royalty Free
No Tags
API Calls - 14 Avg call duration - N/A
The Algorithm Platform License is the set of terms that are stated in the Software License section of the Algorithmia Application Developer and API License Agreement. It is intended to allow users to reserve as many rights as possible without limiting Algorithmia's ability to run it as a service. Learn more
This is necessary for algorithms that rely on external services, however it also implies that this algorithm is able to send your input data outside of the Algorithmia platform.
This allows an algorithm to compose sophisticated functionality using other algorithms as building blocks , however it also carries the potential of incurring additional royalty and usage costs from any algorithm that it calls .
This algorithm uses advanced GPU features.

Run an example

    "class": "Food_Negative",
    "confidence": 0.9955782294273376
    "class": "Movies_Negative",
    "confidence": 0.9551720023155212
    "class": "Clothing_Positive",
    "confidence": 0.996496856212616
    "class": "Movies_Positive",
    "confidence": 0.986650824546814
    "class": "Food_Positive",
    "confidence": 0.9962068796157836
    "class": "Clothing_Negative",
    "confidence": 0.8656015992164612

Install and use


Install the Algorithmia CLI client by running:

curl -sSLf | sh

Then authenticate by running:

          $ algo auth
# When prompted for api endpoint, hit enter
# When prompted for API key, enter your key: YOUR_API_KEY
CLI install docs


    algo run asli/distilbert_multiclass_classifier/0.1.0 -d '[
  "It has no taste at all, I wonder who would buy it",
  "That movie was absolutely awful",
  "The fabric is so soft and I love the colors, it fits super well",
  "The film was touching and creative",
  "This coconut butter tastes delicious",
  "It's low quality and the stitches are bad"
]' --timeout 300
CLI docs