gyr66 commited on
Commit
c11af5f
1 Parent(s): b9273be

End of training

Browse files
README.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: hfl/chinese-roberta-wwm-ext-large
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - precision
8
+ - recall
9
+ - f1
10
+ - accuracy
11
+ model-index:
12
+ - name: RoBERTa-ext-large-lora-chinese-finetuned-ner
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # RoBERTa-ext-large-lora-chinese-finetuned-ner
20
+
21
+ This model is a fine-tuned version of [hfl/chinese-roberta-wwm-ext-large](https://huggingface.co/hfl/chinese-roberta-wwm-ext-large) on the None dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.4289
24
+ - Precision: 0.6182
25
+ - Recall: 0.7329
26
+ - F1: 0.6707
27
+ - Accuracy: 0.9114
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: 0.001
47
+ - train_batch_size: 4
48
+ - eval_batch_size: 8
49
+ - seed: 42
50
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
+ - lr_scheduler_type: linear
52
+ - num_epochs: 10
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
57
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
58
+ | 0.4612 | 1.0 | 503 | 0.3536 | 0.4817 | 0.6412 | 0.5501 | 0.8948 |
59
+ | 0.2925 | 2.0 | 1006 | 0.3259 | 0.5403 | 0.6772 | 0.6011 | 0.9022 |
60
+ | 0.2391 | 3.0 | 1509 | 0.3211 | 0.5572 | 0.7301 | 0.6320 | 0.9053 |
61
+ | 0.1966 | 4.0 | 2012 | 0.3287 | 0.5768 | 0.7238 | 0.6420 | 0.9099 |
62
+ | 0.1644 | 5.0 | 2515 | 0.3531 | 0.5717 | 0.7362 | 0.6436 | 0.9056 |
63
+ | 0.1312 | 6.0 | 3018 | 0.3542 | 0.5874 | 0.7158 | 0.6453 | 0.9084 |
64
+ | 0.1067 | 7.0 | 3521 | 0.3878 | 0.5844 | 0.7266 | 0.6478 | 0.9072 |
65
+ | 0.0862 | 8.0 | 4024 | 0.3956 | 0.6186 | 0.7304 | 0.6698 | 0.9116 |
66
+ | 0.0681 | 9.0 | 4527 | 0.4100 | 0.6206 | 0.7261 | 0.6692 | 0.9118 |
67
+ | 0.0595 | 10.0 | 5030 | 0.4289 | 0.6182 | 0.7329 | 0.6707 | 0.9114 |
68
+
69
+
70
+ ### Framework versions
71
+
72
+ - Transformers 4.35.2
73
+ - Pytorch 2.1.0+cu121
74
+ - Datasets 2.16.1
75
+ - Tokenizers 0.15.0
adapter_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "hfl/chinese-roberta-wwm-ext-large",
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.1,
14
+ "megatron_config": null,
15
+ "megatron_core": "megatron.core",
16
+ "modules_to_save": null,
17
+ "peft_type": "LORA",
18
+ "r": 8,
19
+ "rank_pattern": {},
20
+ "revision": null,
21
+ "target_modules": [
22
+ "query",
23
+ "value"
24
+ ],
25
+ "task_type": "TOKEN_CLS"
26
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7bf8e11b3ee3dfcb4d85613fd669e659bdbaa99f72f330cae75c3342d604d4a3
3
+ size 3278396
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": true,
47
+ "ignore_mismatched_sizes": true,
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 1000000000000000019884624838656,
50
+ "pad_token": "[PAD]",
51
+ "sep_token": "[SEP]",
52
+ "strip_accents": null,
53
+ "tokenize_chinese_chars": true,
54
+ "tokenizer_class": "BertTokenizer",
55
+ "unk_token": "[UNK]"
56
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5145f7a7bb308c9f054f27fc47d83faebcca09bfeea0e8816430efa64530e915
3
+ size 4600
vocab.txt ADDED
The diff for this file is too large to render. See raw diff