cmarkea-distilcamembert-base-nli
Version: 3
cmarkea/distilcamembert-base-nli
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.
Model Specifications
LicenseMit
Last UpdatedMay 2025
PublisherHuggingFace