End of training
Browse files- README.md +95 -0
- adapter_config.json +28 -0
- adapter_model.bin +3 -0
- model.safetensors +3 -0
- special_tokens_map.json +24 -0
- tokenizer.model +3 -0
- tokenizer_config.json +41 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: other
|
3 |
+
base_model: yahma/llama-7b-hf
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: V0305P3
|
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 |
+
# V0305P3
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [yahma/llama-7b-hf](https://huggingface.co/yahma/llama-7b-hf) on an unknown dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 0.0583
|
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.0003
|
38 |
+
- train_batch_size: 4
|
39 |
+
- eval_batch_size: 8
|
40 |
+
- seed: 42
|
41 |
+
- gradient_accumulation_steps: 32
|
42 |
+
- total_train_batch_size: 128
|
43 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
44 |
+
- lr_scheduler_type: cosine_with_restarts
|
45 |
+
- lr_scheduler_warmup_steps: 20
|
46 |
+
- num_epochs: 3
|
47 |
+
- mixed_precision_training: Native AMP
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
52 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
53 |
+
| 1.8125 | 0.09 | 10 | 0.6624 |
|
54 |
+
| 0.25 | 0.17 | 20 | 0.1568 |
|
55 |
+
| 0.1567 | 0.26 | 30 | 0.1543 |
|
56 |
+
| 0.1522 | 0.34 | 40 | 0.1471 |
|
57 |
+
| 0.1487 | 0.43 | 50 | 0.1446 |
|
58 |
+
| 0.1517 | 0.51 | 60 | 0.1370 |
|
59 |
+
| 0.1348 | 0.6 | 70 | 0.1154 |
|
60 |
+
| 0.1261 | 0.68 | 80 | 0.1077 |
|
61 |
+
| 0.1125 | 0.77 | 90 | 0.0915 |
|
62 |
+
| 0.1142 | 0.85 | 100 | 0.0879 |
|
63 |
+
| 0.1095 | 0.94 | 110 | 0.0932 |
|
64 |
+
| 0.1035 | 1.02 | 120 | 0.0936 |
|
65 |
+
| 0.094 | 1.11 | 130 | 0.0874 |
|
66 |
+
| 0.0899 | 1.19 | 140 | 0.0800 |
|
67 |
+
| 0.0875 | 1.28 | 150 | 0.0835 |
|
68 |
+
| 0.0887 | 1.37 | 160 | 0.0783 |
|
69 |
+
| 0.0884 | 1.45 | 170 | 0.0791 |
|
70 |
+
| 0.0819 | 1.54 | 180 | 0.0745 |
|
71 |
+
| 0.0831 | 1.62 | 190 | 0.0685 |
|
72 |
+
| 0.0878 | 1.71 | 200 | 0.0681 |
|
73 |
+
| 0.0847 | 1.79 | 210 | 0.0680 |
|
74 |
+
| 0.0798 | 1.88 | 220 | 0.0646 |
|
75 |
+
| 0.0757 | 1.96 | 230 | 0.0680 |
|
76 |
+
| 0.0653 | 2.05 | 240 | 0.0663 |
|
77 |
+
| 0.0557 | 2.13 | 250 | 0.0678 |
|
78 |
+
| 0.052 | 2.22 | 260 | 0.0634 |
|
79 |
+
| 0.0517 | 2.3 | 270 | 0.0654 |
|
80 |
+
| 0.0576 | 2.39 | 280 | 0.0593 |
|
81 |
+
| 0.0573 | 2.47 | 290 | 0.0584 |
|
82 |
+
| 0.056 | 2.56 | 300 | 0.0569 |
|
83 |
+
| 0.0597 | 2.65 | 310 | 0.0584 |
|
84 |
+
| 0.0514 | 2.73 | 320 | 0.0578 |
|
85 |
+
| 0.0533 | 2.82 | 330 | 0.0577 |
|
86 |
+
| 0.0538 | 2.9 | 340 | 0.0582 |
|
87 |
+
| 0.0507 | 2.99 | 350 | 0.0583 |
|
88 |
+
|
89 |
+
|
90 |
+
### Framework versions
|
91 |
+
|
92 |
+
- Transformers 4.36.0.dev0
|
93 |
+
- Pytorch 2.1.2+cu121
|
94 |
+
- Datasets 2.14.6
|
95 |
+
- Tokenizers 0.14.1
|
adapter_config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"adaptive_ratio": 1.0,
|
3 |
+
"adaptive_ratio_decay": 1.0,
|
4 |
+
"auto_mapping": null,
|
5 |
+
"base_model_name_or_path": "yahma/llama-7b-hf",
|
6 |
+
"bias": "none",
|
7 |
+
"dynamic_adapter_pool": true,
|
8 |
+
"enable_lora": null,
|
9 |
+
"fan_in_fan_out": false,
|
10 |
+
"inference_mode": true,
|
11 |
+
"input_based_adapter_selection": true,
|
12 |
+
"lora_alpha": 16,
|
13 |
+
"lora_dropout": 0.05,
|
14 |
+
"merge_weights": false,
|
15 |
+
"modules_to_save": null,
|
16 |
+
"number_of_adapter_pre_layer": 8,
|
17 |
+
"ot_diversified_dispatcher": false,
|
18 |
+
"peft_type": "MA_LORA",
|
19 |
+
"pool_selective_inference": true,
|
20 |
+
"pool_selective_training": true,
|
21 |
+
"r": 16,
|
22 |
+
"selective_num": 8,
|
23 |
+
"target_modules": [
|
24 |
+
"q_proj",
|
25 |
+
"v_proj"
|
26 |
+
],
|
27 |
+
"task_type": "CAUSAL_LM"
|
28 |
+
}
|
adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d2c96bd3bc78e2e542fb5d7c7c928ac0d4febca54999560f7180081c42906fa5
|
3 |
+
size 277233383
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:355190a97c59acd897e424910eb67c56b573383340d3ee9b66d79fbbdbdf32f3
|
3 |
+
size 13753862632
|
special_tokens_map.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "</s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": "<unk>",
|
17 |
+
"unk_token": {
|
18 |
+
"content": "<unk>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": false,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
}
|
24 |
+
}
|
tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
3 |
+
size 499723
|
tokenizer_config.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<unk>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<s>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "</s>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
}
|
29 |
+
},
|
30 |
+
"bos_token": "<s>",
|
31 |
+
"clean_up_tokenization_spaces": false,
|
32 |
+
"eos_token": "</s>",
|
33 |
+
"legacy": true,
|
34 |
+
"model_max_length": 1000000000000000019884624838656,
|
35 |
+
"pad_token": "<unk>",
|
36 |
+
"sp_model_kwargs": {},
|
37 |
+
"spaces_between_special_tokens": false,
|
38 |
+
"tokenizer_class": "LlamaTokenizer",
|
39 |
+
"unk_token": "<unk>",
|
40 |
+
"use_default_system_prompt": false
|
41 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dab07027d48d4f521a681a38071e4f39297b70843facdcfa1f3dc53f33f2630c
|
3 |
+
size 5240
|