ShenLab/MentalChat16K
Viewer • Updated • 16.1k • 3.21k • 62
How to use LiquidYurii/lfm2.5-350m-mental-health with Transformers.js:
// npm i @huggingface/transformers
import { pipeline } from '@huggingface/transformers';
// Allocate pipeline
const pipe = await pipeline('text-generation', 'LiquidYurii/lfm2.5-350m-mental-health');Fine-tuned version of LiquidAI/LFM2.5-350M on the MentalChat16K dataset using QLoRA. Exported to ONNX (fp16 + q4) for in-browser inference via Transformers.js.
Note: training data is English-only. The base model is multilingual, but quality in other languages for this fine-tune is unverified.