"vscode:/vscode.git/clone" did not exist on "f93509b114efdfb371683d4abb32a296510a1a15"
Unverified Commit 835b0a05 authored by Sanchit Gandhi's avatar Sanchit Gandhi Committed by GitHub
Browse files

[Check] Fix config docstring (#26222)

parent e5f7e03b
......@@ -16,7 +16,6 @@
import inspect
import re
from transformers import CTRLConfig
from transformers.utils import direct_transformers_import
......@@ -74,9 +73,7 @@ def get_checkpoint_from_config_class(config_class):
def check_config_docstrings_have_checkpoints():
configs_without_checkpoint = []
a = [CTRLConfig]
for config_class in a:
for config_class in list(CONFIG_MAPPING.values()):
# Skip deprecated models
if "models.deprecated" in config_class.__module__:
continue
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment