Small Library of Torch Adaptation modules
Project description
Torch Adapters
"During a gold rush, sell shovels."
Introduction
Small Library of Torch Adaptation modules
Supported Methods
- LoRA
- Prompt Tuning
- Bottleneck Adapter
Installation
You can install torch-adapters using:
$ pip install torch-adapters
Usage
$ add_lora(model, ["key", "value"], {"alpha": 8, "r": 8})
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
torch_adapters-0.0.5.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for torch_adapters-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 346e5aa9ef5502272eb44ea55f18cad8e65e36f124b12a61f289902d507c386a |
|
MD5 | 851d1b2b232f2b691f6ce730737e1ccc |
|
BLAKE2b-256 | 8f7e500093a78e567e20ac0cdcf860c92f0f2db340917ac02b5272528beae33f |