code: def _bert_add_special_tokens_metadata(metadata, max_length):
      """
      Edit metadata to account for the added special tokens ([CLS] and [SEP])
      """
      # metadata seq starts from plus 1
      metadata[:, 1] = metadata[:, 1] + 1
      # clip done to take overflow into account
      metadata[:, 2] = cp.clip(
          metadata[:, 2] + 1, a_min=None, a_max=max_length - 2
      )
  
file_path: cudf/python/cudf/cudf/core/subword_tokenizer.py
imports: from __future__ import annotations
  import warnings
  from typing import Union
  import cupy
  from cudf._lib.nvtext.subword_tokenize import Hashed_Vocabulary, subword_tokenize_inmem_hash
label_desc: Use image node_id 5 for calling a global function with example usage: _bert_add_special_tokens_metadata(metadata, max_length) without return types