Instructions to use mlx-community/TinyMistral-248M-4bits with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use mlx-community/TinyMistral-248M-4bits with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # if on a CUDA device, also pip install mlx[cuda] # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("mlx-community/TinyMistral-248M-4bits") prompt = "Once upon a time in" text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- MLX LM
How to use mlx-community/TinyMistral-248M-4bits with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "mlx-community/TinyMistral-248M-4bits" --prompt "Once upon a time"
- Atomic Chat
Commit History
-
Upload folder using huggingface_hub (#1)
Isaak Carter AugustusVerified signature- a0841a2f082daaf44c629982dd9b4a521113c3c6315955e4a918f8d1520becd6 (59757c069e170876812bad033a2635ebca42a570)f2411a9 -
initial commit
Isaak Carter AugustusVerified signaturef697dba