nicolasembleton's picture
Upload folder using huggingface_hub
b54d070 verified
|
Raw
History Blame Contribute Delete
1.04 kB
metadata
library_name: mlx
license: apache-2.0
pipeline_tag: text-generation
base_model: fastino/Fastino-Nemotron-3.5-Lightning-Finance
tags:
  - mlx
  - nemotron_h
  - 8-bit

Fastino-Nemotron-3.5-Lightning-Finance-MLX-8bit

This model was converted to MLX format from fastino/Fastino-Nemotron-3.5-Lightning-Finance using mlx-lm version 0.31.3.

Property Value
Quantization 8-bit affine
Group size 64

Use with mlx

pip install mlx-lm
mlx_lm.generate --model Fastino-Nemotron-3.5-Lightning-Finance-MLX-8bit --prompt "Hello"
from mlx_lm import load, generate

model, tokenizer = load("Fastino-Nemotron-3.5-Lightning-Finance-MLX-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)
response = generate(model, tokenizer, prompt=prompt, verbose=True)