End of training
Browse files- README.md +83 -0
- adapter_config.json +36 -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,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: other
|
3 |
+
base_model: yahma/llama-7b-hf
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: V0224O7
|
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 |
+
# V0224O7
|
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.7468
|
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 |
+
| 3.9764 | 0.13 | 10 | 1.5791 |
|
54 |
+
| 1.2349 | 0.26 | 20 | 1.0811 |
|
55 |
+
| 0.9773 | 0.39 | 30 | 0.9031 |
|
56 |
+
| 0.8686 | 0.52 | 40 | 0.8522 |
|
57 |
+
| 0.8333 | 0.65 | 50 | 0.8265 |
|
58 |
+
| 0.8084 | 0.78 | 60 | 0.8097 |
|
59 |
+
| 0.781 | 0.91 | 70 | 0.7957 |
|
60 |
+
| 0.766 | 1.04 | 80 | 0.7845 |
|
61 |
+
| 0.7282 | 1.17 | 90 | 0.7765 |
|
62 |
+
| 0.7412 | 1.3 | 100 | 0.7719 |
|
63 |
+
| 0.7302 | 1.43 | 110 | 0.7655 |
|
64 |
+
| 0.718 | 1.55 | 120 | 0.7614 |
|
65 |
+
| 0.709 | 1.68 | 130 | 0.7599 |
|
66 |
+
| 0.7202 | 1.81 | 140 | 0.7554 |
|
67 |
+
| 0.722 | 1.94 | 150 | 0.7504 |
|
68 |
+
| 0.6898 | 2.07 | 160 | 0.7513 |
|
69 |
+
| 0.6617 | 2.2 | 170 | 0.7508 |
|
70 |
+
| 0.6738 | 2.33 | 180 | 0.7474 |
|
71 |
+
| 0.6659 | 2.46 | 190 | 0.7470 |
|
72 |
+
| 0.6676 | 2.59 | 200 | 0.7478 |
|
73 |
+
| 0.6688 | 2.72 | 210 | 0.7469 |
|
74 |
+
| 0.6669 | 2.85 | 220 | 0.7468 |
|
75 |
+
| 0.669 | 2.98 | 230 | 0.7468 |
|
76 |
+
|
77 |
+
|
78 |
+
### Framework versions
|
79 |
+
|
80 |
+
- Transformers 4.36.0.dev0
|
81 |
+
- Pytorch 2.1.2+cu121
|
82 |
+
- Datasets 2.14.6
|
83 |
+
- Tokenizers 0.14.1
|
adapter_config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"adaptive_ratio": 0.05,
|
3 |
+
"adaptive_ratio_decay": 1.005,
|
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 |
+
"encoder_hidden_size": 4096,
|
10 |
+
"fan_in_fan_out": false,
|
11 |
+
"inference_mode": true,
|
12 |
+
"input_based_adapter_selection": true,
|
13 |
+
"lora_alpha": 16,
|
14 |
+
"lora_dropout": 0.05,
|
15 |
+
"merge_weights": false,
|
16 |
+
"modules_to_save": null,
|
17 |
+
"num_attention_heads": 32,
|
18 |
+
"num_layers": 32,
|
19 |
+
"num_prefix_set": 8,
|
20 |
+
"num_transformer_submodules": 1,
|
21 |
+
"num_virtual_tokens": 30,
|
22 |
+
"number_of_adapter_pre_layer": 8,
|
23 |
+
"ot_diversified_dispatcher": false,
|
24 |
+
"peft_type": "PREFIX_MA_LORA",
|
25 |
+
"pool_selective_inference": true,
|
26 |
+
"pool_selective_training": true,
|
27 |
+
"prefix_projection": false,
|
28 |
+
"r": 16,
|
29 |
+
"selective_num": 8,
|
30 |
+
"target_modules": [
|
31 |
+
"q_proj",
|
32 |
+
"v_proj"
|
33 |
+
],
|
34 |
+
"task_type": "CAUSAL_LM",
|
35 |
+
"token_dim": 4096
|
36 |
+
}
|
adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:346d58d886dc8a47943f673223fac9e06780425f4cc6b3901981de024205980b
|
3 |
+
size 797823316
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5c049405324c3c050006a526824a8a03eb3a7d1e9c69e397512086144d83eab5
|
3 |
+
size 14005653016
|
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:dd6b1345fe8aa58ea88cd0c94b1257d21ebc64511902adf4cf2cba686b6e9070
|
3 |
+
size 5240
|