Commit
·
f89502f
1
Parent(s):
35b83af
End of training
Browse files- README.md +57 -0
- adapter_config.json +25 -0
- adapter_model.safetensors +3 -0
- runs/Nov23_08-32-54_53850789484a/events.out.tfevents.1700728379.53850789484a.6416.1 +3 -0
- runs/Nov23_08-34-33_53850789484a/events.out.tfevents.1700728480.53850789484a.11003.0 +3 -0
- runs/Nov23_08-53-27_53850789484a/events.out.tfevents.1700729639.53850789484a.16815.0 +3 -0
- runs/Nov23_08-55-47_53850789484a/events.out.tfevents.1700729751.53850789484a.16815.1 +3 -0
- runs/Nov23_08-57-25_53850789484a/events.out.tfevents.1700729852.53850789484a.16815.2 +3 -0
- runs/Nov23_08-58-28_53850789484a/events.out.tfevents.1700729911.53850789484a.16815.3 +3 -0
- runs/Nov23_08-59-22_53850789484a/events.out.tfevents.1700729965.53850789484a.16815.4 +3 -0
- runs/Nov23_09-01-01_53850789484a/events.out.tfevents.1700730062.53850789484a.19130.0 +3 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: mistralai/Mistral-7B-Instruct-v0.1
|
| 4 |
+
tags:
|
| 5 |
+
- generated_from_trainer
|
| 6 |
+
model-index:
|
| 7 |
+
- name: legal-mistral-v0.1
|
| 8 |
+
results: []
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 12 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 13 |
+
|
| 14 |
+
# legal-mistral-v0.1
|
| 15 |
+
|
| 16 |
+
This model is a fine-tuned version of [mistralai/Mistral-7B-Instruct-v0.1](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.1) on the None dataset.
|
| 17 |
+
It achieves the following results on the evaluation set:
|
| 18 |
+
- Loss: 2.8913
|
| 19 |
+
|
| 20 |
+
## Model description
|
| 21 |
+
|
| 22 |
+
More information needed
|
| 23 |
+
|
| 24 |
+
## Intended uses & limitations
|
| 25 |
+
|
| 26 |
+
More information needed
|
| 27 |
+
|
| 28 |
+
## Training and evaluation data
|
| 29 |
+
|
| 30 |
+
More information needed
|
| 31 |
+
|
| 32 |
+
## Training procedure
|
| 33 |
+
|
| 34 |
+
### Training hyperparameters
|
| 35 |
+
|
| 36 |
+
The following hyperparameters were used during training:
|
| 37 |
+
- learning_rate: 2e-05
|
| 38 |
+
- train_batch_size: 80
|
| 39 |
+
- eval_batch_size: 8
|
| 40 |
+
- seed: 42
|
| 41 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 42 |
+
- lr_scheduler_type: linear
|
| 43 |
+
- num_epochs: 1
|
| 44 |
+
|
| 45 |
+
### Training results
|
| 46 |
+
|
| 47 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
| 48 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
| 49 |
+
| 2.6658 | 1.0 | 60 | 2.8913 |
|
| 50 |
+
|
| 51 |
+
|
| 52 |
+
### Framework versions
|
| 53 |
+
|
| 54 |
+
- Transformers 4.35.2
|
| 55 |
+
- Pytorch 2.1.0+cu118
|
| 56 |
+
- Datasets 2.15.0
|
| 57 |
+
- Tokenizers 0.15.0
|
adapter_config.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "mistralai/Mistral-7B-Instruct-v0.1",
|
| 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 |
+
"lora_alpha": 32,
|
| 12 |
+
"lora_dropout": 0.05,
|
| 13 |
+
"modules_to_save": null,
|
| 14 |
+
"peft_type": "LORA",
|
| 15 |
+
"r": 8,
|
| 16 |
+
"rank_pattern": {},
|
| 17 |
+
"revision": null,
|
| 18 |
+
"target_modules": [
|
| 19 |
+
"k_proj",
|
| 20 |
+
"v_proj",
|
| 21 |
+
"q_proj",
|
| 22 |
+
"o_proj"
|
| 23 |
+
],
|
| 24 |
+
"task_type": "CAUSAL_LM"
|
| 25 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:815ccb1ea1421334dfd279256070f1a9335bcefc6b46a948074095a698d82b14
|
| 3 |
+
size 27297032
|
runs/Nov23_08-32-54_53850789484a/events.out.tfevents.1700728379.53850789484a.6416.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d384503cfd69f11e4ace8eef82b603856aa6d31b62d62e456784afb3a0ac778b
|
| 3 |
+
size 4184
|
runs/Nov23_08-34-33_53850789484a/events.out.tfevents.1700728480.53850789484a.11003.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:385459bfe0411c7c8d85f6055216a1cdea86c44269328c6c9b737213718420a0
|
| 3 |
+
size 4184
|
runs/Nov23_08-53-27_53850789484a/events.out.tfevents.1700729639.53850789484a.16815.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9a4eefa40b6c65d35d266c9bc58dbc721b6d273cf2761a3635f6dc93055f4c80
|
| 3 |
+
size 4665
|
runs/Nov23_08-55-47_53850789484a/events.out.tfevents.1700729751.53850789484a.16815.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9ae5e8aabac20bd503b3968120d101120aed432709d646f00ced9a609b11568d
|
| 3 |
+
size 4664
|
runs/Nov23_08-57-25_53850789484a/events.out.tfevents.1700729852.53850789484a.16815.2
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:327e000fdf3cf89374f3fbc4a4890fc36e44d523bf64062acd1513f3347c0bb5
|
| 3 |
+
size 4664
|
runs/Nov23_08-58-28_53850789484a/events.out.tfevents.1700729911.53850789484a.16815.3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:205b7062cd38650de3ba6955d92f8dbf8c8f79ab90cdbc122677f6200d12058e
|
| 3 |
+
size 4184
|
runs/Nov23_08-59-22_53850789484a/events.out.tfevents.1700729965.53850789484a.16815.4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eafec646a67a8d76f7e9c4492b01cf9d0575341447c88587afe34716205a957f
|
| 3 |
+
size 4184
|
runs/Nov23_09-01-01_53850789484a/events.out.tfevents.1700730062.53850789484a.19130.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cc1a9be0cb8f7568625bfd85829a93312003919020c7014ba64a233aaa55b93f
|
| 3 |
+
size 14517
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:342b6ccdadecbe9a6352620fb41fe4266c70447541ea26bed264fab8d9534f34
|
| 3 |
+
size 4600
|