AI RESEARCH

[P] I built a small engine that tracks emotional state during conversations. Strapped it to Llama-1B.

r/MachineLearning

Been working on something for a while and figured I'd share it. It's a small deterministic engine (~452KB) that tries to read emotional structure from text. Not just positive/negative -- it tracks 7 dimensions and detects structural patterns like sarcasm, self-blame, feeling trapped, etc. I hooked it up to Llama-3.2-1B on a HuggingFace Space and let two AI characters have a conversation. The model generates the dialogue. The engine scores each line and tracks how it would land on the other person. State carries forward.