endyaris commited on
Commit
84256f7
·
verified ·
1 Parent(s): 949bde8

Create fix_cache.py

Browse files
Files changed (1) hide show
  1. fix_cache.py +5 -0
fix_cache.py ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ from transformers.utils import move_cache
2
+
3
+ print("Migrating old cache to the new format...")
4
+ move_cache()
5
+ print("Cache migration completed successfully.")