transformers
6a92ebdd - Model patching API (#43917)

Commit
16 hours ago
Model patching API (#43917) * patching api * remove * simpler * add extra weight conversions * use a pather class instead of a config for better extensibility * docs * library wide monkey patching * remove * Update docs/source/en/monkey_patching.md Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com> * address comments * add thread safety and validation * fix imports in docstrings * add api tests * full docs * last bit of docs * update * pattern matching * warning and better pattern matching examples * use llama for the docs examples * renamed to monkey_patching and removed redundancy --------- Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
Parents
Loading