code: def add_bucketing_args(params):
      params.add_argument(
          "--no-bucketing",
          action="store_true",
          help="Disable bucketing: always unroll the graph to --max-seq-len. Default: %(default)s.",
      )
  
      params.add_argument(
          "--bucket-width",
          type=int_greater_or_equal(1),
          default=8,
          help="Width of buckets in tokens. Default: %(default)s.",
      )
  
      params.add_argument(
          "--bucket-scaling",
          action="store_true",
          help="Scale source/target buckets based on length ratio to reduce padding. Default: "
          "%(default)s.",
      )
  
      params.add_argument(
          C.TRAINING_ARG_MAX_SEQ_LEN,
          type=multiple_values(num_values=2, greater_or_equal=1),
          default=(95, 95),
          help="Maximum sequence length in tokens, not counting BOS/EOS tokens (internal max sequence "
          'length is X+1). Use "x:x" to specify separate values for src&tgt. Default: %(default)s.',
      )
  
imports: import argparse
  import os
  import sys
  import types
  from typing import Any, Callable, Dict, List, Tuple, Optional
  import yaml
  from sockeye.utils import smart_open
  from .None import constants
label_desc: Use image node_id 23 for calling a global function with example usage: add_bucketing_args(params) without return types