code: def update_max_length(model_name, tokenizer):
      if model_name in (
          "google/muril-base-cased",
          "airesearch/wangchanberta-base-att-spm-uncased",
          "camembert/camembert-large",
      ):
          tokenizer.model_max_length = 512
  
imports: import math
  import logging
  import numpy
  import torch
  import torch.nn
  import torch.nn.functional
  from torch.nn.utils.rnn import pad_packed_sequence, pack_padded_sequence, pack_sequence, PackedSequence
label_desc: Use image node_id 1 for calling a global function with example usage: update_max_length(model_name, tokenizer) without return types