Recognai/zeroshot_selectra_small

`Recognai/zeroshot_selectra_small` powered by Hugging Face Inference Toolkit - [Original Model Card](https://huggingface.co/Recognai/zeroshot_selectra_small) - [`zero-shot-classification` Task on Hug…

azureFoundry/HuggingFace/recognai-zeroshot-selectra-small@3

Recognai/zeroshot_selectra_small powered by Hugging Face Inference Toolkit

Send Request

You can use cURL or any REST Client to send a request to the AzureML endpoint with your AzureML token.

curl <AZUREML_ENDPOINT_URL> \
    -X POST \
    -H "Authorization: Bearer <AZUREML_TOKEN>" \
    -H "Content-Type: application/json" \
    -d '{"inputs":"Hi, I recently bought a device from your company but it is not working as advertised and I would like to get reimbursed!","parameters":{"candidate_labels":["refund", "legal", "faq"]}}'

Supported Parameters

  • inputs (string): The text to classify
  • parameters (object):
    • candidate_labels (string[]): The set of possible class labels to classify the text into.
    • hypothesis_template (string): The sentence used in conjunction with candidate_labels to attempt the text classification by replacing the placeholder with the candidate labels.
    • multi_label (boolean): Whether multiple candidate labels can be true. If false, the scores are normalized such that the sum of the label likelihoods for each sequence is 1. If true, the labels are considered independent and probabilities are normalized for each candidate.

Check the full API Specification at the Hugging Face Inference documentation.

Specifications & capabilities

Published model ID
zeroshot_selectra_small

Provider specifications & access

1–1 / 1

Recognai/zeroshot_selectra_small ↗

source model id
HuggingFace/recognai-zeroshot-selectra-small@3
hosting
foundry-managed-compute
platforms
  • Microsoft Foundry
license
apache-2.0
architecture
input_modalities
    output_modalities
      capabilities

        Original sources

        1–4 / 4

        Hugging Face · Recognai/zeroshot_selectra_small ↗

        Microsoft Foundry · Model page ↗

        Microsoft Foundry · Model documentation ↗

        Microsoft Foundry · Catalog ↗

        Source links

        1–1 / 1

        Explore more models

        Models

        Loading
        EVIDENCE / COMPARISON

        Benchmarks

        Explore every benchmark

        Loading

        These charts contain model-linked results. The charts above also include unlinked source profiles. Compare scores within each evaluation. Model quality, usage, transparency and system performance measure different things.

        Install TensorTrace