Instructions to use mlx-community/phi-1_5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use mlx-community/phi-1_5 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/phi-1_5") 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/phi-1_5 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/phi-1_5" --prompt "Once upon a time"
- Atomic Chat
Commit History
-
Upload folder using huggingface_hub (#1)
Verified signature- 2d13dc0e33326ac37a1489f243cfbfc6e56cae476c17c68c43baa9fe30361507 (aae3baa219c3d1766b21388021ca3ab6fb4dc912) - f41a8a014cd2af552d83e608a99e5d4bcc91d47737f482dea4dadcddb9588e2d (087a4a612267d09be2ce00bf59e040acf5a294ba)38df47b -
initial commit
Verified signatureda93388