Instructions to use calpt/random_adapter_setup_test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Adapters
How to use calpt/random_adapter_setup_test with Adapters:
from adapters import AutoAdapterModel model = AutoAdapterModel.from_pretrained("undefined") model.load_adapter("calpt/random_adapter_setup_test", set_active=True) - Notebooks
- Google Colab
- Kaggle
| { | |
| "adapter_setup": { | |
| "type": "Stack", | |
| "children": [ | |
| { | |
| "type": "Fuse", | |
| "children": [ | |
| { | |
| "type": "single", | |
| "children": [ | |
| "a" | |
| ] | |
| }, | |
| { | |
| "type": "single", | |
| "children": [ | |
| "b" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "type": "single", | |
| "children": [ | |
| "c" | |
| ] | |
| } | |
| ] | |
| }, | |
| "head_setup": { | |
| "type": "BatchSplit", | |
| "children": [ | |
| { | |
| "type": "single", | |
| "children": [ | |
| "head_a" | |
| ] | |
| }, | |
| { | |
| "type": "single", | |
| "children": [ | |
| "head_b" | |
| ] | |
| } | |
| ], | |
| "kwargs": { | |
| "batch_sizes": [ | |
| 1, | |
| 1 | |
| ] | |
| } | |
| }, | |
| "version": "adapters.1.0.1" | |
| } |