bruhjeet26/NERFT
Browse files- README.md +78 -0
- adapter_config.json +34 -0
- adapter_model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
base_model: openaccess-ai-collective/tiny-mistral
|
6 |
+
model-index:
|
7 |
+
- name: mistral-LLM-NER
|
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 |
+
# mistral-LLM-NER
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [openaccess-ai-collective/tiny-mistral](https://huggingface.co/openaccess-ai-collective/tiny-mistral) on the None dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 1.1446
|
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: 0.00025
|
38 |
+
- train_batch_size: 1
|
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 |
+
- lr_scheduler_warmup_steps: 1
|
44 |
+
- training_steps: 500
|
45 |
+
|
46 |
+
### Training results
|
47 |
+
|
48 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
49 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
50 |
+
| 7.9928 | 0.23 | 25 | 5.6978 |
|
51 |
+
| 3.9614 | 0.45 | 50 | 2.6379 |
|
52 |
+
| 2.3449 | 0.68 | 75 | 2.0141 |
|
53 |
+
| 1.9745 | 0.9 | 100 | 1.7486 |
|
54 |
+
| 1.7972 | 1.13 | 125 | 1.6622 |
|
55 |
+
| 1.5265 | 1.35 | 150 | 1.6077 |
|
56 |
+
| 1.3779 | 1.58 | 175 | 1.4895 |
|
57 |
+
| 1.2514 | 1.8 | 200 | 1.4698 |
|
58 |
+
| 1.3015 | 2.03 | 225 | 1.4646 |
|
59 |
+
| 1.1816 | 2.25 | 250 | 1.4042 |
|
60 |
+
| 1.0834 | 2.48 | 275 | 1.3628 |
|
61 |
+
| 1.2907 | 2.7 | 300 | 1.3486 |
|
62 |
+
| 1.4177 | 2.93 | 325 | 1.2939 |
|
63 |
+
| 1.1508 | 3.15 | 350 | 1.2380 |
|
64 |
+
| 0.9248 | 3.38 | 375 | 1.2098 |
|
65 |
+
| 1.0663 | 3.6 | 400 | 1.1924 |
|
66 |
+
| 1.0292 | 3.83 | 425 | 1.1797 |
|
67 |
+
| 0.9591 | 4.05 | 450 | 1.1630 |
|
68 |
+
| 0.837 | 4.28 | 475 | 1.1533 |
|
69 |
+
| 0.9954 | 4.5 | 500 | 1.1446 |
|
70 |
+
|
71 |
+
|
72 |
+
### Framework versions
|
73 |
+
|
74 |
+
- PEFT 0.9.0
|
75 |
+
- Transformers 4.38.2
|
76 |
+
- Pytorch 2.1.0+cu121
|
77 |
+
- Datasets 2.18.0
|
78 |
+
- Tokenizers 0.15.2
|
adapter_config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "openaccess-ai-collective/tiny-mistral",
|
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": 64,
|
13 |
+
"lora_dropout": 0.05,
|
14 |
+
"megatron_config": null,
|
15 |
+
"megatron_core": "megatron.core",
|
16 |
+
"modules_to_save": null,
|
17 |
+
"peft_type": "LORA",
|
18 |
+
"r": 32,
|
19 |
+
"rank_pattern": {},
|
20 |
+
"revision": null,
|
21 |
+
"target_modules": [
|
22 |
+
"up_proj",
|
23 |
+
"o_proj",
|
24 |
+
"k_proj",
|
25 |
+
"gate_proj",
|
26 |
+
"q_proj",
|
27 |
+
"down_proj",
|
28 |
+
"v_proj",
|
29 |
+
"lm_head"
|
30 |
+
],
|
31 |
+
"task_type": "CAUSAL_LM",
|
32 |
+
"use_dora": false,
|
33 |
+
"use_rslora": false
|
34 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:87f70524d1ab0f018a066cc5e8f15270a43e48f42b2535cc58f7d02570d8f945
|
3 |
+
size 118733696
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f2cdd1106b9df54c56f3e0a62c9aec808144f7993ee32341b1e473198c379adf
|
3 |
+
size 4856
|