Downloads · 30 days
41
17% of all-time downloads
mlx-community/OLMoE-1B-7B-0125
OLMoE-1B-7B-0125 is a text generation model from mlx-community. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
The Model mlx-community/OLMoE-1B-7B-0125 was converted to MLX format from allenai/OLMoE-1B-7B-0125 using mlx-lm version 0.22.0.
Downloads · 30 days
41
17% of all-time downloads
All-time downloads
242
Public
Parameters
6.9B
13.8 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors13.8 GB · 100%
From the Hugging Face model README
The Model mlx-community/OLMoE-1B-7B-0125 was converted to MLX format from allenai/OLMoE-1B-7B-0125 using mlx-lm version 0.22.0.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("mlx-community/OLMoE-1B-7B-0125")
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)