document_id stringclasses 3
values | document_text stringclasses 3
values | document_filename stringclasses 3
values | document_metadata dict |
|---|---|---|---|
ccffee07-c904-422a-ad96-c6915f31c4fb | Transformers documentation
Trainer
# Trainer
Trainer is a complete training and evaluation loop for Transformers’ PyTorch models. Plug a model, preprocessor, dataset, and training arguments into Trainer and let it handle the rest to start training faster.
Trainer is also powered by Accelerate, a library for handlin... | trainer.md | {
"file_size": 15439
} |
9650b9ed-102a-469e-bfda-d0e4c0872cff | Transformers documentation
Optimizers
# Optimizers
Transformers offers two native optimizers, AdamW and AdaFactor. It also provides integrations for more specialized optimizers. Install the library that offers the optimizer and drop it in the `optim`
parameter in TrainingArguments.
This guide will show you how to ... | optimizers.md | {
"file_size": 5413
} |
f9fe1163-2e59-4840-9d69-d7eab429083a | Transformers documentation
Fine-tuning
# Fine-tuning
Fine-tuning adapts a pretrained model to a specific task with a smaller specialized dataset. This approach requires far less data and compute compared to training a model from scratch, which makes it a more accessible option for many users.
Transformers provides ... | ft.md | {
"file_size": 6987
} |
README.md exists but content is empty.
- Downloads last month
- 3