Downloads · 30 days
5
2% of all-time downloads
Msp/mira_0.0
mira_0.0 is a machine learning model from Msp. 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 transformers. The card lists the license as apache-2.0.
Downloads · 30 days
5
2% of all-time downloads
All-time downloads
225
Public
Repo size
16.2 GB
Likes
0
Public
Click a slice to open those files.
.gguf16.1 GB · 99%
From the Hugging Face model README
Version: 0.0
Author: Msp Raja
MIRA stands for Mental Illumination and Reflective Aid. This AI-powered assistant, built on the LLaMA 3.1 8B model, is designed to offer compassionate and insightful support to individuals seeking mental wellness and emotional balance. MIRA’s mission is to illuminate the mind, guide self-reflection, and foster resilience in a supportive, non-judgmental environment.
MIRA is developed to be a reliable companion for those navigating mental health challenges. It provides personalized assistance by understanding users’ needs, showing empathy, and offering thoughtful responses. Whether it's helping someone through anxiety, stress, or emotional difficulties, MIRA is here to listen, reflect, and guide users towards a healthier mindset.
MIRA is fine-tuned on the LLaMA 3.1 8B model, a state-of-the-art language model known for its large-scale capabilities and nuanced understanding of human language. The fine-tuning process focused on enhancing the model's ability to engage in compassionate and context-aware dialogues, particularly in the domain of mental health and therapy.
To begin using MIRA:
We welcome feedback to improve MIRA's capabilities. If you have suggestions, encounter issues, or want to contribute, please reach out via [contact information].
MIRA is licensed under apache-2.0. Please refer to the LICENSE file for more details.
To Load this model using unsloth
from unsloth import FastLanguageModel
model, tokenizer = FastLanguageModel.from_pretrained(
model_name = "Msp/mira-1.0", # YOUR MODEL YOU USED FOR TRAINING
max_seq_length = 4096,
dtype = None,
load_in_4bit = True,
#token="hf.."
)
FastLanguageModel.for_inference(model) # Enable native 2x faster inference
alpaca_prompt = """Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
{}
### Input:
{}
### Response:
{}"""
inputs = tokenizer(
[
alpaca_prompt.format(
"", # instruction
"I hope you're doing well. I've been going through a really painful divorce recently, and I've been feeling quite lost and uncertain about the future. It's been a really difficult time for me.", # input
"", # output - leave this blank for generation!
)
], return_tensors = "pt").to("cuda")
from transformers import TextStreamer
text_streamer = TextStreamer(tokenizer)
_ = model.generate(**inputs, streamer = text_streamer, max_new_tokens = 512)
This llama model was trained 2x faster with Unsloth and Huggingface's TRL library.