A DFlash draft model for speculative decoding with
Nex-N2.5-Pro
, supporting text and multimodal workloads.
This repository contains only the draft model. It is not a standalone language model: it is loaded alongside Nex-N2.5-Pro and proposes a block of tokens per step, which the target model then verifies. The output distribution is that of Nex-N2.5-Pro; the draft model only reduces latency.
This model was trained with the
SpecForge
library on Nex-AGI's in-house data, together with a portion of
OpenPerfectBlend
.
Training uses a 0.1 CE + 0.9 TV loss, temperature 0.7, a DFlash block size of 16, and 512 anchors per sample.
Deployment
Serve Nex-N2.5-Pro with the draft model attached using
sglang
. Speculative decoding with this draft model requires our customized
sglang
fork, which is preinstalled in the prebuilt Docker image
nexagi/sglang:v0.5.18-nex-patch
:
Nex-N2.5-Pro-DFlash huggingface.co is an AI model on huggingface.co that provides Nex-N2.5-Pro-DFlash's model effect (), which can be used instantly with this nex-agi Nex-N2.5-Pro-DFlash model. huggingface.co supports a free trial of the Nex-N2.5-Pro-DFlash model, and also provides paid use of the Nex-N2.5-Pro-DFlash. Support call Nex-N2.5-Pro-DFlash model through api, including Node.js, Python, http.
Nex-N2.5-Pro-DFlash huggingface.co is an online trial and call api platform, which integrates Nex-N2.5-Pro-DFlash's modeling effects, including api services, and provides a free online trial of Nex-N2.5-Pro-DFlash, you can try Nex-N2.5-Pro-DFlash online for free by clicking the link below.
nex-agi Nex-N2.5-Pro-DFlash online free url in huggingface.co:
Nex-N2.5-Pro-DFlash is an open source model from GitHub that offers a free installation service, and any user can find Nex-N2.5-Pro-DFlash on GitHub to install. At the same time, huggingface.co provides the effect of Nex-N2.5-Pro-DFlash install, users can directly use Nex-N2.5-Pro-DFlash installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
Nex-N2.5-Pro-DFlash install url in huggingface.co: