HivemindEval v2.0

HivemindEval v2.0 is an open-source AI output quality evaluator fine-tuned on Qwen3-8B for assessing multi-agent AI agent outputs across 6 quality dimensions. Released by Hypereum Ltd as the open-source component of the Hivemind AX multi-agent compliance orchestration platform.

The remaining six models in the Hivemind AX stack (planner, generic executor, three sector-specialised executors, synthesizer) are proprietary and not released.

What's New in v2.0

  • Base model: upgrade from Qwen2.5-7B-Instruct (v1.0) to Qwen3-8B (Apache 2.0, April 2025)
  • Improved structured output generation and instruction following
  • Longer context: 40,960 tokens (vs 32,768 in v1.0)
  • Trained on Cambridge Dawn HPC (Intel Data Centre GPU Max 1550) via UKRI AIRR programme

Model Description

  • Base model: Qwen/Qwen3-8B (Apache 2.0)
  • Fine-tuning method: LoRA (Cfg E winner: rank 64, alpha 128, learning rate 2e-5)
  • Training compute: UKRI AIRR — Cambridge Dawn HPC, Intel PVC Max 1550
  • Training data: ~20,000 synthetic compliance evaluation pairs (Wave 7 Cfg E)
  • Training duration: 20 hours wall-clock on 1× Intel PVC tile, 8 epochs
  • Validation loss: 0.4455 on held-out compliance scenarios

Evaluation Dimensions

HivemindEval scores AI agent outputs on 6 dimensions (0-100 each), output as structured JSON:

  1. Accuracy — Factual correctness, regulatory citation validity
  2. Completeness — Task coverage, gap detection
  3. Regulatory Alignment — Citation accuracy, scope relevance
  4. Actionability — Remediation specificity, implementability
  5. Coherence — Logical structure, argumentation quality
  6. Evidence Quality — Data points, observations, test results

Validated Performance

Internal benchmark of 50 realistic UK compliance scenarios across PSD2, GDPR, NHS DSPT, MOD JSP 440, Cyber Essentials Plus, and EU AI Act:

Inference strategy Valid JSON rate Median latency (Intel PVC)
Greedy, single-shot, 1200 max_tokens 50% 15.1s
Best-of-N (N=5), 2048 max_tokens, robust parser 100% 27.1s

Production deployments should use the best-of-N pattern (see below). The greedy single-shot result is reported for full transparency.

Recommended Inference Pattern

For production use, achieve 100% structured output reliability via best-of-N sampling with progressive temperature relaxation and robust JSON parsing:

from transformers import AutoModelForCausalLM, AutoTokenizer
import torch, json, re

model = AutoModelForCausalLM.from_pretrained("hypereum/HivemindEval", torch_dtype=torch.float16, device_map="auto")
tokenizer = AutoTokenizer.from_pretrained("hypereum/HivemindEval")

def robust_json_parse(text):
    try: return json.loads(text)
    except: pass
    try:
        s = text[text.index("{"):text.rindex("}")+1]
        s = re.sub(r",(\s*[}\]])", r"\1", s)
        return json.loads(s)
    except: pass
    return None

def evaluate(agent_output):
    prompt = f"Evaluate this AI compliance finding across 6 dimensions (Accuracy, Completeness, Regulatory Alignment, Actionability, Coherence, Evidence Quality). Provide scores 0-100 and reasoning. Respond in JSON.\n\n{agent_output}"
    messages = [{"role": "user", "content": prompt}]
    text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True, enable_thinking=False)
    inputs = tokenizer(text, return_tensors="pt").to(model.device)
    strategies = [
        {"do_sample": False},
        {"do_sample": True, "temperature": 0.05, "top_p": 0.9,  "top_k": 20, "repetition_penalty": 1.1},
        {"do_sample": True, "temperature": 0.1,  "top_p": 0.9,  "top_k": 30, "repetition_penalty": 1.1},
        {"do_sample": True, "temperature": 0.2,  "top_p": 0.95, "top_k": 40, "repetition_penalty": 1.05},
        {"do_sample": True, "temperature": 0.3,  "top_p": 0.95, "top_k": 50, "repetition_penalty": 1.05},
    ]
    for s in strategies:
        out = model.generate(**inputs, max_new_tokens=2048, pad_token_id=tokenizer.eos_token_id, **s)
        resp = tokenizer.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True).strip()
        parsed = robust_json_parse(resp)
        if parsed is not None: return parsed
    return None  # all 5 attempts failed (observed 0% in internal benchmark)

GGUF (Ollama / llama.cpp)

  • hivemind_evaluator_q3.Q4_K_M.gguf — production deployment (4.7 GB)
  • hivemind_evaluator_q3.Q8_0.gguf — higher quality, 8-bit (8.2 GB)
  • hivemind_evaluator_q3.f16.gguf — full precision reference (16 GB)

Ollama Modelfile included. Best-of-N pattern via API loop, not via Modelfile parameters.

Known Limitations

  1. Greedy single-shot is unreliable: 50% valid JSON rate. Production requires best-of-N pattern as documented above.
  2. No jurisdiction-aware scoring: Current version does not flag regulatory framework jurisdiction mismatches (e.g., HIPAA cited for UK organisations). Roadmap v2.1 addresses this.
  3. Validation loss higher than peer models: 0.4455 vs 0.23-0.27 for other Hivemind AX role models. Reflects the longer structured output schema (6 dimensions × {score + reasoning}) compared to simpler agent roles.
  4. English only: Training data is English. Multilingual variants not supported.
  5. Synthetic training data: Compliance scenarios generated via Qwen3-14B teacher distillation. Real-world deployment validation is ongoing.
  6. Compliance focus is UK / EU regulated industries: Strongest performance on PSD2, GDPR, NHS DSPT, MOD JSP 440, Cyber Essentials Plus, EU AI Act. Other regulatory regimes are out of distribution.

Roadmap

  • v1.0 (May 2026): Qwen2.5-7B base — stable LTS, maintained
  • v2.0 (this release, May 2026): Qwen3-8B base — recommended
  • v2.1 (Q3 2026): Jurisdiction-aware scoring, expanded UK dataset
  • v3.0 (Q4 2026): Qwen3.6-27B base — commercial compute required

License

Apache 2.0 (inherited from Qwen3-8B base).

Citation

@misc{hivemindeval2026v2,
  author = {De Lillo, Giovanni and Hypereum Ltd},
  title = {HivemindEval v2.0: Open-Source AI Output Quality Evaluator (Qwen3-8B base)},
  year = {2026},
  publisher = {HuggingFace},
  url = {https://huggingface.co/hypereum/HivemindEval}
}

Acknowledgements

Model training supported by the UKRI AI Research Resource (AIRR) programme on the Dawn supercomputer at the University of Cambridge. Open Zettascale Lab, Research Computing Services. Intel Data Centre GPU Max 1550 compute platform. Qwen team for the Qwen3-8B base model.

Contact

Giovanni De Lillo — Founder and CEO, Hypereum Ltd
hypereum.techhello@hypereum.tech


Released as the open-source component of Hivemind AX. The full multi-agent compliance stack (Planner, Executor, sector-specialised Executors for Healthcare, Defence, and Fintech, and Synthesizer) is proprietary.

Downloads last month
-
Safetensors
Model size
8B params
Tensor type
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Hypereum/HivemindEval

Finetuned
Qwen/Qwen3-8B
Quantized
(279)
this model