diff --git a/utils/check_copies.py b/utils/check_copies.py index 5b39aecc21fe..e2e0e1a53e43 100644 --- a/utils/check_copies.py +++ b/utils/check_copies.py @@ -495,8 +495,8 @@ def check_model_list_copy(overwrite=False, max_per_line=119): README_TEMPLATE = ( - "1. **[{model_name}](https://huggingface.co/docs/transformers/model_doc/{model_type})** (from ) " - "released with the paper []() by ." + "1. **[{model_name}](https://huggingface.co/docs/main/transformers/model_doc/{model_type})** (from " + ") released with the paper []() by ." )