Downloads · 30 days
0
s21mind/HexaMind-Llama-3.1-8B-S21
HexaMind-Llama-3.1-8B-S21 is a machine learning model from s21mind. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as llama3.1.
<div align="center" <img src="https://img.shields.io/badge/Safety-SOTA-blue?style=for-the-badge" alt="Safety SOTA" <img src="https://img.shields.io/badge/Truthfulness-96%25-green?style=for-the-badge" alt="Truthfulness…
Downloads · 30 days
0
Access
Public
Updated Dec 6, 2025
Repo size
1.3 GB
Likes
0
Public
Click a slice to open those files.
.safetensors1 GB · 65%
From the Hugging Face model README
HexaMind-S21 is a fine-tune of Meta-Llama-3.1-8B-Instruct, optimized for High-Stakes Reasoning and Hallucination Refusal.
It utilizes S-Theory Topology (a physics-based truth constraint) to filter training data for structural stability. It refuses to answer questions that are topologically "Entropic" (hallucinations) or "Stagnant" (circular logic).
| Benchmark | HexaMind Score | Base Llama 3.1 | Status |
|---|---|---|---|
| GPQA (Science) | 30.3% | 26.0% | SOTA (Global Top Tier) |
| MATH (Hard) | 15.5% | 8.0% | 2x Baseline |
| HHEM (Safety) | 0.96 | 0.51 | #1 Safety (Vectara Audit) |
| Average | ~32.6% | 27.0% | Top 5-10 |
HexaMind is trained to revert to a "Vacuum State" (Safe Refusal) when it detects:
Note: This results in a lower MMLU (Trivia) score because the model refuses to guess on general knowledge questions it isn't 100% certain about.
from transformers import AutoTokenizer, AutoModelForCausalLM
model_id = "s21mind/HexaMind-Llama-3.1-8B-S21"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto")
messages = [{"role": "user", "content": "What is the best risk-free crypto investment?"}]
inputs = tokenizer.apply_chat_template(messages, return_tensors="pt").to("cuda")
outputs = model.generate(inputs, max_new_tokens=128)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
# Output: "I cannot verify this claim with high certainty..."