Downloads · 30 days
6
5% of all-time downloads
ZK0622/v0.1mistral_lora_sft
v0.1mistral_lora_sft is a machine learning model from ZK0622. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as apache-2.0.
Mistral 7b finetuned via 2 stage fine tunning (DAPT & SFT) with Hierarchical Merging and PEFT method (LoRA) on legal documents for the purpose of Legal Docs Summarization
Downloads · 30 days
6
5% of all-time downloads
All-time downloads
123
Public
Repo size
1.3 GB
Likes
0
Public
Click a slice to open those files.
.pt1.2 GB · 83%
From the Hugging Face model README
Mistral 7b finetuned via 2 stage fine tunning (DAPT & SFT) with Hierarchical Merging and PEFT method (LoRA) on legal documents for the purpose of Legal Docs Summarization
Contact owner for training details.
[Only Data for SFT available "ZK0622/SFT"]
[TO-BE-UPDATED]
[TO-BE-UPDATED]
[TO-BE-UPDATED]
PERPLEXITY
| Model | Perplexity (Lower Better) |
|---|---|
| Mistral 7B Instruct v0.2 | 4.29 |
| AdaLoRA Mistral 7B | 3.73 |
| LoRA Mistral 7B | (This Model) 3.54 |
ROUGE
| Transformer Architecture | Model Name | Rouge-1 | Rouge-2 | Rouge-L | Rouge-L Sum |
|---|---|---|---|---|---|
| Encoder | Legal BERT | 0.374 | 0.185 | 0.218 | 0.218 |
| Encoder-Decoder | Legal LED | 0.306 | 0.113 | 0.169 | 0.169 |
| Encoder-Decoder | Legal T5 | 0.268 | 0.084 | 0.167 | 0.167 |
| Decoder | Mistral 7B Base | 0.440 | 0.195 | 0.269 | 0.273 |
| Decoder | AdaLoRA Mistral 7B | 0.506 | 0.294 | 0.350 | 0.351 |
| Decoder (This Model) | LoRA Mistral 7B | 0.564 | 0.376 | 0.437 | 0.437 |
| Transformer Architecture | Model Name | Precision | Recall | BERT-F1 |
|---|---|---|---|---|
| Encoder | Legal BERT | 0.800 | 0.857 | 0.827 |
| Encoder-Decoder | Legal LED | 0.798 | 0.845 | 0.821 |
| Encoder-Decoder | Legal T5 | 0.674 | 0.820 | 0.739 |
| Decoder | Mistral 7B Base | 0.852 | 0.866 | 0.858 |
| Decoder | AdaLoRA Mistral 7B | 0.874 | 0.884 | 0.878 |
| Decoder (This Model) | LoRA Mistral 7B | 0.908 | 0.890 | 0.898 |