Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- psychology
|
| 4 |
+
- chatbot
|
| 5 |
+
- llama
|
| 6 |
+
- gguf
|
| 7 |
+
license: llama3.1
|
| 8 |
+
language:
|
| 9 |
+
- en
|
| 10 |
+
base_model:
|
| 11 |
+
- meta-llama/Llama-3.1-8B
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# WellMinded Therapy Engine (8B Q4_0)
|
| 15 |
+
|
| 16 |
+
This is a fine-tuned version of the LLaMA 3.1 8B model, optimized for psychologist-like conversations. The model is quantized to 4-bit precision (Q4_0) for efficient inference.
|
| 17 |
+
|
| 18 |
+
## Usage
|
| 19 |
+
|
| 20 |
+
You can load and use this model with the `transformers` library:
|
| 21 |
+
|
| 22 |
+
```python
|
| 23 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 24 |
+
|
| 25 |
+
model = AutoModelForCausalLM.from_pretrained("PixelPanda1/WellMinded_Therapy_Engine")
|
| 26 |
+
tokenizer = AutoTokenizer.from_pretrained("PixelPanda1/WellMinded_Therapy_Engine")
|
| 27 |
+
|
| 28 |
+
input_text = "Hi, I'm feeling really stressed lately."
|
| 29 |
+
inputs = tokenizer(input_text, return_tensors="pt")
|
| 30 |
+
outputs = model.generate(**inputs)
|
| 31 |
+
|
| 32 |
+
print(tokenizer.decode(outputs[0]))
|