knkarthick/dialogsum
Viewer • Updated • 14.5k • 9.26k • 259
How to use chendren/qwen2.5-0.5b-cx-lam with MLX:
# Make sure mlx-lm is installed
# pip install --upgrade mlx-lm
# if on a CUDA device, also pip install mlx[cuda]
# Generate text with mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("chendren/qwen2.5-0.5b-cx-lam")
prompt = "Once upon a time in"
text = generate(model, tokenizer, prompt=prompt, verbose=True)How to use chendren/qwen2.5-0.5b-cx-lam with MLX LM:
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "chendren/qwen2.5-0.5b-cx-lam" --prompt "Once upon a time"
Smaller LoRA sibling of chendren/qwen2.5-3b-cx-lam. Prefer the 3B adapter.
Bitext-derived rows are research / non-commercial. See the dataset card.
Terminal log_call 10/10, avg 4.0 steps, 1 case + 1 log. Typical flow: screenpop -> create_case -> log_call.
Legacy single-shot on 271 hold-out: valid_rate 0.395. Use iterative mode.
from mlx_lm import load
from huggingface_hub import snapshot_download
model_dir = snapshot_download("chendren/qwen2.5-0.5b-cx-lam")
model, tokenizer = load(
"mlx-community/Qwen2.5-0.5B-Instruct-4bit",
adapter_path=model_dir,
)
0.5B repeats early actions. Perception is mostly derived. Research artifact. Not production CX routing. Process gold: Immortalis/cx-comply.
Quantized
Base model
Qwen/Qwen2.5-0.5B