From aeeab1ffd06aaf9703494508752ab75448019c38 Mon Sep 17 00:00:00 2001 From: Sylvain Gugger <35901082+sgugger@users.noreply.github.com> Date: Mon, 18 Jul 2022 10:01:51 -0400 Subject: [PATCH] Fix template for new models in README (#18182) --- utils/check_copies.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/check_copies.py b/utils/check_copies.py index 5b39aecc21..e2e0e1a53e 100644 --- a/utils/check_copies.py +++ b/utils/check_copies.py @@ -495,8 +495,8 @@ MODELS_NOT_IN_README = [ 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 ." )