kwang123 commited on
Commit
af2eca2
1 Parent(s): 45ff9fe

kwang123/llama2-7B-ReqORNot

Browse files
README.md ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - accuracy
7
+ base_model: meta-llama/Llama-2-7b-hf
8
+ model-index:
9
+ - name: llama2-7B-ReqORNot
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # llama2-7B-ReqORNot
17
+
18
+ This model is a fine-tuned version of [meta-llama/Llama-2-7b-hf](https://huggingface.co/meta-llama/Llama-2-7b-hf) on the None dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.2597
21
+ - Accuracy: 0.8970
22
+ - Weighted precision: 0.8971
23
+ - Weighted recall: 0.8970
24
+ - Weighted f1: 0.8971
25
+ - Macro precision: 0.8969
26
+ - Macro recall: 0.8971
27
+ - Macro f1: 0.8970
28
+
29
+ ## Model description
30
+
31
+ More information needed
32
+
33
+ ## Intended uses & limitations
34
+
35
+ More information needed
36
+
37
+ ## Training and evaluation data
38
+
39
+ More information needed
40
+
41
+ ## Training procedure
42
+
43
+ ### Training hyperparameters
44
+
45
+ The following hyperparameters were used during training:
46
+ - learning_rate: 2e-05
47
+ - train_batch_size: 24
48
+ - eval_batch_size: 24
49
+ - seed: 42
50
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
+ - lr_scheduler_type: linear
52
+ - num_epochs: 5
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Weighted precision | Weighted recall | Weighted f1 | Macro precision | Macro recall | Macro f1 |
57
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------------------:|:---------------:|:-----------:|:---------------:|:------------:|:--------:|
58
+ | No log | 1.0 | 237 | 0.4807 | 0.7896 | 0.7895 | 0.7896 | 0.7895 | 0.7894 | 0.7891 | 0.7892 |
59
+ | No log | 2.0 | 474 | 0.3167 | 0.8605 | 0.8605 | 0.8605 | 0.8605 | 0.8604 | 0.8604 | 0.8604 |
60
+ | 0.5108 | 3.0 | 711 | 0.2709 | 0.8860 | 0.8869 | 0.8860 | 0.8860 | 0.8862 | 0.8866 | 0.8860 |
61
+ | 0.5108 | 4.0 | 948 | 0.2704 | 0.8880 | 0.8889 | 0.8880 | 0.8879 | 0.8894 | 0.8871 | 0.8876 |
62
+ | 0.1829 | 5.0 | 1185 | 0.2597 | 0.8970 | 0.8971 | 0.8970 | 0.8971 | 0.8969 | 0.8971 | 0.8970 |
63
+
64
+
65
+ ### Framework versions
66
+
67
+ - PEFT 0.9.0
68
+ - Transformers 4.38.2
69
+ - Pytorch 2.1.0+cu121
70
+ - Datasets 2.18.0
71
+ - Tokenizers 0.15.2
adapter_config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "meta-llama/Llama-2-7b-hf",
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": 16,
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": 64,
19
+ "rank_pattern": {},
20
+ "revision": null,
21
+ "target_modules": [
22
+ "o_proj",
23
+ "gate_proj",
24
+ "v_proj",
25
+ "q_proj",
26
+ "up_proj",
27
+ "down_proj",
28
+ "k_proj"
29
+ ],
30
+ "task_type": "SEQ_CLS",
31
+ "use_dora": false,
32
+ "use_rslora": false
33
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:631141c099f92608e937daa0ec9b707ef0281b30f28a02fbd12932d05b06f94c
3
+ size 639724744
runs/Mar05_23-55-36_1be7571c5275/events.out.tfevents.1709682936.1be7571c5275.79128.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74b19da25ed2aac82a55dc9cb2665663603d13496fd5df7a698f407fb3703c42
3
+ size 9183
runs/Mar05_23-55-36_1be7571c5275/events.out.tfevents.1709692803.1be7571c5275.79128.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:810dfcb3e37a290dee09916b215d3174de58e5dce3b61a9ad3321beb9a905fef
3
+ size 754
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": "</s>",
17
+ "unk_token": {
18
+ "content": "<unk>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
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": false,
34
+ "model_max_length": 1000000000000000019884624838656,
35
+ "pad_token": "</s>",
36
+ "padding_side": "right",
37
+ "sp_model_kwargs": {},
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:69f6337d23eebadf061f56dd8fedc68c249382216dc47b4ba6ef045291c79af7
3
+ size 4920