adapters2.1.0
版本发布时间: 2021-07-08 22:20:36
adapter-hub/adapters最新发布版本:v1.0.0(2024-08-10 23:47:41)
Based on transformers v4.8.2
New
Integration into HuggingFace's Model Hub
- Add support for loading adapters from HuggingFace Model Hub (@calpt via #162)
- Add method to push adapters to HuggingFace Model Hub (@calpt via #197)
- Learn more
BatchSplit
adapter composition
-
BatchSplit
composition block for adapters and heads (@hSterz via #177) - Learn more
Various new features
- Add automatic conversion of static heads when loaded via XModelWithHeads (@calpt via #181) Learn more
- Add
list_adapters()
method to search for adapters (@calpt via #193) Learn more - Add delete_adapter(), delete_adapter_fusion() and delete_head() methods (@calpt via #189)
- MAD-X 2.0 WikiAnn NER notebook (@hSterz via #187)
- Upgrade of underlying transformers version (@hSterz via #183, @calpt via #194 & #200)
Changed
- Deprecate add_fusion() and train_fusion() in favor of add_adapter_fusion() and train_adapter_fusion() (@calpt via #190)
Fixed
- Suppress no-adapter warning when adapter_names is given (@calpt via #186)
-
leave_out
inload_adapter()
when loading language adapters from Hub (@hSterz via #177)