By Sagar Shankaran, Founder of CallSphere
NVIDIA's prompt-task-and-complexity-classifier categorizes prompts across 11 task types and 6 complexity dimensions using DeBERTa. Learn how it works and when to use it.
Key takeaways
Prompt task classification is the process of automatically categorizing user prompts by their intended task type and evaluating their complexity. This capability is essential for LLM routing, synthetic data curation, and understanding how users interact with AI systems.
NVIDIA released the prompt-task-and-complexity-classifier, a multi-headed DeBERTa-based model that classifies English text prompts across 11 task types and scores them on 6 complexity dimensions. The model is available on Hugging Face under NVIDIA's Open Model License and is ready for commercial use.
The classifier identifies which of the following task categories a prompt belongs to:
flowchart LR
CORPUS[("Pre-training corpus<br/>trillions of tokens")]
FILTER["Quality filter and<br/>dedupe"]
TOK["BPE tokenizer"]
SHARD["Shard plus<br/>data parallel"]
GPU{"GPU cluster<br/>FSDP or DeepSpeed"}
CKPT[("Checkpoints<br/>every N steps")]
LOSS["Loss curve plus<br/>eval gates"]
SFT["SFT phase"]
DPO["DPO or RLHF"]
BASE([Base model])
INSTR([Instruct model])
CORPUS --> FILTER --> TOK --> SHARD --> GPU
GPU --> CKPT --> LOSS
LOSS --> BASE --> SFT --> DPO --> INSTR
style GPU fill:#4f46e5,stroke:#4338ca,color:#fff
style LOSS fill:#f59e0b,stroke:#d97706,color:#1f2937
style INSTR fill:#059669,stroke:#047857,color:#fff
General knowledge questions where the answer is not constrained by a provided context. Example: "What causes ocean tides?"
Questions that must be answered based on specific provided text or data. Example: "Based on the passage above, what year was the company founded?"
Prompts requesting condensation of information into shorter form. Example: "Summarize the key findings of this research paper."
Creative or structured writing tasks. Example: "Write a product description for a wireless keyboard."
Requests to produce code in any programming language. Example: "Write a Python function that validates email addresses."
Conversational interactions requiring dialogue management. Example: "You are a helpful travel assistant. Help me plan a trip to Japan."
Prompts asking the model to categorize content. Example: "Is this customer review positive, negative, or neutral?"
Hear it before you finish reading
Talk to a live CallSphere AI voice agent in your browser — 60 seconds, no signup.
Requests to rephrase or restructure existing text. Example: "Rewrite this paragraph in simpler language."
Prompts requesting idea generation. Example: "Give me 10 marketing campaign ideas for a fitness app."
Pulling specific information from text. Example: "Extract all dates and monetary amounts from this contract."
Uncategorized prompts that do not fit the above categories.
Beyond task type, the classifier evaluates prompt complexity across six dimensions, each scored between 0 and 1:
Measures the level of creative thinking required. A factual lookup scores near 0; writing a mystery novel with constraints scores near 0.9.
Evaluates the logical and cognitive effort required. Simple recall tasks score low; multi-step math problems or logical deduction tasks score high.
Assesses how much background information is needed beyond what the prompt provides. Self-contained prompts score low; prompts requiring world knowledge score higher.
Measures the level of specialized expertise required. General prompts score low; medical diagnosis or legal analysis prompts score high.
Quantifies the number of conditions or requirements in the prompt. "Write a story" has few constraints; "Write a 500-word story in first person, set in Victorian London, with a twist ending" has many.
Counts the number of examples provided in the prompt. Zero-shot prompts score 0; prompts with multiple examples score proportionally higher.
The model computes a weighted overall complexity score using this formula:
Score = 0.35 x Creativity + 0.25 x Reasoning + 0.15 x Constraints + 0.15 x Domain Knowledge + 0.05 x Contextual Knowledge + 0.05 x Few Shots
Still reading? Stop comparing — try CallSphere live.
CallSphere ships complete AI voice agents per industry — 14 tools for healthcare, 10 agents for real estate, 4 specialists for salons. See how it actually handles a call before you book a demo.
The weighting prioritizes creativity and reasoning as the strongest indicators of prompt difficulty, followed by constraints and domain expertise.
The classifier uses DeBERTa-v3-base as its backbone with multiple classification heads, one dedicated to each task type and complexity dimension. The architecture applies mean pooling over token embeddings before passing representations to each head.
Key specifications:
The model was trained on 4,024 human-annotated English prompts distributed across all 11 task types. Open QA prompts (1,214 samples) are the most represented category, while Extraction prompts (60 samples) are the least.
Cross-validation results demonstrate strong performance:
Use the classifier to route prompts to the most appropriate model. Simple factual queries go to smaller, faster models. Complex creative or reasoning tasks go to larger, more capable models. This reduces inference costs while maintaining output quality.
When generating synthetic training data, the classifier ensures balanced representation across task types and complexity levels. Without this balance, models trained on synthetic data may excel at simple tasks but fail on complex ones.
Evaluate prompt datasets to understand their composition. If 80% of your prompts are Open QA and only 2% are Code Generation, your model may underperform on coding tasks.
Track how users interact with your AI system. Understanding the distribution of task types and complexity levels helps prioritize model improvements and identify capability gaps.
The classifier integrates directly with NVIDIA NeMo Curator for large-scale, GPU-accelerated prompt classification. NeMo Curator handles distributed processing, enabling classification of millions of prompts across multiple GPUs. A tutorial notebook is available in the NeMo Curator GitHub repository.
Prompt task classification is the automated process of categorizing user prompts by their intended task type (such as question answering, code generation, or summarization) and evaluating their complexity across multiple dimensions. NVIDIA's DeBERTa-based classifier handles both classification and complexity scoring in a single forward pass, making it efficient for large-scale analysis.
The model achieves 98.1% accuracy on task type classification and 93.7-99.7% accuracy across the six complexity dimensions, based on 10-fold cross-validation on 4,024 human-annotated samples. Task type and creativity classification are the strongest, while domain knowledge classification has slightly lower accuracy.
Yes. The classifier's task type and complexity predictions can drive routing decisions, sending simple prompts to smaller models and complex prompts to larger ones. This approach reduces inference costs by 30-60% while maintaining output quality, as simple prompts do not need the full capabilities of frontier models.
The model requires an NVIDIA GPU with compute capability 7.0 or higher (Volta architecture or newer), CUDA 12.0+, and Python 3.10. It runs on PyTorch and uses the Hugging Face Transformers library. For production deployment, an A10G or similar GPU is recommended.
The model evaluates six dimensions — creativity, reasoning, contextual knowledge, domain knowledge, constraints, and few-shot examples — each scored 0 to 1. An overall complexity score is computed as a weighted average, with creativity (0.35) and reasoning (0.25) carrying the most weight. This multi-dimensional approach captures nuances that a single complexity score would miss.

