Instructions to use AbdulElahGwaith/transformers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AbdulElahGwaith/transformers with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("AbdulElahGwaith/transformers", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download docs/source/ja/internal/tokenization_utils.md from AbdulElahGwaith/transformers: direct link, hf CLI and curl.
- Browser
- Download file 1.55 kB
-
https://huggingface.co/AbdulElahGwaith/transformers/resolve/main/docs/source/ja/internal/tokenization_utils.md
- Command line
-
hf download hf://AbdulElahGwaith/transformers/docs/source/ja/internal/tokenization_utils.md
-
curl -L -o tokenization_utils.md https://huggingface.co/AbdulElahGwaith/transformers/resolve/main/docs/source/ja/internal/tokenization_utils.md
1.55 kB
Utilities for Tokenizers
このページには、トークナイザーによって使用されるすべてのユーティリティ関数 (主にクラス) がリストされます。
[~tokenization_utils_base.PreTrainedTokenizerBase] 間の共通メソッドを実装します。
[PreTrainedTokenizer] と [PreTrainedTokenizerFast] およびミックスイン。
これらのほとんどは、ライブラリ内のトークナイザーのコードを学習する場合にのみ役に立ちます。
PreTrainedTokenizerBase
[[autodoc]] tokenization_utils_base.PreTrainedTokenizerBase - call - all
Enums and namedtuples
[[autodoc]] tokenization_utils_base.TruncationStrategy
[[autodoc]] tokenization_utils_base.CharSpan
[[autodoc]] tokenization_utils_base.TokenSpan