168634744dfcd29204f2a090effc395ca6defc35
Model: mlx-community/MediPhi-Instruct-bf16 Source: Original Platform
license, datasets, language, base_model, library_name, tags, pipeline_tag
| license | datasets | language | base_model | library_name | tags | pipeline_tag | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| mit |
|
|
microsoft/MediPhi-Instruct | mlx |
|
text-generation |
mlx-community/MediPhi-Instruct-bf16
This model mlx-community/MediPhi-Instruct-bf16 was converted to MLX format from microsoft/MediPhi-Instruct using mlx-lm version 0.25.3.
Use with mlx
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("mlx-community/MediPhi-Instruct-bf16")
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)
Description
Languages
Jinja
100%