TheMindExpansionNetwork commited on
Commit
50effd1
Β·
verified Β·
1 Parent(s): 1be83e8

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +166 -0
README.md ADDED
@@ -0,0 +1,166 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ tags:
4
+ - mistral
5
+ - llama-factory
6
+ - instruct
7
+ - fine-tuned
8
+ - emotional-support
9
+ - relational-ai
10
+ - coaching
11
+ - therapy
12
+ - conflict-resolution
13
+ - autoquant
14
+ - gguf
15
+ license: apache-2.0
16
+ ---
17
+ πŸ’¬ CARA: Cognitive Alignment & Relational Assistant
18
+ Powered by Mistral-Small-24B-Instruct-2501
19
+ CARA is a state-of-the-art, instruction-tuned language model designed for navigating real-life emotional and relational scenarios. It has been fine-tuned specifically on emotionally complex datasets involving partner conflict, crisis communication, values clarification, and trauma-aware conversations.
20
+
21
+ This release of CARA is tailored for:
22
+
23
+ πŸ’” Conflict resolution & reflection
24
+
25
+ πŸ’ž Emotional coaching & empathy modeling
26
+
27
+ 🧠 Belief-bias unpacking
28
+
29
+ πŸ“‹ Session note-taking & feedback loops
30
+
31
+ 🧘 Relationship support for therapists & coaches
32
+
33
+ 🧠 Why CARA?
34
+ CARA helps both professionals and individuals explore difficult conversations and decisions, including:
35
+
36
+ β€œShould I stay or leave this relationship?”
37
+
38
+ β€œHow do I rebuild trust after betrayal?”
39
+
40
+ β€œWhat values guide my emotional boundaries?”
41
+
42
+ β€œWhat are my fears vs. my actual beliefs?”
43
+
44
+ CARA doesn't just give answers β€” it helps people align their thoughts, feelings, and values.
45
+
46
+ πŸ”§ Model Details
47
+ Field Info
48
+ Base Model mistralai/Mistral-Small-24B-Base-2501
49
+ Fine-Tuned On Emotional dialogue, relationship conflict, coaching logs, session data
50
+ Context Window 32,000 tokens
51
+ Parameter Count 24 Billion
52
+ Quantized Capable Runs on a single RTX 4090 or 32GB Mac with Q4/Q8 inference
53
+ License Apache 2.0
54
+ Tokenizer Tekken (131k vocab)
55
+ 🧬 Dataset Sources
56
+ The CARA fine-tune was built from hand-curated, anonymized, and synthetic sets derived from:
57
+
58
+ 🌱 Realistic relationship coaching simulations
59
+
60
+ 🧾 Couples therapy case notes (synthetic)
61
+
62
+ πŸ”„ Conflict-resolution roleplay transcripts
63
+
64
+ 🧠 Journaling & belief-challenging prompts
65
+
66
+ πŸ’¬ Therapeutic self-reflection templates
67
+
68
+ All data was cleaned, anonymized, and formatted using [INST] blocks per Mistral’s V7-Tekken template.
69
+
70
+ πŸ’‘ Use Cases
71
+ βœ… Direct Use
72
+ Digital therapy companions
73
+
74
+ Relationship coaching assistant
75
+
76
+ Reflection prompts for journalers
77
+
78
+ AI sidekick for therapists taking notes
79
+
80
+ πŸ”„ Integrated Use
81
+ Part of AutoGen agent workflows
82
+
83
+ Session archiving and summary pipelines
84
+
85
+ Integrated calendar + feedback loop for mental health pros
86
+
87
+ 🚫 Out-of-Scope Use
88
+ Legal or medical advice
89
+
90
+ Use without human oversight in real-time crisis
91
+
92
+ πŸ“Š Evaluation Summary
93
+ Task Score
94
+ MMLU 5-shot (reasoning) 0.663
95
+ HumanEval Pass@1 (code baseline) 0.848
96
+ Math-Instruct 0.706
97
+ Instruction Following (Wildbench) 52.27
98
+ Benchmark results align with strong reasoning and response clarity under emotionally-loaded prompts.
99
+
100
+ πŸ§ͺ Example Prompt
101
+ text
102
+ Copy
103
+ Edit
104
+ [INST]
105
+ My girlfriend and I had a fight because I was late. She called the police and said I hit her, which I didn't. I found out she pawned my tools and spent the money gambling. I feel betrayed and stuck. What should I think about this?
106
+ [/INST]
107
+ β†’ CARA responds by breaking down:
108
+
109
+ What happened β€” the facts
110
+
111
+ How you might be feeling
112
+
113
+ What beliefs are influencing your perspective
114
+
115
+ What your fears are β€” and how they affect your choices
116
+
117
+ What your values might suggest you do next
118
+
119
+ 🧩 System Prompt (Recommended)
120
+ text
121
+ Copy
122
+ Edit
123
+ You are CARA, a Cognitive Alignment & Relational Assistant designed to help humans explore thoughts, emotions, and beliefs during difficult moments. You do not provide legal advice. You guide users through reflection, not direction. Ask clarifying questions when needed and speak with empathy.
124
+ βš™οΈ How to Use
125
+ Transformers
126
+ python
127
+ Copy
128
+ Edit
129
+ from transformers import pipeline
130
+
131
+ chatbot = pipeline(
132
+ "text-generation",
133
+ model="your-name/CARA-Mistral-24B-Instruct",
134
+ max_new_tokens=512,
135
+ torch_dtype="auto"
136
+ )
137
+
138
+ chatbot([
139
+ {"role": "user", "content": "I'm thinking of ending a relationship that feels toxic. I'm scared of being alone. Help me think this through."}
140
+ ])
141
+ 🌍 Environmental Impact (Estimate)
142
+ Compute: 3500 A100 hours (fp16 mixed precision)
143
+
144
+ CO2 Emissions: ~1.4 tons
145
+
146
+ Frameworks: vLLM, Transformers, Ollama
147
+
148
+ Optimized For: Q4_K_M / Q8_0 / fp16
149
+
150
+ πŸ–Š Citation
151
+ bibtex
152
+ Copy
153
+ Edit
154
+ @misc{cara2025,
155
+ author = {MindExpander & Team},
156
+ title = {CARA - Cognitive Alignment & Relational Assistant (Mistral-24B Fine-tune)},
157
+ year = 2025,
158
+ url = {https://huggingface.co/your-name/CARA}
159
+ }
160
+ πŸ‘₯ Contact
161
+ Maintainer: MindExpander
162
+
163
+ Support & Docs: Coming soon at [ProjectCARA.ai]
164
+
165
+ License: Apache 2.0
166
+