Skip to main content

Model reference — Documents

AI models for Sentiment / intent analysis

Sentiment analysis judges how a piece of text feels — positive, negative, neutral, or a finer scale — and intent analysis judges what the writer wants: to buy, to cancel, to complain, to escalate to a regulator.

The two are usually run together on the same text, because a decision needs both. A calmly worded cancellation matters more than an angry question. The useful output is rarely a single label: it is a sentiment score, an intent, the confidence in each, and the sentence that drove the judgement, so a person can check it. Models range from small classifiers fitted to your own labels to language models that judge from a written definition of each intent.

Sentiment / intent analysis service AI models for documents

Input type — Documents

Models in this group take text or whole documents as input: plain text, PDFs, scanned pages and office files. Each specification table gives three hardware tiers — Minimum, the smallest setup on which the model runs correctly; Medium, the usual production configuration; and High, a configuration sized for peak volume. The rate is the number of sample inputs processed per hour on that hardware. Use these rates for initial sizing. Before production, benchmark your own data to validate accuracy, latency, throughput and cost. The sample input here is one text of about 200 words scored for sentiment and intent.

RoBERTa (sentiment-tuned)

Vendor: Meta

What it does: scores text as positive, negative or neutral, already fitted on large volumes of reviews and social messages. Accurate out of the box on short consumer text and cheap to run at scale.

RequirementMinimumMediumHigh
GPU typeRTX 3060RTX 40901× A100 80 GB
VRAM6 GB24 GB80 GB
vCPUs4824
RAM16 GB32 GB64 GB
Server1× RTX 3060 12 GB1× RTX 4090 24 GB1× A100 SXM 80 GB
Rate (texts/hour)≈ 40,000≈ 160,000≈ 450,000

DeBERTa v3

Vendor: Microsoft

What it does: fitted to your own intent list from labelled examples. The most accurate option once you have a few hundred examples of each intent, and it handles longer text than review-tuned models.

RequirementMinimumMediumHigh
GPU typeRTX 3060RTX 40901× A100 80 GB
VRAM6 GB24 GB80 GB
vCPUs4824
RAM16 GB32 GB64 GB
Server1× RTX 3060 12 GB1× RTX 4090 24 GB1× A100 SXM 80 GB
Rate (texts/hour)≈ 30,000≈ 120,000≈ 340,000

XLM-RoBERTa

Vendor: Meta

What it does: judges sentiment and intent across a hundred languages with one model, so a multinational support desk does not need a separate model per market.

RequirementMinimumMediumHigh
GPU typeRTX 3060RTX 40901× A100 80 GB
VRAM8 GB24 GB80 GB
vCPUs6824
RAM16 GB32 GB64 GB
Server1× RTX 3060 12 GB1× RTX 4090 24 GB1× A100 SXM 80 GB
Rate (texts/hour)≈ 26,000≈ 100,000≈ 300,000

SetFit

Vendor: Hugging Face

What it does: fits a working intent classifier from a handful of examples per intent, which is how a new intent — a new product complaint, a new regulation — gets covered within a day.

RequirementMinimumMediumHigh
GPU typeRTX 3060RTX 40901× A100 80 GB
VRAM6 GB24 GB80 GB
vCPUs4824
RAM16 GB32 GB64 GB
Server1× RTX 3060 12 GB1× RTX 4090 24 GB1× A100 SXM 80 GB
Rate (texts/hour)≈ 28,000≈ 110,000≈ 320,000

Llama 3.1 8B

Vendor: Meta

What it does: judges sentiment and intent from written definitions and returns the sentence that decided it, which makes its reasoning auditable. Also handles sarcasm and mixed messages better than small classifiers.

RequirementMinimumMediumHigh
GPU typeRTX 3090RTX 40901× H100 80 GB
VRAM16 GB24 GB80 GB
vCPUs81224
RAM32 GB48 GB128 GB
Server1× RTX 3090 24 GB1× RTX 4090 24 GB1× H100 SXM 80 GB
Rate (texts/hour)≈ 2,000≈ 6,000≈ 20,000

Mistral Small 3

Vendor: Mistral AI

What it does: the same instruction-driven judgement on long, formally written text such as written complaints and regulator correspondence, where tone is carried across paragraphs rather than in one phrase.

RequirementMinimumMediumHigh
GPU typeRTX 40901× L40S 48 GB1× H100 80 GB
VRAM24 GB48 GB80 GB
vCPUs121632
RAM48 GB64 GB128 GB
Server1× RTX 4090 24 GB1× L40S 48 GB1× H100 SXM 80 GB
Rate (texts/hour)≈ 1,300≈ 3,800≈ 11,000

Choosing between them

Which model fits depends on the length and register of your text — a two-line review and a three-page complaint are different problems — and on whether the output triggers automatic action. Our consultants review your text and your intent list, then recommend a model and the confidence threshold above which its judgement can be acted on unattended.

At the start of a project we may run a short proof of concept on a sample of your own data, measuring the accuracy and the throughput the model actually achieves on your material. That replaces the estimates on this page with real figures, so the cost and the schedule for the full engagement are known before it is committed.

Sentiment / intent analysis service AI models for documents Pricing

From benchmark to production

Share a representative sample, expected volume, latency target and deployment location for Sentiment / intent analysis. We benchmark the shortlisted models, recommend the lowest-cost GPU configuration that meets the target, and scale it from pilot capacity to a dedicated production cluster.