Downloads · 30 days
64
25% of all-time downloads
Wwayu/medgemma-27b-it-heretic-mlx-4Bit
medgemma-27b-it-heretic-mlx-4Bit is a image-text-to-text model from Wwayu. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as other.
The Model Wwayu/medgemma-27b-it-heretic-mlx-4Bit was converted to MLX format from genevera/medgemma-27b-it-heretic using mlx-lm version 0.31.2.
Downloads · 30 days
64
25% of all-time downloads
All-time downloads
261
Public
Parameters
27B
15.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors15.2 GB · 100%
How the weights are stored.
U3227B · 100%
From the Hugging Face model README
The Model Wwayu/medgemma-27b-it-heretic-mlx-4Bit was converted to MLX format from genevera/medgemma-27b-it-heretic using mlx-lm version 0.31.2.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("Wwayu/medgemma-27b-it-heretic-mlx-4Bit")
prompt="hello"
if hasattr(tokenizer, "apply_chat_template") and tokenizer.chat_template is not None:
messages = [{"role": "user", "content": prompt}]
prompt = tokenizer.apply_chat_template(
messages, tokenize=False, add_generation_prompt=True
)
response = generate(model, tokenizer, prompt=prompt, verbose=True)