MLX
Safetensors
qwen2

Run this model with HF Jobs

Run mlx-community/CodeQwen1.5-7B-4bit 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:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/mlx-community/CodeQwen1.5-7B-4bit. 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.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/mlx-community/CodeQwen1.5-7B-4bit 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 from the
Use from the
MLX library
# Download the model from the Hub
pip install huggingface_hub[hf_xet]

hf download mlx-community/CodeQwen1.5-7B-4bit --local-dir CodeQwen1.5-7B-4bit

mlx-community/CodeQwen1.5-7B-4bit

This model was converted to MLX format from Qwen/CodeQwen1.5-7B using mlx-lm version 0.9.0.

Model added by Prince Canuma.

Refer to the original model card for more details on the model.

Use with mlx

pip install mlx-lm
from mlx_lm import load, generate

model, tokenizer = load("mlx-community/CodeQwen1.5-7B-4bit")
response = generate(model, tokenizer, prompt="hello", verbose=True)
Downloads last month
29
MLX
Hardware compatibility
Log In to add your hardware

Quantized

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support