Instructions to use Ushitha/ushitha-coder-network-corrector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Ushitha/ushitha-coder-network-corrector with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-7B-Instruct") model = PeftModel.from_pretrained(base_model, "Ushitha/ushitha-coder-network-corrector") - Notebooks
- Google Colab
- Kaggle
Upload model
Browse files- adapter_config.json +19 -5
- adapter_model.safetensors +2 -2
adapter_config.json
CHANGED
|
@@ -1,8 +1,14 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"alpha_pattern": {},
|
|
|
|
| 3 |
"auto_mapping": null,
|
| 4 |
-
"base_model_name_or_path": "Qwen/Qwen2.5-
|
| 5 |
"bias": "none",
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
"fan_in_fan_out": false,
|
| 7 |
"inference_mode": true,
|
| 8 |
"init_lora_weights": true,
|
|
@@ -11,24 +17,32 @@
|
|
| 11 |
"layers_to_transform": null,
|
| 12 |
"loftq_config": {},
|
| 13 |
"lora_alpha": 32,
|
|
|
|
| 14 |
"lora_dropout": 0.05,
|
|
|
|
| 15 |
"megatron_config": null,
|
| 16 |
"megatron_core": "megatron.core",
|
| 17 |
"modules_to_save": null,
|
| 18 |
"peft_type": "LORA",
|
|
|
|
|
|
|
| 19 |
"r": 16,
|
| 20 |
"rank_pattern": {},
|
| 21 |
"revision": null,
|
| 22 |
"target_modules": [
|
| 23 |
-
"down_proj",
|
| 24 |
"v_proj",
|
| 25 |
-
"up_proj",
|
| 26 |
-
"q_proj",
|
| 27 |
"k_proj",
|
|
|
|
| 28 |
"o_proj",
|
| 29 |
-
"gate_proj"
|
|
|
|
|
|
|
| 30 |
],
|
|
|
|
| 31 |
"task_type": "CAUSAL_LM",
|
|
|
|
|
|
|
| 32 |
"use_dora": false,
|
|
|
|
| 33 |
"use_rslora": false
|
| 34 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "Qwen/Qwen2.5-7B-Instruct",
|
| 7 |
"bias": "none",
|
| 8 |
+
"corda_config": null,
|
| 9 |
+
"ensure_weight_tying": false,
|
| 10 |
+
"eva_config": null,
|
| 11 |
+
"exclude_modules": null,
|
| 12 |
"fan_in_fan_out": false,
|
| 13 |
"inference_mode": true,
|
| 14 |
"init_lora_weights": true,
|
|
|
|
| 17 |
"layers_to_transform": null,
|
| 18 |
"loftq_config": {},
|
| 19 |
"lora_alpha": 32,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
"lora_dropout": 0.05,
|
| 22 |
+
"lora_ga_config": null,
|
| 23 |
"megatron_config": null,
|
| 24 |
"megatron_core": "megatron.core",
|
| 25 |
"modules_to_save": null,
|
| 26 |
"peft_type": "LORA",
|
| 27 |
+
"peft_version": "0.19.1",
|
| 28 |
+
"qalora_group_size": 16,
|
| 29 |
"r": 16,
|
| 30 |
"rank_pattern": {},
|
| 31 |
"revision": null,
|
| 32 |
"target_modules": [
|
|
|
|
| 33 |
"v_proj",
|
|
|
|
|
|
|
| 34 |
"k_proj",
|
| 35 |
+
"down_proj",
|
| 36 |
"o_proj",
|
| 37 |
+
"gate_proj",
|
| 38 |
+
"up_proj",
|
| 39 |
+
"q_proj"
|
| 40 |
],
|
| 41 |
+
"target_parameters": null,
|
| 42 |
"task_type": "CAUSAL_LM",
|
| 43 |
+
"trainable_token_indices": null,
|
| 44 |
+
"use_bdlora": null,
|
| 45 |
"use_dora": false,
|
| 46 |
+
"use_qalora": false,
|
| 47 |
"use_rslora": false
|
| 48 |
}
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fde7bd011ea2db8ba237544aade343d022d94462759b8ee84ba37fad098df654
|
| 3 |
+
size 80792880
|