lfcc commited on
Commit
48da722
1 Parent(s): 2af2cbc
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ checkpoint-*/
README.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - precision
7
+ - recall
8
+ - f1
9
+ - accuracy
10
+ model_index:
11
+ - name: bert-large-pt-archive
12
+ results:
13
+ - task:
14
+ name: Token Classification
15
+ type: token-classification
16
+ metric:
17
+ name: Accuracy
18
+ type: accuracy
19
+ value: 0.9766762474673703
20
+ ---
21
+
22
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
23
+ should probably proofread and complete it, then remove this comment. -->
24
+
25
+ # bert-large-pt-archive
26
+
27
+ This model is a fine-tuned version of [neuralmind/bert-large-portuguese-cased](https://huggingface.co/neuralmind/bert-large-portuguese-cased) on an unkown dataset.
28
+ It achieves the following results on the evaluation set:
29
+ - Loss: 0.0869
30
+ - Precision: 0.9280
31
+ - Recall: 0.9541
32
+ - F1: 0.9409
33
+ - Accuracy: 0.9767
34
+
35
+ ## Model description
36
+
37
+ More information needed
38
+
39
+ ## Intended uses & limitations
40
+
41
+ More information needed
42
+
43
+ ## Training and evaluation data
44
+
45
+ More information needed
46
+
47
+ ## Training procedure
48
+
49
+ ### Training hyperparameters
50
+
51
+ The following hyperparameters were used during training:
52
+ - learning_rate: 2e-05
53
+ - train_batch_size: 4
54
+ - eval_batch_size: 4
55
+ - seed: 42
56
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
57
+ - lr_scheduler_type: linear
58
+ - num_epochs: 4
59
+
60
+ ### Training results
61
+
62
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
63
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
64
+ | 0.0665 | 1.0 | 765 | 0.1020 | 0.8928 | 0.9566 | 0.9236 | 0.9696 |
65
+ | 0.0392 | 2.0 | 1530 | 0.0781 | 0.9229 | 0.9586 | 0.9404 | 0.9757 |
66
+ | 0.0201 | 3.0 | 2295 | 0.0809 | 0.9278 | 0.9550 | 0.9412 | 0.9767 |
67
+ | 0.0152 | 4.0 | 3060 | 0.0869 | 0.9280 | 0.9541 | 0.9409 | 0.9767 |
68
+
69
+
70
+ ### Framework versions
71
+
72
+ - Transformers 4.10.0.dev0
73
+ - Pytorch 1.9.0+cu111
74
+ - Datasets 1.10.2
75
+ - Tokenizers 0.10.3
config.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "neuralmind/bert-large-portuguese-cased",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "directionality": "bidi",
9
+ "gradient_checkpointing": false,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 1024,
13
+ "id2label": {
14
+ "0": "LABEL_0",
15
+ "1": "LABEL_1",
16
+ "2": "LABEL_2",
17
+ "3": "LABEL_3",
18
+ "4": "LABEL_4",
19
+ "5": "LABEL_5",
20
+ "6": "LABEL_6",
21
+ "7": "LABEL_7",
22
+ "8": "LABEL_8",
23
+ "9": "LABEL_9",
24
+ "10": "LABEL_10"
25
+ },
26
+ "initializer_range": 0.02,
27
+ "intermediate_size": 4096,
28
+ "label2id": {
29
+ "LABEL_0": 0,
30
+ "LABEL_1": 1,
31
+ "LABEL_10": 10,
32
+ "LABEL_2": 2,
33
+ "LABEL_3": 3,
34
+ "LABEL_4": 4,
35
+ "LABEL_5": 5,
36
+ "LABEL_6": 6,
37
+ "LABEL_7": 7,
38
+ "LABEL_8": 8,
39
+ "LABEL_9": 9
40
+ },
41
+ "layer_norm_eps": 1e-12,
42
+ "max_position_embeddings": 512,
43
+ "model_type": "bert",
44
+ "num_attention_heads": 16,
45
+ "num_hidden_layers": 24,
46
+ "output_past": true,
47
+ "pad_token_id": 0,
48
+ "pooler_fc_size": 768,
49
+ "pooler_num_attention_heads": 12,
50
+ "pooler_num_fc_layers": 3,
51
+ "pooler_size_per_head": 128,
52
+ "pooler_type": "first_token_transform",
53
+ "position_embedding_type": "absolute",
54
+ "torch_dtype": "float32",
55
+ "transformers_version": "4.10.0.dev0",
56
+ "type_vocab_size": 2,
57
+ "use_cache": true,
58
+ "vocab_size": 29794
59
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad14b81794963f0f15a95605b017bf827cf25ca1dfbee60edb73f252b4ada31e
3
+ size 1333593265
runs/Dec11_18-36-15_DESKTOP-GRC5L8E/1639247785.6670897/events.out.tfevents.1639247785.DESKTOP-GRC5L8E.5028.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4be8de5770c3b110272b6bf5e2de1b299d6bac47df665f84ba2a0fee198965bd
3
+ size 4351
runs/Dec11_18-36-15_DESKTOP-GRC5L8E/events.out.tfevents.1639247785.DESKTOP-GRC5L8E.5028.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c69c0978c16ab32cab832da4d87e5881486c0beea4209c9adb9d923515435c8
3
+ size 7940
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"do_lower_case": false, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "special_tokens_map_file": "C:\\Users\\Filip/.cache\\huggingface\\transformers\\d5b721c156180bbbcc4a1017e8c72a18f8f96cdc178acec5ddcd45905712b4cf.dd8bd9bfd3664b530ea4e645105f557769387b3da9f79bdb55ed556bdd80611d", "name_or_path": "neuralmind/bert-large-portuguese-cased", "do_basic_tokenize": true, "never_split": null, "tokenizer_class": "BertTokenizer"}
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a8d1228ec72d442319ac8f90acb57b6f66c53584fd51a642e40cb23819c41e7
3
+ size 2799
vocab.txt ADDED
The diff for this file is too large to render. See raw diff