ccdv commited on
Commit
5be31d5
1 Parent(s): 0cebb6c

fix for transformers >= 4.35.2

Browse files
Files changed (1) hide show
  1. modeling_lsg_camembert.py +1 -1
modeling_lsg_camembert.py CHANGED
@@ -1191,4 +1191,4 @@ try:
1191
  str_to_class(value.split(".")[-1]).register_for_auto_class(key)
1192
  except:
1193
  warn("AutoRegister isn't available, you'll have to manually copy modeling.py after .save_pretrained(...).")
1194
- warn("Update to transformers >= 4.23.1 to fix.")
 
1191
  str_to_class(value.split(".")[-1]).register_for_auto_class(key)
1192
  except:
1193
  warn("AutoRegister isn't available, you'll have to manually copy modeling.py after .save_pretrained(...).")
1194
+ warn("Update to transformers >= 4.35.2 to fix.")