Files
huggingface--transformers/docs/source/ko/internal/tokenization_utils.md
T
wehub-resource-sync e06fe8e8c6
Secret Leaks / trufflehog (push) Failing after 1s
Build documentation / build (push) Failing after 1s
Build documentation / build_other_lang (push) Failing after 0s
CodeQL Security Analysis / CodeQL Analysis (push) Failing after 0s
PR CI / pr-ci (push) Failing after 1s
Slow tests on important models (on Push - A10) / Get all modified files (push) Failing after 1s
Slow tests on important models (on Push - A10) / Model CI (push) Has been skipped
Self-hosted runner (benchmark) / Benchmark (aws-g5-4xlarge-cache) (push) Has been cancelled
New model PR merged notification / Notify new model (push) Has been cancelled
Update Transformers metadata / build_and_package (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 11:57:37 +08:00

1.6 KiB

토크나이저를 위한 유틸리티 utilities-for-tokenizers

이 페이지는 토크나이저에서 사용되는 모든 유틸리티 함수들을 나열하며, 주로 [PreTrainedTokenizer]와 [PreTrainedTokenizerFast] 사이의 공통 메소드를 구현하는 [~tokenization_utils_base.PreTrainedTokenizerBase] 클래스 을 다룹니다.

이 함수들 대부분은 라이브러리의 토크나이저 코드를 연구할 때만 유용합니다.

PreTrainedTokenizerBase transformers.PreTrainedTokenizerBase

autodoc tokenization_utils_base.PreTrainedTokenizerBase

  • call
  • all

Enums 및 namedtuples transformers.tokenization_utils_base.TruncationStrategy

autodoc tokenization_utils_base.TruncationStrategy

autodoc tokenization_utils_base.CharSpan

autodoc tokenization_utils_base.TokenSpan