readme + version
Browse files- README.md +1 -1
- modeling_lsg_roberta.py +1 -1
README.md
CHANGED
@@ -5,7 +5,7 @@ tags:
|
|
5 |
---
|
6 |
|
7 |
# LSG model
|
8 |
-
**Transformers >= 4.
|
9 |
**This model relies on a custom modeling file, you need to add trust_remote_code=True**\
|
10 |
**See [\#13467](https://github.com/huggingface/transformers/pull/13467)**
|
11 |
|
|
|
5 |
---
|
6 |
|
7 |
# LSG model
|
8 |
+
**Transformers >= 4.23.1**\
|
9 |
**This model relies on a custom modeling file, you need to add trust_remote_code=True**\
|
10 |
**See [\#13467](https://github.com/huggingface/transformers/pull/13467)**
|
11 |
|
modeling_lsg_roberta.py
CHANGED
@@ -1174,4 +1174,4 @@ try:
|
|
1174 |
str_to_class(value.split(".")[-1]).register_for_auto_class(key)
|
1175 |
except:
|
1176 |
warn("AutoRegister isn't available, you'll have to manually copy modeling.py after .save_pretrained(...).")
|
1177 |
-
warn("Update to transformers >= 4.
|
|
|
1174 |
str_to_class(value.split(".")[-1]).register_for_auto_class(key)
|
1175 |
except:
|
1176 |
warn("AutoRegister isn't available, you'll have to manually copy modeling.py after .save_pretrained(...).")
|
1177 |
+
warn("Update to transformers >= 4.23.1 to fix.")
|