LazzeKappa commited on
Commit
0392aab
1 Parent(s): 561be9b

End of training

Browse files
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: distilbert-base-multilingual-cased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - precision
8
+ - recall
9
+ - f1
10
+ - accuracy
11
+ model-index:
12
+ - name: BERT_B07
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
+ # BERT_B07
20
+
21
+ This model is a fine-tuned version of [distilbert-base-multilingual-cased](https://huggingface.co/distilbert-base-multilingual-cased) on the None dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.2269
24
+ - Precision: 0.6290
25
+ - Recall: 0.6789
26
+ - F1: 0.6530
27
+ - Accuracy: 0.9317
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: 4e-05
47
+ - train_batch_size: 16
48
+ - eval_batch_size: 16
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 | Precision | Recall | F1 | Accuracy |
57
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
58
+ | 0.4974 | 1.0 | 46 | 0.3685 | 0.5057 | 0.4568 | 0.4800 | 0.8932 |
59
+ | 0.2353 | 2.0 | 92 | 0.2460 | 0.5996 | 0.6272 | 0.6130 | 0.9252 |
60
+ | 0.17 | 3.0 | 138 | 0.2264 | 0.5949 | 0.6421 | 0.6176 | 0.9286 |
61
+ | 0.1429 | 4.0 | 184 | 0.2272 | 0.6083 | 0.6720 | 0.6386 | 0.9305 |
62
+ | 0.1252 | 5.0 | 230 | 0.2269 | 0.6290 | 0.6789 | 0.6530 | 0.9317 |
63
+
64
+
65
+ ### Framework versions
66
+
67
+ - Transformers 4.33.3
68
+ - Pytorch 2.0.1+cu117
69
+ - Datasets 2.14.4
70
+ - Tokenizers 0.13.3
config.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilbert-base-multilingual-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
+ "0": "O",
13
+ "1": "B-Organisation",
14
+ "2": "I-Organisation",
15
+ "3": "B-Person",
16
+ "4": "I-Person",
17
+ "5": "B-Location",
18
+ "6": "I-Location",
19
+ "7": "B-Money",
20
+ "8": "I-Money",
21
+ "9": "B-Temporal",
22
+ "10": "I-Temporal",
23
+ "11": "B-Weapon",
24
+ "12": "I-Weapon",
25
+ "13": "B-MilitaryPlatform",
26
+ "14": "I-MilitaryPlatform"
27
+ },
28
+ "initializer_range": 0.02,
29
+ "label2id": {
30
+ "B-Location": 5,
31
+ "B-MilitaryPlatform": 13,
32
+ "B-Money": 7,
33
+ "B-Organisation": 1,
34
+ "B-Person": 3,
35
+ "B-Temporal": 9,
36
+ "B-Weapon": 11,
37
+ "I-Location": 6,
38
+ "I-MilitaryPlatform": 14,
39
+ "I-Money": 8,
40
+ "I-Organisation": 2,
41
+ "I-Person": 4,
42
+ "I-Temporal": 10,
43
+ "I-Weapon": 12,
44
+ "O": 0
45
+ },
46
+ "max_position_embeddings": 512,
47
+ "model_type": "distilbert",
48
+ "n_heads": 12,
49
+ "n_layers": 6,
50
+ "output_past": true,
51
+ "pad_token_id": 0,
52
+ "qa_dropout": 0.1,
53
+ "seq_classif_dropout": 0.2,
54
+ "sinusoidal_pos_embds": false,
55
+ "tie_weights_": true,
56
+ "torch_dtype": "float32",
57
+ "transformers_version": "4.33.3",
58
+ "vocab_size": 119547
59
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e49c6ddb52851a073d02c8da8ccb828d75aaf4fdad4b0a3c47a374f87614776
3
+ size 539017317
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,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "clean_up_tokenization_spaces": true,
3
+ "cls_token": "[CLS]",
4
+ "do_lower_case": false,
5
+ "mask_token": "[MASK]",
6
+ "model_max_length": 512,
7
+ "pad_token": "[PAD]",
8
+ "sep_token": "[SEP]",
9
+ "strip_accents": null,
10
+ "tokenize_chinese_chars": true,
11
+ "tokenizer_class": "DistilBertTokenizer",
12
+ "unk_token": "[UNK]"
13
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3274ec9185601881a6c124fcdd33b286f4d9636e329790eb624549b479a76d36
3
+ size 3963
vocab.txt ADDED
The diff for this file is too large to render. See raw diff