ccdv commited on
Commit
b97ea6d
1 Parent(s): e38e2a3

readme + version

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. modeling_lsg_distilbert.py +1 -1
README.md CHANGED
@@ -6,7 +6,7 @@ tags:
6
  ---
7
 
8
  # LSG model
9
- **Transformers >= 4.22.2**\
10
  **This model relies on a custom modeling file, you need to add trust_remote_code=True**\
11
  **See [\#13467](https://github.com/huggingface/transformers/pull/13467)**
12
 
 
6
  ---
7
 
8
  # LSG model
9
+ **Transformers >= 4.23.1**\
10
  **This model relies on a custom modeling file, you need to add trust_remote_code=True**\
11
  **See [\#13467](https://github.com/huggingface/transformers/pull/13467)**
12
 
modeling_lsg_distilbert.py CHANGED
@@ -943,4 +943,4 @@ try:
943
  str_to_class(value.split(".")[-1]).register_for_auto_class(key)
944
  except:
945
  warn("AutoRegister isn't available, you'll have to manually copy modeling.py after .save_pretrained(...).")
946
- warn("Update to transformers >= 4.17.0 to fix.")
 
943
  str_to_class(value.split(".")[-1]).register_for_auto_class(key)
944
  except:
945
  warn("AutoRegister isn't available, you'll have to manually copy modeling.py after .save_pretrained(...).")
946
+ warn("Update to transformers >= 4.23.1 to fix.")