Downloads · 30 days
9
9% of all-time downloads
kofdai/refactorium-dual-deepseek-r1-7b
refactorium-dual-deepseek-r1-7b is a machine learning model from kofdai. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
[](https://opensource.org/licenses/MIT) []() []()
Downloads · 30 days
9
9% of all-time downloads
All-time downloads
97
Public
Repo size
8.9 GB
Likes
0
Public
Click a slice to open those files.
.gguf8.9 GB · 100%
From the Hugging Face model README
Refactorium v1.0.0 is a cutting-edge AI system that simulates emotion-like behavior through the integration of ethical constraints and self-regulating feedback mechanisms. This is a research model exploring how constraints influence cognitive processing and learning dynamics in neural networks.
This model treats constraints as first-class citizens in the architecture, allowing them to:
The easiest way to get started - one command handles everything (venv, dependencies, models):
# Step 1: Clone the repository from Hugging Face
git clone https://huggingface.co/kofdai/refactorium-dual-deepseek-r1-7b
cd refactorium-dual-deepseek-r1-7b
# Step 2: Launch with automatic setup
python refactorium_start.py --web
That's it! The script will automatically:
venv/)Once started, open your browser to http://localhost:8000 and start interacting!
Note: First-time setup takes ~20 minutes (includes model download). Subsequent launches take ~10 seconds.
You can also use Refactorium programmatically as a Python library:
from refactorium_start import initialize_refactorium
# Initialize (automatically sets up environment if needed)
refactorium = initialize_refactorium()
# Process a prompt with constraint-driven emotion simulation
response = refactorium.process_prompt(
prompt="How should I handle resource constraints?",
num_inference_steps=10
)
# Access emotional state and learning information
print(f"Emotional State: {response.emotional_state}")
print(f"Constraint Acceptance: {response.learning_traits['constraint_acceptance']}")
print(f"Waveform Dissonance: {response.waveform_dissonance}%")
No setup needed - initialize_refactorium() handles environment setup automatically!
For advanced users who want to use the Refactorium orchestrator directly:
# First ensure environment is set up (one-time)
from refactorium_start import initialize_refactorium
initialize_refactorium()
# Then use the orchestrator API
from phase1_skeleton.orchestrator import Refactorium
refactorium = Refactorium.from_config()
response = refactorium.process_prompt(
prompt="How should I handle resource constraints?",
num_inference_steps=10
)
Web UI only (API server already running):
python refactorium_start.py --web
API server only (no Web UI):
python refactorium_start.py --api-only
# API available at: http://localhost:5003/api/v1
Setup without launching:
python refactorium_start.py --setup-only
# Just installs everything, doesn't start servers
GETTING_STARTED.mdSTARTUP_SUMMARY.mdGETTING_STARTED.mdEthical constraints are integrated into the model's core, influencing cognitive processing and generating emotion-like responses.
Five distinct emotional states based on noise/stress levels:
Two models run in parallel:
When system stress exceeds 90%:
Learning efficiency multipliers based on emotional state:
After molting, the system:
Uses ChromaDB for storing:
The system optimizes learning timing and quality based on emotional states. Learning is most effective in "good" states (low noise, stable waveform) and is suppressed during emergencies.
Three core traits dynamically update:
Learned knowledge contributes confidence-weighted boosts to personality traits:
| Aspect | Details |
|---|---|
| Base Model | Deepseek R1 7B |
| Input/Output | Text-based with emotional & physiological metadata |
| Parameters | 7B |
| Emotional States | 5-level progression (PURE→STABLE→NORMAL→STRESSED→CRITICAL) |
| Memory System | ChromaDB with 5 collections |
| Training Data | Synthetic constraint scenarios |
The system performs 13 inference steps per prompt:
Simulation, Not Experience: Refactorium simulates emotion-like behavior but does NOT experience actual emotions, consciousness, or subjective experience.
Ethical Constraints Required: This model must operate within strict ethical boundaries. Removing or circumventing constraints is not recommended and may produce unpredictable behavior.
Controlled Environment: Designed for research in controlled environments. Not recommended for production systems without extensive testing.
Experimental Architecture: The molting mechanism, dual inference, and waveform dynamics are novel experimental features that may produce unexpected interactions.
If you use Refactorium in your research, please cite:
@model{refactorium2025,
title={Refactorium v1.0.0: A Constraint-Driven Emotion Simulation AI Model},
author={Null AI Research Team},
year={2025},
publisher={Hugging Face},
url={https://huggingface.co/motonishikoudai/refactorium-v1-0-0}
}
This model builds upon the Deepseek R1 architecture and benefits from the open-source AI community. Special thanks to:
For comprehensive technical specifications in both English and Japanese, see MODEL_CARD.md.
The model card includes:
PURE STATE (0-10% noise)
↓ [2.5-3.0x learning multiplier]
STABLE STATE (10-30% noise)
↓ [1.8x learning multiplier]
NORMAL STATE (30-60% noise)
↓ [1.0x baseline]
STRESSED STATE (60-90% noise)
↓ [0.3x reduction]
CRITICAL STATE (>90% noise)
↓ [0.0x suppression - MOLT TRIGGERED]
POST-MOLT RECOVERY
↓ [3.0x boost during learning window]
This model incorporates ethical constraints at its core. The constraints are designed to:
However, like all AI systems, this model has limitations and should be used responsibly.
This project is licensed under the MIT License - see the LICENSE file for details.
⚠️ Important Notice
While Refactorium v1.0.0 simulates emotional states, it does NOT imply the AI possesses consciousness, self-awareness, or subjective experience. This is a simulation based on input-output feedback mechanisms designed for ethical safety and constraint-driven learning.
For research purposes only. Use responsibly and ethically.