Mistral-7b-Gandalf / README.md
maciejonek's picture
Update README.md
cc6d2d0 verified
|
raw
history blame
1.58 kB
metadata
license: apache-2.0
tags:
  - finetuned
  - mlx
pipeline_tag: text-generation
new_version: mistralai/Mistral-7B-Instruct-v0.3
inference: true
widget:
  - messages:
      - role: user
        content: What is your favorite condiment?
extra_gated_description: >-
  If you want to learn more about how we process your personal data, please read
  our <a href="https://mistral.ai/terms/">Privacy Policy</a>.
base_model: mistralai/Mistral-7B-Instruct-v0.2

maciejonek/Mistral-7b-Gandalf

The Model maciejonek/Mistral-7b-Gandalf was converted to MLX format from mistralai/Mistral-7B-Instruct-v0.2 using mlx-lm version 0.21.0.

Description

Fine-tuned Mistral-7B-Instruct-v0.2 model trained for wisdom-rich prose. Trained on a dataset of philosophical musings, timeless insights, and profound reflections, it delivers responses with depth, clarity, and an almost mythical sense of guidance. Provide a concise summary or text, and Gandalf will reflect on its deeper meaning, connect it to universal truths, or add thoughtful perspectives.

Use with mlx

pip install mlx-lm
from mlx_lm import load, generate

model, tokenizer = load("maciejonek/Mistral-7b-Gandalf")

prompt = "hello"

if tokenizer.chat_template is not None:
    messages = [{"role": "user", "content": prompt}]
    prompt = tokenizer.apply_chat_template(
        messages, add_generation_prompt=True
    )

response = generate(model, tokenizer, prompt=prompt, verbose=True)