nemo_rl.data.deepseek_v4_tokenizer#
Module Contents#
Functions#
Return whether the config explicitly requests the DeepSeek V4 renderer. |
|
Wrap a fast tokenizer with vLLM 0.25.1’s DeepSeek V4 encoder. |
Data#
API#
- nemo_rl.data.deepseek_v4_tokenizer.DEEPSEEK_V4_CHAT_TEMPLATE#
‘deepseek_v4’
- nemo_rl.data.deepseek_v4_tokenizer.should_use_deepseek_v4_chat_template(
- tokenizer_config: collections.abc.Mapping[str, Any],
Return whether the config explicitly requests the DeepSeek V4 renderer.
- nemo_rl.data.deepseek_v4_tokenizer.get_deepseek_v4_tokenizer(
- tokenizer: Any,
- chat_template_kwargs: dict[str, Any] | None = None,
Wrap a fast tokenizer with vLLM 0.25.1’s DeepSeek V4 encoder.