ccdv commited on
Commit
42a06a1
1 Parent(s): dbcd29a

readme + version

Browse files
Files changed (2) hide show
  1. README.md +1 -0
  2. modeling_lsg_bart.py +1 -1
README.md CHANGED
@@ -15,6 +15,7 @@ model-index:
15
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
  should probably proofread and complete it, then remove this comment. -->
17
 
 
18
  **This model relies on a custom modeling file, you need to add trust_remote_code=True**\
19
  **See [\#13467](https://github.com/huggingface/transformers/pull/13467)**
20
 
 
15
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
  should probably proofread and complete it, then remove this comment. -->
17
 
18
+ **Transformers >= 4.23.1**\
19
  **This model relies on a custom modeling file, you need to add trust_remote_code=True**\
20
  **See [\#13467](https://github.com/huggingface/transformers/pull/13467)**
21
 
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.")