Text Generation
MLX
mistral
Edit model card

Mistral-7B-v0.1

The Mistral-7B-v0.1 Large Language Model (LLM) is a pretrained generative text model with 7 billion parameters. Mistral-7B-v0.1 outperforms Llama 2 13B on all benchmarks we tested.

For full details of this model please read our paper and release blog post.

This repository contains the mistral-7B-v0.1 weights in npz format suitable for use with Apple's MLX framework.

Use with MLX

pip install mlx
pip install huggingface_hub hf_transfer
git clone https://github.com/ml-explore/mlx-examples.git
cd mlx-examples

# Download model
export HF_HUB_ENABLE_HF_TRANSFER=1
huggingface-cli download --local-dir-use-symlinks False --local-dir mistral-7B-v0.1 mlx-community/mistral-7B-v0.1

# Run example
python llms/mistral/mistral.py --prompt "My name is"

Please, refer to the original model card for more details on Mistral-7B-v0.1.

Downloads last month
29
Inference Examples
Inference API (serverless) has been turned off for this model.