[doc] :class: hunt (#14955)

* [doc] :class: hunt

* Apply suggestions from code review

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>

* fix the fix + style

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
This commit is contained in:
Stas Bekman
2021-12-27 17:17:38 -08:00
committed by GitHub
parent 2c5597f6c7
commit 10fd4fa1a6
7 changed files with 11 additions and 13 deletions

View File

@@ -84,7 +84,7 @@ def _assert_tensors_equal(a, b, atol=1e-12, prefix=""):
def require_retrieval(test_case):
"""
Decorator marking a test that requires a set of dependencies necessary for pefrorm retrieval with
:class:`~transformers.RagRetriever`.
[`RagRetriever`].
These tests are skipped when respective libraries are not installed.