Contents
Getting Started
Concepts
How-to Guides
- Prepare Data
- Indexed Datasets (Pretokenization)
- Tips and tricks for training
- Speed up training with token-based minibatches and gradient accumulation/maxibatching
- Use
decay_method: linear_warmupfor learning rate scheduling - Don’t rely on
max_grad_normto save you from too high learning rate - Recommended minimal model options
- Save storage by using transforms instead of external preprocessing
- Choosing Sequence Lengths
- Estimating GPU Memory
- Freezing Components
- Counting Parameters
- Exporting to Hugging Face
- Running a Translation Server
Reference
- HuggingFace Tokenizers
- Train
- Configuration
- Data/Tasks
- Vocab
- Transform/SwitchOut
- Transform/Token_Drop
- Transform/Token_Mask
- Transform/InferFeats
- Transform/Length filter
- Transform/Word ratio filter
- Transform/Repetitions filter
- Transform/Terminal punctuation filter
- Transform/Non-zero numerals filter
- Transform/Subword/Common
- Transform/Denoising AE
- Model- Embeddings
- Model- Encoder-Decoder
- Model- Attention
- Generator
- Attention bridge
- General
- Computation Environment
- Reproducibility
- Initialization
- Fine-grained Parameter Freezing
- Batching
- Logging
- Beam Search
- Random Sampling
- Penalties
- Decoding tricks
- Translate
- Configuration
- Data/Tasks
- Vocab
- Transform/SwitchOut
- Transform/Token_Drop
- Transform/Token_Mask
- Transform/InferFeats
- Transform/Length filter
- Transform/Word ratio filter
- Transform/Repetitions filter
- Transform/Terminal punctuation filter
- Transform/Non-zero numerals filter
- Transform/Subword/Common
- Transform/Denoising AE
- Model
- Data
- Beam Search
- Random Sampling
- Reproducibility
- Penalties
- Decoding tricks
- Logging
- Efficiency
- Serve
- Build vocab
- Export to HF
- Upload
- Download
- Changelog
- References