Instructions to use buelfhood/SOCO_Adapter_Java_LoRA_0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Adapters
How to use buelfhood/SOCO_Adapter_Java_LoRA_0 with Adapters:
from adapters import AutoAdapterModel model = AutoAdapterModel.from_pretrained("huggingface/CodeBERTa-small-v1") model.load_adapter("buelfhood/SOCO_Adapter_Java_LoRA_0", set_active=True) - Notebooks
- Google Colab
- Kaggle
Download adapter_config.json from buelfhood/SOCO_Adapter_Java_LoRA_0: direct link, hf CLI and curl.
- Browser
- Download file 534 Bytes
-
https://huggingface.co/buelfhood/SOCO_Adapter_Java_LoRA_0/resolve/main/adapter_config.json
- Command line
-
hf download hf://buelfhood/SOCO_Adapter_Java_LoRA_0/adapter_config.json
-
curl -L -o adapter_config.json https://huggingface.co/buelfhood/SOCO_Adapter_Java_LoRA_0/resolve/main/adapter_config.json
534 Bytes
| { | |
| "config": { | |
| "alpha": 8, | |
| "architecture": "lora", | |
| "attn_matrices": [ | |
| "q", | |
| "v" | |
| ], | |
| "composition_mode": "add", | |
| "dropout": 0.0, | |
| "init_weights": "lora", | |
| "intermediate_lora": false, | |
| "leave_out": [], | |
| "output_lora": false, | |
| "r": 8, | |
| "selfattn_lora": true, | |
| "use_gating": false | |
| }, | |
| "hidden_size": 768, | |
| "model_class": "RobertaAdapterModel", | |
| "model_name": "huggingface/CodeBERTa-small-v1", | |
| "model_type": "roberta", | |
| "name": "SOCO_Adapter_Java_LoRA", | |
| "version": "0.1.2" | |
| } |