Skip to main content
Microsoft Foundry
ml6team-distilbert-base-german-cased-toxic-comments

ml6team-distilbert-base-german-cased-toxic-comments

Hugging Face
Version: 3

ml6team/distilbert-base-german-cased-toxic-comments 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":"I like you. I love you"}'

Supported Parameters

  • inputs (string): The text to classify
  • parameters (object):
    • function_to_apply (enum): Possible values: sigmoid, softmax, none.
    • top_k (integer): When specified, limits the output to the top K most probable classes.

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

Quick facts

PublisherHugging Face
TypeText classification
LifecycleGenerally available (GA)