Downloads · 30 days
19
4% of all-time downloads
mlx-community/OpenELM-270M-Instruct-4bit
OpenELM-270M-Instruct-4bit is a machine learning model from mlx-community. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for mlx. The card lists the license as other.
The Model mlx-community/OpenELM-270M-Instruct-4bit was converted to MLX format from mlx-community/OpenELM-270M-Instruct using mlx-lm version 0.14.0.
Downloads · 30 days
19
4% of all-time downloads
All-time downloads
430
Public
Parameters
272M
153 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors153 MB · 99%
How the weights are stored.
U32271M · 100%
From the Hugging Face model README
The Model mlx-community/OpenELM-270M-Instruct-4bit was converted to MLX format from mlx-community/OpenELM-270M-Instruct using mlx-lm version 0.14.0.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("mlx-community/OpenELM-270M-Instruct-4bit")
response = generate(model, tokenizer, prompt="hello", verbose=True)