from transformers.utils import move_cache def remove_old_cache(): print("Migrating old cache to the new format...") move_cache() print("Cache migration completed successfully.")