claudiaMartinez1982 commited on
Commit
e66eb7d
·
verified ·
1 Parent(s): 84486e5

claudiaMartinez1982/bert-base-spanish-wwm-cased_bs32

Browse files
README.md ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ base_model: dccuchile/bert-base-spanish-wwm-cased
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: bert-base-spanish-wwm-cased_bs32
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
+ # bert-base-spanish-wwm-cased_bs32
15
+
16
+ This model is a fine-tuned version of [dccuchile/bert-base-spanish-wwm-cased](https://huggingface.co/dccuchile/bert-base-spanish-wwm-cased) on the None dataset.
17
+
18
+ ## Model description
19
+
20
+ More information needed
21
+
22
+ ## Intended uses & limitations
23
+
24
+ More information needed
25
+
26
+ ## Training and evaluation data
27
+
28
+ More information needed
29
+
30
+ ## Training procedure
31
+
32
+ ### Training hyperparameters
33
+
34
+ The following hyperparameters were used during training:
35
+ - learning_rate: 5e-05
36
+ - train_batch_size: 32
37
+ - eval_batch_size: 32
38
+ - seed: 42
39
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
40
+ - lr_scheduler_type: linear
41
+ - num_epochs: 3
42
+
43
+ ### Training results
44
+
45
+
46
+
47
+ ### Framework versions
48
+
49
+ - Transformers 4.52.4
50
+ - Pytorch 2.6.0+cu124
51
+ - Datasets 2.14.4
52
+ - Tokenizers 0.21.1
config.json ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BertForTokenClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "classifier_dropout": null,
7
+ "gradient_checkpointing": false,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": ",",
13
+ "1": "0",
14
+ "2": "B-BIOMARCADOR",
15
+ "3": "B-CANCER",
16
+ "4": "B-CIRUGIA",
17
+ "5": "B-DOSIS",
18
+ "6": "B-EDAD",
19
+ "7": "B-FECHA",
20
+ "8": "B-GLEASON",
21
+ "9": "B-MEDICAMENTO",
22
+ "10": "B-TNM",
23
+ "11": "B-TRATAMIENTO",
24
+ "12": "I-BIOMARCADOR",
25
+ "13": "I-CANCER",
26
+ "14": "I-CIRUGIA",
27
+ "15": "I-DOSIS",
28
+ "16": "I-EDAD",
29
+ "17": "I-FECHA",
30
+ "18": "I-GLEASON",
31
+ "19": "I-MEDICAMENTO",
32
+ "20": "I-TNM",
33
+ "21": "I-TRATAMIENTO",
34
+ "22": "O"
35
+ },
36
+ "initializer_range": 0.02,
37
+ "intermediate_size": 3072,
38
+ "label2id": {
39
+ ",": 0,
40
+ "0": 1,
41
+ "B-BIOMARCADOR": 2,
42
+ "B-CANCER": 3,
43
+ "B-CIRUGIA": 4,
44
+ "B-DOSIS": 5,
45
+ "B-EDAD": 6,
46
+ "B-FECHA": 7,
47
+ "B-GLEASON": 8,
48
+ "B-MEDICAMENTO": 9,
49
+ "B-TNM": 10,
50
+ "B-TRATAMIENTO": 11,
51
+ "I-BIOMARCADOR": 12,
52
+ "I-CANCER": 13,
53
+ "I-CIRUGIA": 14,
54
+ "I-DOSIS": 15,
55
+ "I-EDAD": 16,
56
+ "I-FECHA": 17,
57
+ "I-GLEASON": 18,
58
+ "I-MEDICAMENTO": 19,
59
+ "I-TNM": 20,
60
+ "I-TRATAMIENTO": 21,
61
+ "O": 22
62
+ },
63
+ "layer_norm_eps": 1e-12,
64
+ "max_position_embeddings": 512,
65
+ "model_type": "bert",
66
+ "num_attention_heads": 12,
67
+ "num_hidden_layers": 12,
68
+ "output_past": true,
69
+ "pad_token_id": 1,
70
+ "position_embedding_type": "absolute",
71
+ "torch_dtype": "float32",
72
+ "transformers_version": "4.52.4",
73
+ "type_vocab_size": 2,
74
+ "use_cache": true,
75
+ "vocab_size": 31002
76
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8fcd30c7b0c28cb8c129cbb0c4b34832cbff874440bb5bd09500113812a7329b
3
+ size 437135244
special_tokens_map.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
+ }
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": "[MASK]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "[PAD]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "3": {
20
+ "content": "[UNK]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "4": {
28
+ "content": "[CLS]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "5": {
36
+ "content": "[SEP]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": false,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": false,
48
+ "extra_special_tokens": {},
49
+ "mask_token": "[MASK]",
50
+ "model_max_length": 512,
51
+ "never_split": null,
52
+ "pad_token": "[PAD]",
53
+ "sep_token": "[SEP]",
54
+ "strip_accents": false,
55
+ "tokenize_chinese_chars": true,
56
+ "tokenizer_class": "BertTokenizer",
57
+ "unk_token": "[UNK]"
58
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:46e1764ca4bec45f5a445e9e44126dadd7c4389c33f5a58b84f7cf122f9b2117
3
+ size 5304
vocab.txt ADDED
The diff for this file is too large to render. See raw diff