Written by
Sagar Shankaran· Founder, CallSphere
LinkedInSagar Shankaran is the founder of CallSphere, where he builds production AI voice and chat agents deployed across healthcare, hospitality, real estate, and home services. He writes about agentic AI, LLM engineering, and shipping voice agents that handle real calls in production.
See how AI voice agents work for your industry. Live demo available -- no signup required.
A clean before/after of agent architecture in 2026. The control loop moved from your framework code into the model's reasoning chain. What that looks like.
Google's May 2026 MCP 1.0 + A2A developers guide is the cleanest protocol picker we have seen. The takeaways, in plain English, with a CallSphere lens.
Workspace Studio puts a Gemini-powered AI agent builder inside Google Workspace. A walkthrough of what it does, who it is for, and where it fits in 2026.
Gemini 3.1 Ultra ships with a 2-million token context window and full text, image, audio, and video multimodality. What changes and how to build for it.
A 'did the agent answer correctly?' pass/fail hides broken tool calls, wasted tokens, and silent retries. Here is how to evaluate intermediate steps.
Run offline evals as a CI gate. GitHub Actions wiring, threshold gates, LangSmith Experiments, and how to block merges on agent regression — with real YAML.
© 2026 CallSphere Inc. All rights reserved.
Made within San Francisco
Watch how CallSphere handles real customer calls, schedules appointments, and processes payments — live.
Try Live DemoBook a DemoCalculate Your ROI