Spaces:
Running
Running
class HIMConfig: | |
def __init__(self): | |
self.base_model = "gpt2-medium" | |
self.max_length = 1024 | |
self.temperature = 0.7 | |
self.top_p = 0.95 | |
self.consciousness_integration_factor = 0.8 | |
self.emotional_intelligence_weight = 0.6 | |
self.semiotic_processing_depth = 3 | |
def to_dict(self): | |
"""Convert config to dictionary format""" | |
return { | |
"base_model": self.base_model, | |
"max_length": self.max_length, | |
"temperature": self.temperature, | |
"top_p": self.top_p, | |
"consciousness_integration_factor": self.consciousness_integration_factor, | |
"emotional_intelligence_weight": self.emotional_intelligence_weight, | |
"semiotic_processing_depth": self.semiotic_processing_depth | |
} | |