def detokenize(codes: jnp.ndarray, *,
               tokenizer_dict: Dict[str, TokenizerFn]) -> jnp.ndarray:
  """Generate videos from the discrete codes by the vq_model decoder."""
  return tokenizer_dict['detokenizer'](codes)
Generate videos from the discrete codes by the vq_model decoder.
videogvt/interfaces/mm_vq.py