Upload folder using huggingface_hub
Browse files- README.md +25 -0
- adapter_config.json +35 -0
- adapter_model.safetensors +3 -0
README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model:
|
| 3 |
+
- microsoft/phi-4
|
| 4 |
+
- huihui-ai/phi-4-abliterated
|
| 5 |
+
library_name: transformers
|
| 6 |
+
tags:
|
| 7 |
+
- mergekit
|
| 8 |
+
- peft
|
| 9 |
+
|
| 10 |
+
---
|
| 11 |
+
# Untitled LoRA Model (1)
|
| 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 [huihui-ai/phi-4-abliterated](https://huggingface.co/huihui-ai/phi-4-abliterated) and uses [microsoft/phi-4](https://huggingface.co/microsoft/phi-4) as a base.
|
| 18 |
+
|
| 19 |
+
### Parameters
|
| 20 |
+
|
| 21 |
+
The following command was used to extract this LoRA adapter:
|
| 22 |
+
|
| 23 |
+
```sh
|
| 24 |
+
mergekit-extract-lora huihui-ai/phi-4-abliterated microsoft/phi-4 OUTPUT_PATH --rank=32 --device=cuda
|
| 25 |
+
```
|
adapter_config.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "microsoft/phi-4",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"fan_in_fan_out": false,
|
| 7 |
+
"inference_mode": true,
|
| 8 |
+
"init_lora_weights": true,
|
| 9 |
+
"layers_pattern": null,
|
| 10 |
+
"layers_to_transform": null,
|
| 11 |
+
"loftq_config": {},
|
| 12 |
+
"lora_alpha": 32,
|
| 13 |
+
"lora_dropout": 0,
|
| 14 |
+
"megatron_config": null,
|
| 15 |
+
"megatron_core": "megatron.core",
|
| 16 |
+
"modules_to_save": [
|
| 17 |
+
"norm",
|
| 18 |
+
"post_attention_layernorm",
|
| 19 |
+
"input_layernorm"
|
| 20 |
+
],
|
| 21 |
+
"peft_type": "LORA",
|
| 22 |
+
"r": 32,
|
| 23 |
+
"rank_pattern": {},
|
| 24 |
+
"revision": null,
|
| 25 |
+
"target_modules": [
|
| 26 |
+
"gate_up_proj",
|
| 27 |
+
"lm_head",
|
| 28 |
+
"o_proj",
|
| 29 |
+
"embed_tokens",
|
| 30 |
+
"qkv_proj",
|
| 31 |
+
"down_proj"
|
| 32 |
+
],
|
| 33 |
+
"task_type": "CAUSAL_LM",
|
| 34 |
+
"use_rslora": false
|
| 35 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:33db2acd30bf8662ff7feca9bf47db2c7e5d468d59ae9fea8d700093b9f387f4
|
| 3 |
+
size 237207112
|