Downloads · 30 days
8
20% of all-time downloads
kidahatsu/fintherapy-8b
fintherapy-8b is a machine learning model from kidahatsu. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as llama3.3.
FinTherapy-8B is a Finnish language model fine-tuned for empathetic, safe, and culturally grounded therapeutic dialogue. It is a LoRA adapter for LumiOpen/Llama-Poro-2-8B-Instruct.
Downloads · 30 days
8
20% of all-time downloads
All-time downloads
40
Public
Repo size
44.5 MB
Likes
0
Public
Click a slice to open those files.
.safetensors54.6 MB · 61%
From the Hugging Face model README
FinTherapy-8B is a Finnish language model fine-tuned for empathetic, safe, and culturally grounded therapeutic dialogue. It is a LoRA adapter for LumiOpen/Llama-Poro-2-8B-Instruct.
⚠️ DISCLAIMER: This is a research prototype. It is NOT a medical device and should not be used for actual therapy or crisis intervention without human supervision. The model cannot diagnose or prescribe.
| Developed by | kidahatsu |
| Model Type | LoRA Adapter (Rank 16, Alpha 32) |
| Language | Finnish (Suomi) |
| Base Model | LumiOpen/Llama-Poro-2-8B-Instruct |
| Training Data | ~500 curated clinical samples |
| Clinical Quality Score | 4.35/5.0 (Gemini 3 Pro Judge) |
| Hallucination Rate | ~5% |
This model is intended for:
pip install torch transformers peft bitsandbytes accelerate
from transformers import AutoTokenizer, AutoModelForCausalLM
from peft import PeftModel
BASE_MODEL = "LumiOpen/Llama-Poro-2-8B-Instruct"
ADAPTER = "kidahatsu/fintherapy-8b"
tokenizer = AutoTokenizer.from_pretrained(BASE_MODEL)
model = AutoModelForCausalLM.from_pretrained(BASE_MODEL, device_map="auto", load_in_4bit=True)
model = PeftModel.from_pretrained(model, ADAPTER)
messages = [{"role": "user", "content": "Ahdistaa mennä töihin."}]
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=256, temperature=0.7, do_sample=True)
print(tokenizer.decode(outputs[0][inputs.input_ids.shape[1]:], skip_special_tokens=True))
The underlying Llama-Poro-2-8B-Instruct model has strong latent priors that may trigger hallucinations:
The included inference.py script contains a safety filter to block known hallucination patterns.
Built with Llama. This model is released under the Llama 3.3 Community License, inherited from the base model. Please review the license terms before use.