File size: 714 Bytes
b58cd84
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2e3eaba
b58cd84
 
 
2e3eaba
 
 
 
 
d09b798
2e3eaba
 
 
 
 
b58cd84
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
base_model: FritzStack/COGN-QWEN4B-4bit
tags:
- text-generation-inference
- transformers
- unsloth
- qwen3
- mlx
- mlx-my-repo
license: apache-2.0
language:
- en
---


## Use with mlx

```bash
pip install mlx-lm
!pip install git+https://github.com/Fede-stack/TONYpy.git
```


```python
from TONY.COGNITIVE import CognitivePredictor, CognitivePredictor_mlx

text = 'I keep thinking about how I messed up in college. I should have studied harder and done more with my life.'
cogn = CognitivePredictor_mlx(model_name='FritzStack/COGN-QWEN4B-4bit-mlx-Q4')
cogn.predict_cognitive_features(text)
# Output:
# Attention Bias: Negative
# Interpretation Bias: Negative
# Memory Bias: Negative
# Rumination: Brooding
```