moved ctrl to Salesforce/ctrl (#26183)
* moved `ctrl` to `Salesforce/ctrl` redirects should theoretically work, but still updating those repo references for clarity * Fixup * Slow doc tests * Add modeling file --------- Co-authored-by: Lysandre <lysandre@huggingface.co>
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
import inspect
|
||||
import re
|
||||
|
||||
from transformers import CTRLConfig
|
||||
from transformers.utils import direct_transformers_import
|
||||
|
||||
|
||||
@@ -73,7 +74,9 @@ def get_checkpoint_from_config_class(config_class):
|
||||
def check_config_docstrings_have_checkpoints():
|
||||
configs_without_checkpoint = []
|
||||
|
||||
for config_class in list(CONFIG_MAPPING.values()):
|
||||
a = [CTRLConfig]
|
||||
|
||||
for config_class in a:
|
||||
# Skip deprecated models
|
||||
if "models.deprecated" in config_class.__module__:
|
||||
continue
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
docs/source/en/generation_strategies.md
|
||||
docs/source/en/model_doc/ctrl.md
|
||||
docs/source/en/task_summary.md
|
||||
src/transformers/models/ctrl/modeling_ctrl.py
|
||||
|
||||
Reference in New Issue
Block a user