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/zh/internal/trainer_utils.md from AbdulElahGwaith/transformers: direct link, hf CLI and curl.
- Browser
- Download file 1.27 kB
-
https://huggingface.co/AbdulElahGwaith/transformers/resolve/main/docs/source/zh/internal/trainer_utils.md
- Command line
-
hf download hf://AbdulElahGwaith/transformers/docs/source/zh/internal/trainer_utils.md
-
curl -L -o trainer_utils.md https://huggingface.co/AbdulElahGwaith/transformers/resolve/main/docs/source/zh/internal/trainer_utils.md
1.27 kB
Trainer的工具
此页面列出了 [Trainer] 使用的所有实用函数。
其中大多数仅在您研究库中Trainer的代码时有用。
工具
[[autodoc]] EvalPrediction
[[autodoc]] IntervalStrategy
[[autodoc]] enable_full_determinism
[[autodoc]] set_seed
[[autodoc]] torch_distributed_zero_first
Callbacks内部机制
[[autodoc]] trainer_callback.CallbackHandler
Trainer参数解析
[[autodoc]] HfArgumentParser
Debug工具
[[autodoc]] debug_utils.DebugUnderflowOverflow