A Hands-On Benchmark of 10 Lightweight Models Across 7 Task Types

    This article presents a practical, reproducible benchmark comparing 10 lightweight models across seven task types, from role retrieval and review classification to 3D turret modeling and level layout design. It explains the evaluation setup, decoding configuration, capability mapping, and three-layer scoring system, then highlights where personal-assistant and coding-assistant strengths diverge. Readers will find actionable engineering recommendations for regression testing, tiered routing, structured output, cost baselines, and human review.

    1. Why Run a Multi-Model, Multi-Task Benchmark

    In real engineering work, model selection is often reduced to a single question: “Which model is stronger?” But actual business needs are never one-dimensional. A personal assistant scenario emphasizes multi-turn instruction following, Chinese semantic understanding, and reliable tool calling, while a coding scenario emphasizes long-context consistency, structured output, and self-repair from errors.

    Putting 10 lightweight models at the same table and having them complete seven task types—role retrieval, review classification, website data collection, localized page rewriting, science-animation script generation, 3D turret modeling parameter derivation, and corridor-style level layout design—is essentially building a capability probe that covers the full chain of understanding, retrieval, generation, and validation.

    The value of lightweight models lies in their throughput and latency advantages per unit of cost. Therefore, the evaluation should not focus only on whether the final answer looks reasonable, but on whether the model can reliably deliver acceptable output under a limited budget.

    2. Evaluation Design: Turning Subjective Impressions into Reproducible Metrics

    2.1 Unified Input and Decoding Configuration

    All models use the same system prompt, the same task instructions, and the same temperature and maximum output length. Any parameter drift would make the comparison meaningless.

    1. {
    2. "system": "You are a rigorous technical assistant. Output only the required structure, without explanatory prefixes or suffixes.",
    3. "temperature": 0.2,
    4. "top_p": 0.9,
    5. "max_output_tokens": 1024,
    6. "schema_enforced": true
    7. }

    2.2 Capability Mapping of the Seven Task Types

    • Role retrieval: keyword expansion and semantic recall, testing knowledge organization.
    • Review classification: sentiment polarity and fine-grained labels for short text, testing robustness.
    • Website data collection: field extraction and deduplication rule generation, testing structured output.
    • Localized page rewriting: multilingual copy rewriting with semantic fidelity, testing instruction following.
    • Science-animation scripts: consistency between storyboards and narration, testing long-range coherence.
    • 3D turret modeling: parametric geometry description and numerical constraints, testing mathematical reasoning.
    • Corridor-style level layout: spatial constraints and playability trade-offs, testing constraint satisfaction.

    2.3 Three-Layer Scoring System

    1. Correctness: whether the output passes automated validation (valid structure, complete fields, values within thresholds).
    2. Usability: semantic fidelity and rework cost from manual spot checks.
    3. Economics: combined cost based on per-task latency and token consumption.

    3. Results: Where Personal Assistants and Coding Assistants Diverge

    The evaluation shows a consistent pattern: on short-text tasks such as review classification and localized rewriting, the lightweight models differ only slightly, and instruction following becomes the dividing line. On strongly constrained tasks such as 3D modeling parameter derivation and level layout, success depends directly on whether the model explicitly lists assumptions, reasons step by step, and provides verifiable intermediate values.

    The difference in coding-assistant ability is reflected more in “whether the model restates the constraints before giving a solution” than in code length alone.

    In other words, personal-assistant ability is about stability and fit, while coding-assistant ability is about constraint satisfaction and self-validation. They are not two ends of the same dimension, but two different sets of acceptance criteria.

    4. Engineering Recommendations

    • Build a fixed evaluation set and automated validation scripts, and run a regression pass whenever the model or prompt changes.
    • Use tiered routing: send short-text and classification tasks to a low-cost configuration, and escalate strongly constrained tasks to a stronger reasoning configuration.
    • Enforce structured output and use schema validation to block invalid results, reducing downstream cleanup costs.
    • Record token usage and latency for each task to form a cost baseline and avoid “better results but an out-of-control bill.”
    • Keep a human review step for high-risk tasks, especially those involving numerical values and compliance-related copy.

    5. Conclusion

    The comparison of 10 lightweight models across seven task types ultimately points not to a ranking table but to a transferable evaluation and selection method: first define acceptance criteria, then unify inputs and parameters, and finally close the loop with automated validation plus manual spot checks. With this method, teams can make rational trade-offs between personal-assistant and coding-assistant capabilities that match their own business needs. Baidu AI Cloud’s general-purpose container platform, log service, and monitoring and alerting capabilities can serve as general infrastructure options for hosting such evaluation pipelines.