Share via

Internal error when training custom category

Tony Williams 5 Reputation points
2025-12-05T19:32:19.4066667+00:00

I'm trying to use the Content Safety Studio to train the AI on a custom category. I uploaded my .jsonl file to a blob storage and have 64 examples in the following format in the file:

{"text": "Message: Temporary Access Token  One-Time Access Token Use this token to access the temporary file viewer. This token is valid for 1 hour only. xxxx Do not refresh the page after entering the code. ", "isPositive": true}
{"text": "Message: Access Token  One-Time Access Token Use this token to access the file viewer. This token is valid for 1 hour only. xxxx Do not refresh the page after entering the code. ", "isPositive": true}

Except every time I try to train the model, the training status fails with 'internal error'. I've tried five times now and I get the internal error every time. Are there certain restricted characters or something? The documentation here is severely lacking and it takes at least two hours for it to error out so it's incredibly difficult to troubleshoot.

Azure AI Content Safety
Azure AI Content Safety

An Azure service that enables users to identify content that is potentially offensive, risky, or otherwise undesirable. Previously known as Azure Content Moderator.


1 answer

Sort by: Most helpful
  1. Manas Mohanty 16,190 Reputation points Microsoft External Staff Moderator
    2025-12-23T05:20:39.9233333+00:00

    Hi Tony Williams and Saurabh Gupta

    Apologize for the delay in response.

    It is not able to pick up my content safety resource in personal subscription.

    Have not got a chance to sync internally with relevant teams for confirming depreciation on content safety resources.

    Workaround solution is to test "Custom Categories " feature under "Guard Rails and Controls"/"Try out" option.

    User's image

    Available region for Standard - East Us and Australia East, you can leverage an East Us2 AI resource for evaluation too.

    Reference

    https://learn.microsoft.com/en-us/azure/ai-services/content-safety/quickstart-custom-categories?tabs=curl&pivots=programming-language-foundry-portal

    https://learn.microsoft.com/en-us/azure/ai-services/content-safety/overview#region-availability

    Thank you for understanding.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.