Sequential Hidden Decoding scales sequence length by preparing multiple Embedding matrices for the same token sequence, interleaving the results, and feeding the expanded sequence into the same Transformer. This model is the instruction-tuned release of the 8B n=8 variant.
Serving (SGLang)
This model requires a patched version of
SGLang
for inference. See the
project page
for installation options.
Note:
Sequential Hidden Decoding models process n×-length sequences internally, so
--chunked-prefill-size -1
,
--attention-backend fa3
, and conservative batch sizing are important for stability and performance.
Chat Usage
This is an instruction-tuned model. Use the
/v1/chat/completions
endpoint:
from openai import OpenAI
client = OpenAI(base_url="http://localhost:30000/v1", api_key="EMPTY")
response = client.chat.completions.create(
model="tencent/Sequential-Hidden-Decoding-8B-n8-Instruct",
messages=[
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Explain the idea of hidden decoding in simple terms."},
],
max_tokens=512,
temperature=0.7,
)
print(response.choices[0].message.content)
Files
This repository includes the custom architecture files required by
trust_remote_code
:
Sequential-Hidden-Decoding-8B-n8-Instruct huggingface.co is an AI model on huggingface.co that provides Sequential-Hidden-Decoding-8B-n8-Instruct's model effect (), which can be used instantly with this tencent Sequential-Hidden-Decoding-8B-n8-Instruct model. huggingface.co supports a free trial of the Sequential-Hidden-Decoding-8B-n8-Instruct model, and also provides paid use of the Sequential-Hidden-Decoding-8B-n8-Instruct. Support call Sequential-Hidden-Decoding-8B-n8-Instruct model through api, including Node.js, Python, http.
Sequential-Hidden-Decoding-8B-n8-Instruct huggingface.co is an online trial and call api platform, which integrates Sequential-Hidden-Decoding-8B-n8-Instruct's modeling effects, including api services, and provides a free online trial of Sequential-Hidden-Decoding-8B-n8-Instruct, you can try Sequential-Hidden-Decoding-8B-n8-Instruct online for free by clicking the link below.
tencent Sequential-Hidden-Decoding-8B-n8-Instruct online free url in huggingface.co:
Sequential-Hidden-Decoding-8B-n8-Instruct is an open source model from GitHub that offers a free installation service, and any user can find Sequential-Hidden-Decoding-8B-n8-Instruct on GitHub to install. At the same time, huggingface.co provides the effect of Sequential-Hidden-Decoding-8B-n8-Instruct install, users can directly use Sequential-Hidden-Decoding-8B-n8-Instruct installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
Sequential-Hidden-Decoding-8B-n8-Instruct install url in huggingface.co: