readme + version
Browse files- README.md +1 -1
- modeling_lsg_bart.py +1 -1
README.md
CHANGED
|
@@ -9,7 +9,7 @@ pipeline_tag: fill-mask
|
|
| 9 |
---
|
| 10 |
|
| 11 |
# LSG model
|
| 12 |
-
**Transformers >= 4.
|
| 13 |
**This model relies on a custom modeling file, you need to add trust_remote_code=True**\
|
| 14 |
**See [\#13467](https://github.com/huggingface/transformers/pull/13467)**
|
| 15 |
|
|
|
|
| 9 |
---
|
| 10 |
|
| 11 |
# LSG model
|
| 12 |
+
**Transformers >= 4.23.1**\
|
| 13 |
**This model relies on a custom modeling file, you need to add trust_remote_code=True**\
|
| 14 |
**See [\#13467](https://github.com/huggingface/transformers/pull/13467)**
|
| 15 |
|
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.
|
|
|
|
| 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.")
|