Downloads · 30 days
0
shvgroups/Eunoia-4B-mini
Eunoia-4B-mini is a text generation model from shvgroups. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
Eunoia-4B-Mini is a lightweight but advanced reasoning-focused language model designed to improve long-horizon coherence, goal tracking, and adaptive problem solving.
Downloads · 30 days
0
Access
Public
Updated Dec 22, 2025
Repo size
—
Likes
3
Public
Click a slice to open those files.
.md7.7 KB · 83%
From the Hugging Face model README
Eunoia-4B-Mini is a lightweight but advanced reasoning-focused language model designed to improve long-horizon coherence, goal tracking, and adaptive problem solving.
Unlike conventional instruction-tuned models that operate in a single-pass generation loop, Eunoia introduces an external cognitive control layer that enables:
The result is a model that remains compact (~4B parameters) while exhibiting strong multi-step reasoning stability and reduced derailment over long outputs.
This release is intended as a research-oriented open-source baseline for goal-driven and agentic LLM systems.
Eunoia-4B-Mini extends a standard instruction-tuned transformer with an explicit external reasoning controller designed to improve performance on long-horizon and multi-step tasks.
Instead of relying solely on implicit token-level reasoning, Eunoia separates what to do from how to generate text through a structured control loop:
Goal Formation
User instructions are interpreted as high-level goals that may be decomposed into sub-goals arranged in a hierarchical goal tree.
Step Execution
The base language model generates candidate outputs for the currently active goal.
Semantic Evaluation
Each output is evaluated for semantic sufficiency relative to the goal, determining whether the objective has been meaningfully satisfied.
Execution Gating
Based on evaluation results, the system decides whether to advance, retry, or abandon the current goal.
Adaptive Goal Mutation
If repeated failures occur, the system modifies the goal structure itself—splitting, simplifying, or reframing objectives instead of looping on the same prompt.
This process allows Eunoia to maintain coherence across longer reasoning chains and recover gracefully from partial failures.
Eunoia-4B-Mini is built around three core principles:
Explicit Control over Implicit Guessing
Reasoning structure is represented explicitly rather than being hidden inside token probabilities.
Adaptive Recovery instead of Blind Retry
Failure is treated as a signal to restructure goals, not simply regenerate outputs.
Transparency and Modularity
All reasoning components (goal trees, evaluators, gates, mutation logic) are external, inspectable, and replaceable.
This makes Eunoia suitable for research on agentic systems, planning, and long-horizon reasoning.
| Aspect | Standard LLMs | Eunoia-4B-Mini |
|---|---|---|
| Reasoning flow | Single-pass generation | Multi-step controlled loop |
| Failure handling | Regenerate output | Evaluate → retry → mutate |
| Goal awareness | Implicit | Explicit goal hierarchy |
| Long-horizon stability | Degrades with length | Maintained via control logic |
| Agent readiness | Limited | Native support |
Eunoia does not replace the transformer; it orchestrates it.
Eunoia-4B-Mini can be used directly for:
The model works with standard text-generation pipelines and does not require special token formats.
Eunoia-4B-Mini is particularly suitable for downstream systems such as:
This model is not designed for:
Like all large language models, Eunoia-4B-Mini may:
While the goal-control system improves structural reasoning, it does not guarantee correctness.
Users are encouraged to:
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("shvgroups/Eunoia-4B-mini")
model = AutoModelForCausalLM.from_pretrained("shvgroups/Eunoia-4B-mini")
prompt = "Explain photosynthesis step by step."
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
---
## Training Details
### Training Data
Eunoia-4B-Mini is built on top of the base model’s training corpus and further refined through:
- Instruction-following supervision
- Reasoning-structured prompts
- Iterative evaluation and retry loops
- Goal-decomposition templates
No private or user data was used in training or refinement.
### Training Procedure
#### Training Hyperparameters
- **Training regime:** Mixed-precision fine-tuning (fp16 / bf16)
- **Architecture:** Decoder-only transformer with an external reasoning controller
---
## Evaluation
### Metrics
The model is evaluated primarily on the following qualitative and behavioral metrics:
- Long-horizon coherence
- Instruction adherence over extended outputs
- Multi-step reasoning stability
- Retry and recovery behavior under failure
Formal benchmark results will be released in future updates.
---
## Environmental Impact
- **Hardware:** NVIDIA GPUs
- **Training setup:** Research-scale fine-tuning
- **Carbon impact:** Not formally measured
---
## Technical Specifications
### Model Architecture and Objective
- **Base transformer:** Qwen3-4B-Instruct
- **External reasoning modules:**
- Goal Tree
- Execution Gate
- Goal Evaluator
- Adaptive Goal Mutation Engine
These components operate outside the core transformer and guide generation iteratively through structured goal management and adaptive control logic.
---
## Citation
If you use this model in academic work, please cite:
### BibTeX
```bibtex
@misc{eunoia4bmini2025,
title={Eunoia-4B-Mini: Goal-Driven Long-Horizon Reasoning},
author={SHV Groups},
year={2025},
url={https://huggingface.co/shvgroups/Eunoia-4B-mini}
}
Model Card Authors
SHV Groups Research Team