初始化项目,由ModelHub XC社区提供模型
Model: FritzStack/COGN-QWEN8B-4bit Source: Original Platform
This commit is contained in:
29
README.md
Normal file
29
README.md
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
base_model: unsloth/Qwen3-8B-unsloth-bnb-4bit
|
||||
tags:
|
||||
- text-generation-inference
|
||||
- transformers
|
||||
- unsloth
|
||||
- qwen3
|
||||
license: apache-2.0
|
||||
language:
|
||||
- en
|
||||
---
|
||||
|
||||
```bash
|
||||
|
||||
!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(model_name='FritzStack/COGN-QWEN8B-4bit')
|
||||
cogn.predict_cognitive_features(text)
|
||||
# Output:
|
||||
# Attention Bias: Negative
|
||||
# Interpretation Bias: Negative
|
||||
# Memory Bias: Negative
|
||||
# Rumination: Brooding
|
||||
```
|
||||
Reference in New Issue
Block a user