Yi-1.5
Collection
12 items โข Updated โข 1
Run mlx-community/Yi-1.5-6B-8bit on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Use HF Jobs to fine-tune https://huggingface.co/mlx-community/Yi-1.5-6B-8bit. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Use HF Jobs to run batch inference with https://huggingface.co/mlx-community/Yi-1.5-6B-8bit on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
How to use mlx-community/Yi-1.5-6B-8bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download mlx-community/Yi-1.5-6B-8bit --local-dir Yi-1.5-6B-8bit
The Model mlx-community/Yi-1.5-6B-8bit was converted to MLX format from 01-ai/Yi-1.5-6B using mlx-lm version 0.13.0.
Model added by Prince Canuma.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("mlx-community/Yi-1.5-6B-8bit")
response = generate(model, tokenizer, prompt="hello", verbose=True)
Quantized