Views
No views yet
| File | Purpose |
|---|---|
genai_config.json | Runtime configuration; the folder is loaded as a whole |
model.onnx + model.onnx.data | Graph and weights, ~1.1 GB together |
tokenizer.json, tokenizer_config.json | Tokeniser |
chat_template.jinja | Chat template — required; without it the model continues the prompt instead of answering |
1pip install onnxruntime-genai==0.15.1 onnx onnx_ir torch transformers
2python -m onnxruntime_genai.models.builder \
3 -i ./Qwen3-1.7B -o ./qwen3-1.7b-int4 -p int4 -e cpu/no_think to suppress <think> blocks.repetition_penalty=1.1 and greedy decoding.