Replace deprecated get_max_length with get_max_cache_shape for transformers 4.48+

#38

Sign up or log in to comment