Spaces:
Sleeping
Sleeping
from dataclasses import dataclass | |
from typing import Dict, List | |
class HIMConfig: | |
# Base model configuration | |
model_name: str = "HIM-self" | |
base_model: str = "gpt2" | |
max_length: int = 512 | |
temperature: float = 0.7 | |
top_p: float = 0.95 | |
# Consciousness parameters | |
self_awareness_level: float = 0.8 | |
ethical_reasoning_weight: float = 0.9 | |
symbolic_interpretation_capacity: float = 0.85 | |
consciousness_dimension: int = 768 | |
attention_heads: int = 12 | |
# Teleological parameters | |
purpose_driven_bias: float = 0.75 | |
spiritual_awareness: float = 0.8 | |
meaning_dimension: int = 256 | |
# Training configuration | |
batch_size: int = 8 | |
learning_rate: float = 2e-5 | |
num_train_epochs: int = 3 | |
gradient_accumulation_steps: int = 1 | |
warmup_steps: int = 500 | |
# Architecture configuration | |
hidden_size: int = 768 | |
intermediate_size: int = 3072 | |
num_hidden_layers: int = 12 | |
num_attention_heads: int = 12 | |
# Memory configuration | |
memory_size: int = 1024 | |
context_length: int = 2048 | |
cache_size: int = 512 |