Mistral AI's Shieldstral evaluates content against a policy supplied with each request. An ApplicationSoftware arranged so that a person can use it; in this course, the software around a model that accepts your request, prepares the context and shows the reply.Full definition → provides the evaluation Context and context windowContext is the information available for a generation; the context window is the capacity available to hold it.Full definition →, a yes-or-no policy question and the text or image to judge. The model converts its relative scores for yes and no into a continuous score that the application can threshold. The release explains this interface.
This lets developers change the question being evaluated without retraining the model for a new fixed list of categories. The same interface can ask whether a response refused a request or whether supplied content violates a particular policy. Shieldstral provides the classification score; the application determines what action to take at its chosen threshold.
Terms in this piece · Glossary
Application — Software arranged so that a person can use it; in this course, the software around a model that accepts your request, prepares the context and shows the reply.
Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.
Inference — Using a trained model to produce an output from a supplied input.
calibration — How well a model's confidence matches reality — a calibrated model saying "90% sure" is right about 90% of the time.