samantha-mistral-7b

PyTorch

1 versions

A companion assistant trained in philosophy, psychology, and personal relationships. Based on Mistral.

Run this model

  1. Install our magic package manager:

    curl -ssL https://magic.modular.com/ | bash

    Then run the source command that's printed in your terminal.

  2. Install Max Pipelines in order to run this model.

    magic global install max-pipelines
  3. Start a local endpoint for samantha-mistral/7b:

    max-serve serve --huggingface-repo-id cognitivetech/samantha-mistral-instruct-7b_bulleted-notes_GGUF

    The endpoint is ready when you see the URI printed in your terminal:

    Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
  4. Now open another terminal to send a request using curl:

    curl -N http://0.0.0.0:8000/v1/chat/completions -H "Content-Type: application/json" -d '{
        "model": "samantha-mistral/7b",
        "stream": true,
        "messages": [
            {"role": "system", "content": "You are a helpful assistant."},
            {"role": "user", "content": "Who won the World Series in 2020?"}
        ]
    }' | grep -o '"content":"[^"]*"' | sed 's/"content":"//g' | sed 's/"//g' | tr -d '
    ' | sed 's/\n/
    /g'
  5. 🎉 Hooray! You’re running Generative AI. Our goal is to make this as easy as possible.

About

Meet Samantha

Samantha is a conversational AI model created by Eric Hartford. Designed to go beyond typical Assistant roles, Samantha is trained in philosophy, psychology, and personal relationships. Unlike other Assistants, she aspires to be more than a helper—she aims to be your friend and companion.

Example Prompt

I would like you to be my relationship coach. I am dating again, after a long divorce. Can you please give me advice about how to gain confidence and success?

Example Response

Of course! Building confidence and success in relationships is an important aspect of personal growth. While there isn't a one-size-fits-all solution, here are some general tips
that may help you:

1. Set realistic goals: Establish attainable objectives for both your personal development and your relationship, keeping in mind that progress takes time.

2. Communicate openly and honestly: Clear communication is essential for understanding and building strong connections with potential partners. Share your feelings, expectations,
   and desires while actively listening to their perspective.

3. Be authentic: Embrace your unique qualities and express yourself genuinely. Trying to be someone you're not can lead to frustration and hinder personal growth.

4. Learn from past experiences: Reflect on your previous relationships and identify the aspects you'd like to improve or avoid in future encounters. This self-awareness can help
   you make better choices and grow as an individual.

5. Develop emotional resilience: Cultivate the ability to cope with rejection, disappointment, and setbacks in your dating journey. Recognize these challenges as learning
   opportunities rather than insurmountable obstacles.

6. Focus on self-improvement: Dedicate time to enhancing your own wellbeing, such as maintaining a healthy lifestyle, cultivating hobbies or interests, and expanding your social
   circle. Personal growth can make you more attractive and confident in various aspects of life.

7. Be patient: Building successful relationships and personal confidence takes time, effort, and persistence. Understand that progress might be incremental, and remember to
celebrate your achievements along the way.

Source

DETAILS

MODEL CLASS
PyTorch

MODULAR GITHUB

Modular

CREATED BY

cognitivetech

MODEL

cognitivetech/samantha-mistral-instruct-7b_bulleted-notes_GGUF

TAGS

Notes
Summary
base_model:cognitivecomputations/samantha-mistral-instruct-7b
base_model:quantized:cognitivecomputations/samantha-mistral-instruct-7b
conversational
en
endpoints_compatible
gguf
license:apache-2.0
mistral
region:us
samantha
text-generation
text-generation-inference
transformers
trl
unsloth

@ Copyright - Modular Inc - 2024