Instructions to use gpol13/codet5_sparse_lora_l1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use gpol13/codet5_sparse_lora_l1 with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("Salesforce/codet5-base") model = PeftModel.from_pretrained(base_model, "gpol13/codet5_sparse_lora_l1") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files- adapter_config.json +2 -2
adapter_config.json
CHANGED
|
@@ -23,8 +23,8 @@
|
|
| 23 |
"rank_pattern": {},
|
| 24 |
"revision": null,
|
| 25 |
"target_modules": [
|
| 26 |
-
"
|
| 27 |
-
"
|
| 28 |
],
|
| 29 |
"task_type": "SEQ_2_SEQ_LM",
|
| 30 |
"use_dora": false,
|
|
|
|
| 23 |
"rank_pattern": {},
|
| 24 |
"revision": null,
|
| 25 |
"target_modules": [
|
| 26 |
+
"q",
|
| 27 |
+
"v"
|
| 28 |
],
|
| 29 |
"task_type": "SEQ_2_SEQ_LM",
|
| 30 |
"use_dora": false,
|