Instructions to use ailexleon/Assistant_Pepe_32B-mlx-4Bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use ailexleon/Assistant_Pepe_32B-mlx-4Bit 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("ailexleon/Assistant_Pepe_32B-mlx-4Bit") 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 ailexleon/Assistant_Pepe_32B-mlx-4Bit with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "ailexleon/Assistant_Pepe_32B-mlx-4Bit"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "ailexleon/Assistant_Pepe_32B-mlx-4Bit" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ailexleon/Assistant_Pepe_32B-mlx-4Bit", "messages": [ {"role": "user", "content": "Hello"} ] }'
- Xet hash:
- dde3c5a4d468da6fe61f11ffa8f04af2d101f8f4a0fe118c37bd31bb8c3017b6
- Size of remote file:
- 11.4 MB
- SHA256:
- be75606093db2094d7cd20f3c2f385c212750648bd6ea4fb2bf507a6a4c55506
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.