Upload LoRA adapter
Browse files- README.md +24 -0
- adapter_config.json +32 -0
- adapter_model.safetensors +3 -0
README.md
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: meta-llama/Llama-3.2-1B-Instruct
|
3 |
+
tags:
|
4 |
+
- peft
|
5 |
+
- lora
|
6 |
+
- federated-learning
|
7 |
+
- flower
|
8 |
+
---
|
9 |
+
|
10 |
+
# FlowerTune LoRA Model
|
11 |
+
|
12 |
+
This is a LoRA adapter for meta-llama/Llama-3.2-1B-Instruct fine-tuned with Flower federated learning framework on a general NLP dataset.
|
13 |
+
|
14 |
+
## Training Details
|
15 |
+
|
16 |
+
- Dataset: vicgalle/alpaca-gpt4
|
17 |
+
- Training method: Federated LoRA fine-tuning with FlowerTune
|
18 |
+
- Framework: Flower
|
19 |
+
|
20 |
+
This model is a LoRA adapter fine-tuned on meta-llama/Llama-3.2-1B-Instruct using the Flower federated learning framework. It was trained on a general NLP dataset (vicgalle/alpaca-gpt4) through distributed learning to improve performance.
|
21 |
+
|
22 |
+
## Links
|
23 |
+
- FlowerTune Homepage: [https://huggingface.co/zjudai/FlowerTune](https://huggingface.co/zjudai/FlowerTune)
|
24 |
+
- FlowerTune Collection: [https://huggingface.co/collections/tao-shen/flowertune-lora-collection-67ecc79a0d37308e109ebeb1](https://huggingface.co/collections/tao-shen/flowertune-lora-collection-67ecc79a0d37308e109ebeb1)
|
adapter_config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "meta-llama/Llama-3.2-1B-Instruct",
|
5 |
+
"bias": "none",
|
6 |
+
"eva_config": null,
|
7 |
+
"exclude_modules": null,
|
8 |
+
"fan_in_fan_out": false,
|
9 |
+
"inference_mode": true,
|
10 |
+
"init_lora_weights": true,
|
11 |
+
"layer_replication": null,
|
12 |
+
"layers_pattern": null,
|
13 |
+
"layers_to_transform": null,
|
14 |
+
"loftq_config": {},
|
15 |
+
"lora_alpha": 64,
|
16 |
+
"lora_bias": false,
|
17 |
+
"lora_dropout": 0.075,
|
18 |
+
"megatron_config": null,
|
19 |
+
"megatron_core": "megatron.core",
|
20 |
+
"modules_to_save": null,
|
21 |
+
"peft_type": "LORA",
|
22 |
+
"r": 32,
|
23 |
+
"rank_pattern": {},
|
24 |
+
"revision": null,
|
25 |
+
"target_modules": [
|
26 |
+
"q_proj",
|
27 |
+
"v_proj"
|
28 |
+
],
|
29 |
+
"task_type": "CAUSAL_LM",
|
30 |
+
"use_dora": false,
|
31 |
+
"use_rslora": false
|
32 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d08ec40936bf9c2a9642dd85ac226c8d86267cd83b98b680b9b127199d9cab3a
|
3 |
+
size 13640008
|