Skip to content

NameTag 3.2.0

Choose a tag to compare

@strakova strakova released this 23 Jun 09:21
· 41 commits to main since this release

This release focuses on making it easier to train larger models with more parameters:

  • LoRA (Low-Rank Adaptation): Parameter-efficient fine-tuning that reduces the number of trainable parameters, making it feasible to adapt large transformer backbones with less memory.
  • Gradient accumulation: Train with large effective batch sizes that wouldn't otherwise fit in GPU memory, by accumulating gradients across multiple smaller steps.
  • Configurable transformer weights dtype: Reduce the memory footprint of large models by controlling the precision of transformer weights.
  • GPU memory tracking: Built-in memory debugging to diagnose and tune memory usage when scaling up.
  • Early stopping best-weights storage device: Offload best-weights checkpoints (e.g., to CPU) to free GPU memory during training, with a new auto default for --best_weights_device.
  • User-requested max tokenizer length: Override the Hugging Face max model length to better fit your data and memory budget, plus automatic resolution of the HF tokenizer max length when undeclared.