CoolFace
Modelpublic

mlx-community/Nemotron-Cascade-2-30B-A3B-8bit

sourceHugging Faceotherupdated 6mo agoView on Hugging Face
8likes202downloads
Model Card

mlx-community/Nemotron-Cascade-2-30B-A3B-8bit

This model mlx-community/Nemotron-Cascade-2-30B-A3B-8bit was converted to MLX format from nvidia/Nemotron-Cascade-2-30B-A3B using mlx-lm version 0.31.2.

Use with mlx

bash
pip install mlx-lm
python
from mlx_lm import load, generate

model, tokenizer = load("mlx-community/Nemotron-Cascade-2-30B-A3B-8bit")

prompt = "hello"

if tokenizer.chat_template is not None:
    messages = [{"role": "user", "content": prompt}]
    prompt = tokenizer.apply_chat_template(
        messages, add_generation_prompt=True, return_dict=False,
    )

response = generate(model, tokenizer, prompt=prompt, verbose=True)