tao-shen commited on
Commit
8213334
·
verified ·
1 Parent(s): 25cb2e1

Upload LoRA adapter for finance domain

Browse files
Files changed (3) hide show
  1. README.md +28 -0
  2. adapter_config.json +32 -0
  3. adapter_model.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: mistralai/Mistral-7B-Instruct-v0.3
3
+ tags:
4
+ - peft
5
+ - lora
6
+ - federated-learning
7
+ - flower
8
+ - finance
9
+ ---
10
+
11
+ # FlowerTune Finance LoRA Model
12
+
13
+ This is a LoRA adapter for mistralai/Mistral-7B-Instruct-v0.3 fine-tuned with Flower federated learning framework on finance NLP datasets.
14
+
15
+ ## Model Performance
16
+ - Accuracy: 0.5863
17
+ - F1 Score: 0.6711
18
+
19
+ ## Training Details
20
+ - Domain: Finance
21
+ - Training method: Federated LoRA fine-tuning with FlowerTune
22
+ - Framework: Flower
23
+
24
+ This model is a LoRA adapter fine-tuned on mistralai/Mistral-7B-Instruct-v0.3 using the Flower federated learning framework. It was trained on finance NLP datasets through distributed learning. The model achieved an accuracy of 0.5863 and an F1 score of 0.6711.
25
+
26
+ ## Links
27
+ - FlowerTune Homepage: [https://huggingface.co/zjudai/FlowerTune](https://huggingface.co/zjudai/FlowerTune)
28
+ - FlowerTune Collection: [https://huggingface.co/collections/zjudai/flowertune-lora-collection-67ecd5d0dae6145cbf798439](https://huggingface.co/collections/zjudai/flowertune-lora-collection-67ecd5d0dae6145cbf798439)
adapter_config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "mistralai/Mistral-7B-Instruct-v0.3",
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
+ "v_proj",
27
+ "q_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:a4805463488ff61b4b9da9e676af337bd5e5cfa22f8be8fda75870566a62e698
3
+ size 54543184