vibhorag101/llama-2-7b-chat-hf-phr_mental_therapy

TEXT GENERATIONConcurrency Cost:1Model Size:7BQuant:FP8Ctx Length:4kPublished:Sep 15, 2023License:mitArchitecture:Transformer0.0K Open Weights Cold

The vibhorag101/llama-2-7b-chat-hf-phr_mental_therapy model is a 7 billion parameter Llama-2-chat-hf variant, fine-tuned by vibhorag101 on a therapy dataset. It is specifically optimized to provide basic, cheerful mental therapy support, aiming to improve user mental health. With a context length of 4096 tokens, this model is designed for supportive and positive conversational interactions.

Loading preview...

Model Overview

This model, developed by vibhorag101, is a fine-tuned version of the Llama-2-7b-chat-hf architecture, specifically adapted for mental therapy applications. It leverages a 7 billion parameter base model and has been trained on a specialized therapy dataset to provide supportive and cheerful responses.

Key Capabilities

  • Basic Mental Therapy Support: Designed to offer initial therapeutic interactions.
  • Positive and Cheerful Tone: The model's system prompt encourages helpful, cheerful, and safe responses, avoiding harmful or negative content.
  • Conversational AI: Optimized for engaging in dialogue to support mental well-being.

Training Details

The model was fine-tuned using an RTX A5000 GPU with 24GB VRAM. Key hyperparameters included 3 training epochs, a batch size of 2, and a maximum sequence length of 2048. LoRA (Low-Rank Adaptation) was applied with lora_r=64 and lora_alpha=16 for efficient fine-tuning. The training data consisted of 1000 samples, split 80:20 for training and evaluation.

Performance Metrics

Evaluations on the Open LLM Leaderboard show an average score of 42.84. Specific scores include ARC (25-shot) at 52.39, HellaSwag (10-shot) at 75.39, and MMLU (5-shot) at 39.77. While not a general-purpose LLM, these metrics provide a baseline for its foundational language understanding.

Good for

  • Applications requiring a supportive and positive conversational agent.
  • Initial mental health support systems or chatbots.
  • Use cases where a cheerful and empathetic tone is crucial.