Skip to content

v2.2.0

Compare
Choose a tag to compare
@calpt calpt released this 14 Oct 10:11

Based on transformers v4.11.3

New

Model support

Prediction heads

  • AutoModelWithHeads prediction heads for language modeling (@calpt via #210)
  • AutoModelWithHeads prediction head & training example for dependency parsing (@calpt via #208)

Training

Misc

  • Add get_adapter_info() method (@calpt via #220)
  • Add set_active argument to add & load adapter/fusion/head methods (@calpt via #214)
  • Minor improvements for adapter card creation for HF Hub upload (@calpt via #225)

Changed

  • Upgrade of underlying transformers version (@calpt via #232, #234, #239 )
  • Allow multiple AdapterFusion configs per model; remove set_adapter_fusion_config() (@calpt via #216)

Fixed

  • Incorrect referencing between adapter layer and layer norm for DataParallel (@calpt via #228)