readme + version
Browse files- README.md +1 -1
- modeling_lsg_distilbert.py +1 -1
README.md
CHANGED
@@ -6,7 +6,7 @@ tags:
|
|
6 |
---
|
7 |
|
8 |
# LSG model
|
9 |
-
**Transformers >= 4.
|
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.
|
|
|
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.")
|