SOCAM-V1 (Social Cognitive Agent Model – V1) is a fine-tuned large language model built on top of Qwen/Qwen3-30B-A3B-Instruct.
The model is trained to function as a Cognitive State Machine, extracting cognitive chains from natural social utterances based on Theory of Mind (ToM) reasoning.
Each cognitive chain follows the structure:
Situation ⇒ Clue ⇒ Thought ⇒ (Action + Emotion)
This provides an interpretable representation of a user’s cognitive state, supporting applications in dialogue systems, emotional support agents, and multi-agent cognitive architectures.
Training Details
Base Model: Qwen/Qwen3-30B-A3B-Instruct
Fine-tuning Method: QLoRA with Unsloth + TRL
Dataset: Daemontatox/SOCAM
Adapted from the COKE dataset (Wu et al., 2024)
~45k structured samples with fields: situation, clue, thought, action, emotion
Emotions restricted to: Love, Surprise, Joyful, Sad, Angry, Fearful
Training Parameters:
Sequence length: 2048
LoRA config: r=16, alpha=32, dropout=0.01
Optimizer: AdamW (8-bit)
Effective batch size: 256 (16 × grad acc 16)
Learning rate: 2e-4 (cosine schedule, warmup ratio 0.02)
Epochs: 2
Hardware: H100-class GPU (8-bit quantization for feasibility)
Model Capabilities
Converts free-text utterances into structured cognitive chains.
Ensures separation of:
Situation (context domain)
Clue (triggering factor)
Thought (internal cognition)
Action (behavioral response)
Emotion (affective category)
Outputs deterministic JSON for easy downstream parsing.
⁶
Example Usage
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model = AutoModelForCausalLM.from_pretrained(
"Daemontatox/SOCAM-V1",
device_map="auto",
torch_dtype=torch.bfloat16
)
tokenizer = AutoTokenizer.from_pretrained("Daemontatox/SOCAM-V1")
prompt = """Situation: "I have an important exam tomorrow."Clue: "I have studied consistently for weeks.""""
inputs = tokenizer(prompt, return_tensors="pt").to("cuda")
outputs = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Expected output:
{
"situation": "I have an important exam tomorrow.",
"clue": "I have studied consistently for weeks.",
"thought": "I believe I will perform well and feel confident.",
"action": "I review lightly and get proper rest.",
"emotion": "Joyful"
}
Limitations & Risks
The model may misclassify ambiguous emotions (e.g., Sad vs Fearful).
Outputs depend on the quality of the SOCAM dataset and may reflect dataset biases.
Not suitable for clinical or medical use.
Always validate JSON outputs before downstream use.
Dialogue systems requiring interpretable cognitive reasoning.
Not intended for:
Clinical diagnostics
Sensitive decision-making without human oversight
Citation
If you use this model, please cite:
@misc{socam2025,
title = {SOCAM-V1: A Cognitive State Machine for Theory of Mind Reasoning},
author = {Ammar Alnagar},
year = {2025},
howpublished = {\url{
https://huggingface.co/Daemontatox/SOCAM-V1}}
}
Acknowledgments
Base model: Qwen/Qwen3-30B-A3B-Instruct
Dataset foundation: COKE (Wu et al., 2024)
Training libraries: Unsloth, TRL, Hugging Face Transformers
Runs of Daemontatox SOCAM-V1 on huggingface.co
30
Total runs
0
24-hour runs
-1
3-day runs
-6
7-day runs
-14
30-day runs
More Information About SOCAM-V1 huggingface.co Model
SOCAM-V1 huggingface.co is an AI model on huggingface.co that provides SOCAM-V1's model effect (), which can be used instantly with this Daemontatox SOCAM-V1 model. huggingface.co supports a free trial of the SOCAM-V1 model, and also provides paid use of the SOCAM-V1. Support call SOCAM-V1 model through api, including Node.js, Python, http.
SOCAM-V1 huggingface.co is an online trial and call api platform, which integrates SOCAM-V1's modeling effects, including api services, and provides a free online trial of SOCAM-V1, you can try SOCAM-V1 online for free by clicking the link below.
Daemontatox SOCAM-V1 online free url in huggingface.co:
SOCAM-V1 is an open source model from GitHub that offers a free installation service, and any user can find SOCAM-V1 on GitHub to install. At the same time, huggingface.co provides the effect of SOCAM-V1 install, users can directly use SOCAM-V1 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.