Upload folder using huggingface_hub
Browse files- README.md +25 -0
- adapter_config.json +31 -0
- adapter_model.safetensors +3 -0
README.md
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model:
|
3 |
+
- Qwen/Qwen3-4B
|
4 |
+
- mlabonne/Qwen3-4B-abliterated
|
5 |
+
library_name: peft
|
6 |
+
tags:
|
7 |
+
- mergekit
|
8 |
+
- peft
|
9 |
+
|
10 |
+
---
|
11 |
+
# output_path
|
12 |
+
|
13 |
+
This is a LoRA extracted from a language model. It was extracted using [mergekit](https://github.com/arcee-ai/mergekit).
|
14 |
+
|
15 |
+
## LoRA Details
|
16 |
+
|
17 |
+
This LoRA adapter was extracted from [mlabonne/Qwen3-4B-abliterated](https://huggingface.co/mlabonne/Qwen3-4B-abliterated) and uses [Qwen/Qwen3-4B](https://huggingface.co/Qwen/Qwen3-4B) as a base.
|
18 |
+
|
19 |
+
### Parameters
|
20 |
+
|
21 |
+
The following command was used to extract this LoRA adapter:
|
22 |
+
|
23 |
+
```sh
|
24 |
+
/usr/local/bin/mergekit-extract-lora --model mlabonne/Qwen3-4B-abliterated --base-model Qwen/Qwen3-4B --out-path output_path --no-lazy-unpickle --max-rank=64
|
25 |
+
```
|
adapter_config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"base_model_name_or_path": "Qwen/Qwen3-4B",
|
3 |
+
"peft_type": "LORA",
|
4 |
+
"use_rslora": false,
|
5 |
+
"target_modules": [
|
6 |
+
"o_proj",
|
7 |
+
"v_proj",
|
8 |
+
"k_proj",
|
9 |
+
"down_proj",
|
10 |
+
"gate_proj",
|
11 |
+
"q_proj",
|
12 |
+
"up_proj"
|
13 |
+
],
|
14 |
+
"modules_to_save": [
|
15 |
+
"embed_tokens",
|
16 |
+
"q_norm",
|
17 |
+
"k_norm",
|
18 |
+
"input_layernorm",
|
19 |
+
"post_attention_layernorm",
|
20 |
+
"norm",
|
21 |
+
"lm_head"
|
22 |
+
],
|
23 |
+
"task_type": "CAUSAL_LM",
|
24 |
+
"r": 64,
|
25 |
+
"lora_alpha": 64,
|
26 |
+
"rank_pattern": {},
|
27 |
+
"alpha_pattern": {},
|
28 |
+
"lora_dropout": 0.0,
|
29 |
+
"fan_in_fan_out": false,
|
30 |
+
"inference_mode": true
|
31 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2338be8ce964f42876d295cbd10bd37c9e78dad5c85f602ef5a903d9aab56bb8
|
3 |
+
size 3641004184
|