Privacy & Security Toolkit
Collection
High quality models intended to aid users in privacy and security
•
3 items
•
Updated
This model Otilde/Distil-PII-Llama-3.2-3B-Instruct-mxfp4-MLX was converted to MLX format from distil-labs/Distil-PII-Llama-3.2-3B-Instruct using mlx-lm version 0.28.2.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("Otilde/Distil-PII-Llama-3.2-3B-Instruct-mxfp4-MLX")
prompt = "hello"
if tokenizer.chat_template is not None:
messages = [{"role": "user", "content": prompt}]
prompt = tokenizer.apply_chat_template(
messages, add_generation_prompt=True
)
response = generate(model, tokenizer, prompt=prompt, verbose=True)
Base model
meta-llama/Llama-3.2-3B-Instruct