alecmontero commited on
Commit
548b624
1 Parent(s): 1ee418c

SciBERT-ES-TweetAreas

Browse files
README.md ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: google-bert/bert-base-multilingual-cased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - precision
9
+ - recall
10
+ model-index:
11
+ - name: results
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ # results
19
+
20
+ This model is a fine-tuned version of [google-bert/bert-base-multilingual-cased](https://huggingface.co/google-bert/bert-base-multilingual-cased) on an unknown dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 0.1516
23
+ - Roc Auc: 0.8130
24
+ - Hamming Loss: 0.0509
25
+ - F1 Score: 0.6969
26
+ - Accuracy: 0.4418
27
+ - Precision: 0.8279
28
+ - Recall: 0.6583
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 5e-05
48
+ - train_batch_size: 8
49
+ - eval_batch_size: 8
50
+ - seed: 42
51
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 10
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Roc Auc | Hamming Loss | F1 Score | Accuracy | Precision | Recall |
58
+ |:-------------:|:-----:|:----:|:---------------:|:-------:|:------------:|:--------:|:--------:|:---------:|:------:|
59
+ | No log | 1.0 | 374 | 0.2285 | 0.6386 | 0.0822 | 0.3390 | 0.2731 | 0.8932 | 0.3080 |
60
+ | 0.2678 | 2.0 | 748 | 0.1870 | 0.7175 | 0.0679 | 0.5123 | 0.3481 | 0.7842 | 0.4679 |
61
+ | 0.1722 | 3.0 | 1122 | 0.1727 | 0.7839 | 0.0607 | 0.6116 | 0.3949 | 0.7611 | 0.6096 |
62
+ | 0.1722 | 4.0 | 1496 | 0.1577 | 0.7865 | 0.0545 | 0.6408 | 0.4137 | 0.8178 | 0.6096 |
63
+ | 0.1236 | 5.0 | 1870 | 0.1537 | 0.8055 | 0.0523 | 0.6798 | 0.4230 | 0.8250 | 0.6423 |
64
+ | 0.0847 | 6.0 | 2244 | 0.1570 | 0.8069 | 0.0541 | 0.6695 | 0.4297 | 0.7839 | 0.6503 |
65
+ | 0.063 | 7.0 | 2618 | 0.1516 | 0.8130 | 0.0509 | 0.6969 | 0.4418 | 0.8279 | 0.6583 |
66
+ | 0.063 | 8.0 | 2992 | 0.1531 | 0.8147 | 0.0512 | 0.6856 | 0.4458 | 0.7982 | 0.6622 |
67
+ | 0.0465 | 9.0 | 3366 | 0.1526 | 0.8427 | 0.0489 | 0.7544 | 0.4565 | 0.8190 | 0.7174 |
68
+ | 0.0349 | 10.0 | 3740 | 0.1534 | 0.8349 | 0.0498 | 0.7414 | 0.4431 | 0.8212 | 0.7023 |
69
+
70
+
71
+ ### Framework versions
72
+
73
+ - Transformers 4.42.4
74
+ - Pytorch 2.3.0+cu121
75
+ - Datasets 2.20.0
76
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google-bert/bert-base-multilingual-cased",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "directionality": "bidi",
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "LABEL_0",
14
+ "1": "LABEL_1",
15
+ "2": "LABEL_2",
16
+ "3": "LABEL_3",
17
+ "4": "LABEL_4",
18
+ "5": "LABEL_5",
19
+ "6": "LABEL_6",
20
+ "7": "LABEL_7",
21
+ "8": "LABEL_8",
22
+ "9": "LABEL_9",
23
+ "10": "LABEL_10",
24
+ "11": "LABEL_11",
25
+ "12": "LABEL_12",
26
+ "13": "LABEL_13",
27
+ "14": "LABEL_14",
28
+ "15": "LABEL_15",
29
+ "16": "LABEL_16",
30
+ "17": "LABEL_17"
31
+ },
32
+ "initializer_range": 0.02,
33
+ "intermediate_size": 3072,
34
+ "label2id": {
35
+ "LABEL_0": 0,
36
+ "LABEL_1": 1,
37
+ "LABEL_10": 10,
38
+ "LABEL_11": 11,
39
+ "LABEL_12": 12,
40
+ "LABEL_13": 13,
41
+ "LABEL_14": 14,
42
+ "LABEL_15": 15,
43
+ "LABEL_16": 16,
44
+ "LABEL_17": 17,
45
+ "LABEL_2": 2,
46
+ "LABEL_3": 3,
47
+ "LABEL_4": 4,
48
+ "LABEL_5": 5,
49
+ "LABEL_6": 6,
50
+ "LABEL_7": 7,
51
+ "LABEL_8": 8,
52
+ "LABEL_9": 9
53
+ },
54
+ "layer_norm_eps": 1e-12,
55
+ "max_position_embeddings": 512,
56
+ "model_type": "bert",
57
+ "num_attention_heads": 12,
58
+ "num_hidden_layers": 12,
59
+ "pad_token_id": 0,
60
+ "pooler_fc_size": 768,
61
+ "pooler_num_attention_heads": 12,
62
+ "pooler_num_fc_layers": 3,
63
+ "pooler_size_per_head": 128,
64
+ "pooler_type": "first_token_transform",
65
+ "position_embedding_type": "absolute",
66
+ "problem_type": "multi_label_classification",
67
+ "torch_dtype": "float32",
68
+ "transformers_version": "4.42.4",
69
+ "type_vocab_size": 2,
70
+ "use_cache": true,
71
+ "vocab_size": 119547
72
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a15eaac42f47a1b3a75009ca8f6713d16bbe27a5ffacf7d071ef49cb7d38a73
3
+ size 711492680
runs/Jul11_23-37-46_afc9b30540b0/events.out.tfevents.1720741072.afc9b30540b0.4048.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f4644e407c37d0cd5f824758163cae88c25cb581892c51efd03f8175d54467d
3
+ size 13472
runs/Jul11_23-37-46_afc9b30540b0/events.out.tfevents.1720742156.afc9b30540b0.4048.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2c04e137841c64b7960f12c1aedac55d837f91c2e465841c01ceb4fd80d0ed6
3
+ size 673
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_config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_basic_tokenize": true,
47
+ "do_lower_case": false,
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 512,
50
+ "never_split": null,
51
+ "pad_token": "[PAD]",
52
+ "sep_token": "[SEP]",
53
+ "strip_accents": null,
54
+ "tokenize_chinese_chars": true,
55
+ "tokenizer_class": "BertTokenizer",
56
+ "unk_token": "[UNK]"
57
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4069abb263512571b59cc84c2bd716ec30f5f67c713116335f02dc2af2783ee0
3
+ size 5112
vocab.txt ADDED
The diff for this file is too large to render. See raw diff