code: def post_process_response(token_ids: List[int], tokenizer):
      """
      Post-process the decoded sequence. Truncate from the first <eos>.
      """
      eos_pos = len(token_ids)
      for i, tok_id in enumerate(token_ids):
          if tok_id == tokenizer.sep_token_id:
              eos_pos = i
              break
      token_ids = token_ids[:eos_pos]
      tokens = tokenizer.convert_ids_to_tokens(token_ids)
      tokens = tokenizer.merge_subword(tokens)
      return token_ids, tokens
  
label_desc: Use image node_id 1 for calling a global function with example usage: post_process_response(token_ids, tokenizer) and returns: token_ids,  tokens