Tasks and inputs
Sentiment-Analysis-7B is listed for Text classification, Text generation. It accepts text and produces text. Use the publisher’s input format and preprocessing for your chosen deployment.
SyncDev model directory · Profile updated Nov 19, 2026
Sentiment-Analysis-7B is Microsoft's open 7B classifier that labels customer messages about a product or agent as Negative, Neutral or Positive.
The specification score summarizes recorded features and limits. It is not a benchmark result.
Pricing conditions: Open weights for self-hosting; no hosted API price. Hardware cost is yours.
Recorded modality support shows what this model can accept and produce. An undocumented modality is shown as unknown rather than assumed to be unsupported.
Accepts
Produces
"I'm having trouble logging in" is negative. "Login button is not working, can you help?" is neutral. That distinction, which most sentiment tools miss, is what Microsoft's Sentiment-Analysis-7B was tuned to make. It judges sentiment towards the service, product or agent a user is talking to, called the Target, rather than the general mood of the text.
The model was published in October 2026 under the MIT licence.
It starts from Mistral-7B-Instruct-v0.2 and was fine-tuned with reinforcement learning, using an LLM as the judge, on roughly 300 internal examples. No pre-defined labels were used. Microsoft reports accuracy rising from 62.0% for the base model to 72.8%.
What that evaluation set contains is not described. Treat the gain as directional.
The first generated token is always the label: Negative, Neutral or Positive. A short explanation follows. Set max_new_tokens=3 to get the label alone, or around 64 for the reasoning.
The system prompt is not optional. It defines the Target and the rules, among them:
Changing those rules changes the classifier. That is a feature if your policy differs; just test after every edit.
| Item | Value |
|---|---|
| Repo | microsoft/Sentiment-Analysis-7B |
| Base | Mistral-7B-Instruct-v0.2 |
| Parameters | ~7.2B (BF16) |
| Loader | AutoModelForCausalLM |
| Output | Label token, then explanation |
| Licence | MIT |
A 7B generative model is heavy for classification. If you process millions of messages, compare it with a fine-tuned encoder from the text classification directory, which may be ten times cheaper per message.
Label three hundred messages from your own support queue by hand using the same five rules. Report accuracy per class, not overall; the expensive mistake is calling an angry customer Neutral. Then read twenty explanations. If they cite the wrong rule, the label is right by luck.
Microsoft's other recent releases are listed on its provider page.
Compare the model on the work you need to complete.
Sentiment-Analysis-7B is listed for Text classification, Text generation. It accepts text and produces text. Use the publisher’s input format and preprocessing for your chosen deployment.
Measure a completed task using the prompts, documents and tools your application will use. Include reasoning and retries in the result.
The weights are downloadable under MIT. Check runtime support and size the complete model and working context for your expected concurrency.
These records share a directory category. Check the source card, output type and deployment requirements before treating a model as a replacement.
Mistral AI
LIDstral Arabic is Mistral's open Apache-2.0 CPU classifier that tells Arabic dialects, MSA and other Arabic-script languages apart, across 51 classes.
ahmedrachid
Hugging Face repository for Text classification.
Arunavaonly
Hugging Face repository for Text classification.
BAAI
BAAI/bge-reranker-base is a source-linked Hugging Face repository assigned to Text classification. Its recorded task interface accepts text and produces label.
blanchefort
Hugging Face repository for Text classification.
boboliu
boboliu/Qwen3-Reranker-4B-W4A16-G128 is a source-linked Hugging Face repository assigned to Text classification. Its recorded task interface accepts text and produces label.