tororoin commited on
Commit
f8ead74
1 Parent(s): 4e0bba5

tororoin/deberta-piid-1000subset

Browse files
README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: microsoft/deberta-v3-base
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: output
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
+ # output
15
+
16
+ This model is a fine-tuned version of [microsoft/deberta-v3-base](https://huggingface.co/microsoft/deberta-v3-base) on the None dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 0.0022
19
+ - Name Student Precision: 0.9737
20
+ - Name Student Recall: 1.0
21
+ - Name Student F1: 0.9867
22
+ - Name Student Number: 37
23
+ - Overall Precision: 0.9737
24
+ - Overall Recall: 1.0
25
+ - Overall F1: 0.9867
26
+ - Overall Accuracy: 0.9975
27
+
28
+ ## Model description
29
+
30
+ More information needed
31
+
32
+ ## Intended uses & limitations
33
+
34
+ More information needed
35
+
36
+ ## Training and evaluation data
37
+
38
+ More information needed
39
+
40
+ ## Training procedure
41
+
42
+ ### Training hyperparameters
43
+
44
+ The following hyperparameters were used during training:
45
+ - learning_rate: 2e-05
46
+ - train_batch_size: 2
47
+ - eval_batch_size: 4
48
+ - seed: 42
49
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
50
+ - lr_scheduler_type: linear
51
+ - lr_scheduler_warmup_ratio: 0.1
52
+ - num_epochs: 2
53
+ - mixed_precision_training: Native AMP
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Name Student Precision | Name Student Recall | Name Student F1 | Name Student Number | Overall Precision | Overall Recall | Overall F1 | Overall Accuracy |
58
+ |:-------------:|:-----:|:----:|:---------------:|:----------------------:|:-------------------:|:---------------:|:-------------------:|:-----------------:|:--------------:|:----------:|:----------------:|
59
+ | 0.0002 | 1.0 | 400 | 0.0061 | 0.9737 | 1.0 | 0.9867 | 37 | 0.9737 | 1.0 | 0.9867 | 0.9975 |
60
+ | 0.0001 | 2.0 | 800 | 0.0022 | 0.9737 | 1.0 | 0.9867 | 37 | 0.9737 | 1.0 | 0.9867 | 0.9975 |
61
+
62
+
63
+ ### Framework versions
64
+
65
+ - Transformers 4.38.1
66
+ - Pytorch 2.1.2
67
+ - Datasets 2.1.0
68
+ - Tokenizers 0.15.2
added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "[MASK]": 128000
3
+ }
config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/deberta-v3-base",
3
+ "architectures": [
4
+ "DebertaV2ForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.1,
9
+ "hidden_size": 768,
10
+ "id2label": {
11
+ "0": "B-EMAIL",
12
+ "1": "B-ID_NUM",
13
+ "2": "B-NAME_STUDENT",
14
+ "3": "B-PHONE_NUM",
15
+ "4": "B-STREET_ADDRESS",
16
+ "5": "B-URL_PERSONAL",
17
+ "6": "B-USERNAME",
18
+ "7": "I-ID_NUM",
19
+ "8": "I-NAME_STUDENT",
20
+ "9": "I-PHONE_NUM",
21
+ "10": "I-STREET_ADDRESS",
22
+ "11": "I-URL_PERSONAL",
23
+ "12": "O"
24
+ },
25
+ "initializer_range": 0.02,
26
+ "intermediate_size": 3072,
27
+ "label2id": {
28
+ "B-EMAIL": 0,
29
+ "B-ID_NUM": 1,
30
+ "B-NAME_STUDENT": 2,
31
+ "B-PHONE_NUM": 3,
32
+ "B-STREET_ADDRESS": 4,
33
+ "B-URL_PERSONAL": 5,
34
+ "B-USERNAME": 6,
35
+ "I-ID_NUM": 7,
36
+ "I-NAME_STUDENT": 8,
37
+ "I-PHONE_NUM": 9,
38
+ "I-STREET_ADDRESS": 10,
39
+ "I-URL_PERSONAL": 11,
40
+ "O": 12
41
+ },
42
+ "layer_norm_eps": 1e-07,
43
+ "max_position_embeddings": 512,
44
+ "max_relative_positions": -1,
45
+ "model_type": "deberta-v2",
46
+ "norm_rel_ebd": "layer_norm",
47
+ "num_attention_heads": 12,
48
+ "num_hidden_layers": 12,
49
+ "pad_token_id": 0,
50
+ "pooler_dropout": 0,
51
+ "pooler_hidden_act": "gelu",
52
+ "pooler_hidden_size": 768,
53
+ "pos_att_type": [
54
+ "p2c",
55
+ "c2p"
56
+ ],
57
+ "position_biased_input": false,
58
+ "position_buckets": 256,
59
+ "relative_attention": true,
60
+ "share_att_key": true,
61
+ "torch_dtype": "float32",
62
+ "transformers_version": "4.38.1",
63
+ "type_vocab_size": 0,
64
+ "vocab_size": 128016
65
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1979329d136c00c6bd4a88376d3cceb241a7ddbb360726dacf5cb921dedc1f18
3
+ size 735132524
special_tokens_map.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "[CLS]",
3
+ "cls_token": "[CLS]",
4
+ "eos_token": "[SEP]",
5
+ "mask_token": "[MASK]",
6
+ "pad_token": "[PAD]",
7
+ "sep_token": "[SEP]",
8
+ "unk_token": {
9
+ "content": "[UNK]",
10
+ "lstrip": false,
11
+ "normalized": true,
12
+ "rstrip": false,
13
+ "single_word": false
14
+ }
15
+ }
spm.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd
3
+ size 2464616
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "1": {
12
+ "content": "[CLS]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "[SEP]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "[UNK]",
29
+ "lstrip": false,
30
+ "normalized": true,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "128000": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "bos_token": "[CLS]",
45
+ "clean_up_tokenization_spaces": true,
46
+ "cls_token": "[CLS]",
47
+ "do_lower_case": false,
48
+ "eos_token": "[SEP]",
49
+ "mask_token": "[MASK]",
50
+ "model_max_length": 1000000000000000019884624838656,
51
+ "pad_token": "[PAD]",
52
+ "sep_token": "[SEP]",
53
+ "sp_model_kwargs": {},
54
+ "split_by_punct": false,
55
+ "tokenizer_class": "DebertaV2Tokenizer",
56
+ "unk_token": "[UNK]",
57
+ "vocab_type": "spm"
58
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9100fcf98f4a9a8c12dcb99322ccb6ad82d49caef3c96d30dbec0ae3ed9c86db
3
+ size 4856