bobbyw commited on
Commit
b4fd71b
1 Parent(s): 3fd4a0a

End of training

Browse files
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: distilbert-base-cased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - f1
8
+ model-index:
9
+ - name: distilbert-base-cased-gmb-ner
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
+ # distilbert-base-cased-gmb-ner
17
+
18
+ This model is a fine-tuned version of [distilbert-base-cased](https://huggingface.co/distilbert-base-cased) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.0907
21
+ - F1: 0.8453
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 5e-05
41
+ - train_batch_size: 24
42
+ - eval_batch_size: 24
43
+ - seed: 42
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: linear
46
+ - num_epochs: 3
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss | F1 |
51
+ |:-------------:|:-----:|:----:|:---------------:|:------:|
52
+ | 0.1287 | 1.0 | 1402 | 0.0948 | 0.8283 |
53
+ | 0.0732 | 2.0 | 2804 | 0.0867 | 0.8409 |
54
+ | 0.0498 | 3.0 | 4206 | 0.0907 | 0.8453 |
55
+
56
+
57
+ ### Framework versions
58
+
59
+ - Transformers 4.34.1
60
+ - Pytorch 2.1.0+cu118
61
+ - Datasets 2.14.5
62
+ - Tokenizers 0.14.1
config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilbert-base-cased",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForTokenClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "hidden_dim": 3072,
11
+ "id2label": {
12
+ "-100": "IGN",
13
+ "0": "B-art",
14
+ "1": "I-art",
15
+ "2": "B-eve",
16
+ "3": "I-eve",
17
+ "4": "B-geo",
18
+ "5": "I-geo",
19
+ "6": "B-gpe",
20
+ "7": "I-gpe",
21
+ "8": "B-nat",
22
+ "9": "I-nat",
23
+ "10": "B-org",
24
+ "11": "I-org",
25
+ "12": "B-per",
26
+ "13": "I-per",
27
+ "14": "B-tim",
28
+ "15": "I-tim",
29
+ "16": "O"
30
+ },
31
+ "initializer_range": 0.02,
32
+ "label2id": {
33
+ "B-art": 0,
34
+ "B-eve": 2,
35
+ "B-geo": 4,
36
+ "B-gpe": 6,
37
+ "B-nat": 8,
38
+ "B-org": 10,
39
+ "B-per": 12,
40
+ "B-tim": 14,
41
+ "I-art": 1,
42
+ "I-eve": 3,
43
+ "I-geo": 5,
44
+ "I-gpe": 7,
45
+ "I-nat": 9,
46
+ "I-org": 11,
47
+ "I-per": 13,
48
+ "I-tim": 15,
49
+ "O": 16
50
+ },
51
+ "max_position_embeddings": 512,
52
+ "model_type": "distilbert",
53
+ "n_heads": 12,
54
+ "n_layers": 6,
55
+ "output_past": true,
56
+ "pad_token_id": 0,
57
+ "qa_dropout": 0.1,
58
+ "seq_classif_dropout": 0.2,
59
+ "sinusoidal_pos_embds": false,
60
+ "tie_weights_": true,
61
+ "torch_dtype": "float32",
62
+ "transformers_version": "4.34.1",
63
+ "vocab_size": 28996
64
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc57d4ebf326c792c90c0e393958ace01220e44273d49b245340275507e311e6
3
+ size 260851298
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,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": false,
47
+ "mask_token": "[MASK]",
48
+ "model_max_length": 512,
49
+ "pad_token": "[PAD]",
50
+ "sep_token": "[SEP]",
51
+ "strip_accents": null,
52
+ "tokenize_chinese_chars": true,
53
+ "tokenizer_class": "DistilBertTokenizer",
54
+ "unk_token": "[UNK]"
55
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1cdc4b83b4090beef83ade570359346075b7d1339d43f0ded0bcb8e9c7040ed1
3
+ size 4536
vocab.txt ADDED
The diff for this file is too large to render. See raw diff