Buckets:
일반 유틸리티 (General Utilities) [[general-utilities]]
이 페이지는 utils.py 파일에 있는 Transformers의 일반 유틸리티 함수들을 나열합니다.
이 함수들 대부분은 라이브러리의 일반적인 코드를 연구할 때만 유용합니다.
Enums 및 namedtuples [[transformers.utils.ExplicitEnum]][[transformers.utils.ExplicitEnum]]
transformers.utils.ExplicitEnum[[transformers.utils.ExplicitEnum]]
Enum with more explicit error message for missing values.
transformers.utils.PaddingStrategy[[transformers.utils.PaddingStrategy]]
Possible values for the padding argument in PreTrainedTokenizerBase.call(). Useful for tab-completion in an
IDE.
transformers.TensorType[[transformers.TensorType]]
Possible values for the return_tensors argument in PreTrainedTokenizerBase.call(). Useful for
tab-completion in an IDE.
특수 데코레이터 (Special Decorators) [[transformers.add_start_docstrings]][[transformers.add_start_docstrings]]
transformers.add_start_docstrings[[transformers.add_start_docstrings]]
transformers.utils.add_start_docstrings_to_model_forward[[transformers.utils.add_start_docstrings_to_model_forward]]
transformers.add_end_docstrings[[transformers.add_end_docstrings]]
transformers.utils.add_code_sample_docstrings[[transformers.utils.add_code_sample_docstrings]]
transformers.utils.replace_return_docstrings[[transformers.utils.replace_return_docstrings]]
기타 유틸리티 [[transformers.utils._LazyModule]][[transformers.utils._LazyModule]]
transformers.utils._LazyModule[[transformers.utils._LazyModule]]
Module class that surfaces all objects but only performs associated imports when the objects are requested.
Xet Storage Details
- Size:
- 2.89 kB
- Xet hash:
- 8e5fdf0f9bc5f06510bb8cbd5c2c260d32b4ed6923d7ae49a0251c7f2ec92e19
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.