ccdv commited on
Commit
3fd7f41
1 Parent(s): 5eaddad

readme + version

Browse files
Files changed (2) hide show
  1. README.md +1 -0
  2. modeling_lsg_bart.py +1 -1
README.md CHANGED
@@ -18,6 +18,7 @@ model-index:
18
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
19
  should probably proofread and complete it, then remove this comment. -->
20
 
 
21
  **This model relies on a custom modeling file, you need to add trust_remote_code=True**\
22
  **See [\#13467](https://github.com/huggingface/transformers/pull/13467)**
23
 
 
18
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
19
  should probably proofread and complete it, then remove this comment. -->
20
 
21
+ **Transformers >= 4.23.1**\
22
  **This model relies on a custom modeling file, you need to add trust_remote_code=True**\
23
  **See [\#13467](https://github.com/huggingface/transformers/pull/13467)**
24
 
modeling_lsg_bart.py CHANGED
@@ -1046,4 +1046,4 @@ try:
1046
  str_to_class(value.split(".")[-1]).register_for_auto_class(key)
1047
  except:
1048
  warn("AutoRegister isn't available, you'll have to manually copy modeling.py after .save_pretrained(...).")
1049
- warn("Update to transformers >= 4.17.0 to fix.")
 
1046
  str_to_class(value.split(".")[-1]).register_for_auto_class(key)
1047
  except:
1048
  warn("AutoRegister isn't available, you'll have to manually copy modeling.py after .save_pretrained(...).")
1049
+ warn("Update to transformers >= 4.23.1 to fix.")