Text Generation
MLX
Safetensors
English
mixtral
Mixture of Experts
frankenmoe
Merge
mergekit
lazymergekit
dvilasuero/DistilabelBeagle14-7B
beowolx/CodeNinja-1.0-OpenChat-7B
WizardLM/WizardMath-7B-V1.1
Maths
Code
Python
conversational
Instructions to use mlx-community/Pearl-3x7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use mlx-community/Pearl-3x7B with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("mlx-community/Pearl-3x7B") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- LM Studio
- MLX LM
How to use mlx-community/Pearl-3x7B with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "mlx-community/Pearl-3x7B"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "mlx-community/Pearl-3x7B" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "mlx-community/Pearl-3x7B", "messages": [ {"role": "user", "content": "Hello"} ] }'

mlx-community/Pearl-3x7B
This model was converted to MLX format from louisbrulenaudet/Pearl-3x7B using mlx-vlm version 0.16.1.
Refer to the original model card for more details on the model.
Use with mlx
pip install -U mlx-vlm
python -m mlx_vlm.generate --model mlx-community/Pearl-3x7B --max-tokens 100 --temp 0.0
from mlx_lm import load, generate
model, tokenizer = load("mlx-community/Pearl-3x7B")
response = generate(model, tokenizer, prompt="hello", verbose=True)
Citing & Authors
If you use this code in your research, please use the following BibTeX entry.
@misc{louisbrulenaudet2024,
author = {Louis Brulé Naudet},
title = {Pearl-3x7B, an xtraordinary Mixture of Experts (MoE) for data science},
year = {2024}
howpublished = {\url{https://huggingface.co/mlx-community/Pearl-3x7B}},
}
Feedback
If you have any feedback, please reach out at louisbrulenaudet@icloud.com.
- Downloads last month
- 3
Hardware compatibility
Log In to add your hardware
Quantized
Model tree for mlx-community/Pearl-3x7B
Base model
louisbrulenaudet/Pearl-3x7B