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 details)
Built Distribution
File details
Details for the file torch_adapters-0.0.5.tar.gz
.
File metadata
- Download URL: torch_adapters-0.0.5.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.11.2 Linux/6.2.0-20-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1846027cda90a36dfc75260f438cd953becccabd5bdfebe618c364f243ce3ff2 |
|
MD5 | 5a53df9ef15e411c25a6b047bfc1ffa2 |
|
BLAKE2b-256 | 689fb1c69a66dad9bb2655a0329a124a387a0ce005bca693768bcb96a8712368 |
File details
Details for the file torch_adapters-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: torch_adapters-0.0.5-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.11.2 Linux/6.2.0-20-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 346e5aa9ef5502272eb44ea55f18cad8e65e36f124b12a61f289902d507c386a |
|
MD5 | 851d1b2b232f2b691f6ce730737e1ccc |
|
BLAKE2b-256 | 8f7e500093a78e567e20ac0cdcf860c92f0f2db340917ac02b5272528beae33f |