Expedient AI CTRL models
Collection
Retrieval-grounded models for the Expedient knowledge base β’ 5 items β’ Updated
How to use expedient-ai/CTRL-2B-ONNX with Transformers.js:
// npm i @huggingface/transformers
import { pipeline } from '@huggingface/transformers';
// Allocate pipeline
const pipe = await pipeline('text-generation', 'expedient-ai/CTRL-2B-ONNX');CTRL-2B (QLoRA adapter on MiniCPM5-2B, merged) exported to ONNX fp16 and quantized to q4f16 (MatMulNBits, block 128, symmetric, accuracy_level 4) for in-browser WebGPU inference via transformers.js.
Run it live: CTRL-2B demo Space
Files: onnx/model_q4f16.onnx (+ external data), Inter/MiniCPM5 tokenizer
with the CTRL-2B chat template embedded in tokenizer_config.json.