mlx-community/Qwen2.5-1.5B-Instruct-4bit

🤗 Hugging Face 来源text-generationapache-2.01.5B 参数3.1 GBsafetensors✓ 1 个校验和今天更新
一条命令提交

在你的模型文件夹旁边运行它。它会制作种子、将文件与 Hugging Face 比对,然后提交。你只需开始做种,并粘贴你账户中的密钥。它只读取你的文件,绝不修改。如果愿意,可以先阅读脚本。

curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo mlx-community/Qwen2.5-1.5B-Instruct-4bit ./model-folder
需要做种者 →

mlx-community/Qwen2.5-1.5B-Instruct-4bit

The Model mlx-community/Qwen2.5-1.5B-Instruct-4bit was converted to MLX format from Qwen/Qwen2.5-1.5B-Instruct using mlx-lm version 0.18.1.

Use with mlx

pip install mlx-lm
from mlx_lm import load, generate

model, tokenizer = load("mlx-community/Qwen2.5-1.5B-Instruct-4bit")
response = generate(model, tokenizer, prompt="hello", verbose=True)