From 543df489147412efb20575c3c2a3fb69a18ac107 Mon Sep 17 00:00:00 2001 From: Sai-Suraj-27 Date: Wed, 7 Aug 2024 23:31:33 +0530 Subject: [PATCH] =?UTF-8?q?Docs:=20Fixed=20WhisperModel.forward=E2=80=99s?= =?UTF-8?q?=20docstring=20link=20(#32498)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixed WhisperModel.forward’s docstring link. --- docs/source/en/testing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/en/testing.md b/docs/source/en/testing.md index 606cde849f..701d722013 100644 --- a/docs/source/en/testing.md +++ b/docs/source/en/testing.md @@ -191,7 +191,7 @@ RUN_SLOW=1 pytest -m accelerate_tests tests/models/opt/test_modeling_opt.py ### Run documentation tests In order to test whether the documentation examples are correct, you should check that the `doctests` are passing. -As an example, let's use [`WhisperModel.forward`'s docstring](https://github.com/huggingface/transformers/blob/main/src/transformers/models/whisper/modeling_whisper.py#L1017-L1035): +As an example, let's use [`WhisperModel.forward`'s docstring](https://github.com/huggingface/transformers/blob/1124d95dbb1a3512d3e80791d73d0f541d1d7e9f/src/transformers/models/whisper/modeling_whisper.py#L1591-L1609) ```python r"""