thetkrans commited on
Commit
d81a89e
·
verified ·
1 Parent(s): 1c67a13

thetkrans/beto-percepcion-inseguridad-3niveles

Browse files
Files changed (4) hide show
  1. README.md +68 -0
  2. config.json +41 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ base_model: dccuchile/bert-base-spanish-wwm-cased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - f1
9
+ model-index:
10
+ - name: ft_v2_checkpoints
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # ft_v2_checkpoints
18
+
19
+ 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.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 1.6632
22
+ - Accuracy: 0.6
23
+ - F1: 0.5355
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 2e-05
43
+ - train_batch_size: 16
44
+ - eval_batch_size: 32
45
+ - seed: 42
46
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
47
+ - lr_scheduler_type: linear
48
+ - lr_scheduler_warmup_steps: 0.1
49
+ - num_epochs: 8
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
54
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
55
+ | 1.0665 | 1.0 | 50 | 0.9966 | 0.58 | 0.4487 |
56
+ | 0.8694 | 2.0 | 100 | 0.9078 | 0.58 | 0.5404 |
57
+ | 0.6200 | 3.0 | 150 | 1.3050 | 0.585 | 0.4621 |
58
+ | 0.3725 | 4.0 | 200 | 1.1463 | 0.63 | 0.5754 |
59
+ | 0.3001 | 5.0 | 250 | 1.3465 | 0.6 | 0.5454 |
60
+ | 0.1515 | 6.0 | 300 | 1.6632 | 0.6 | 0.5355 |
61
+
62
+
63
+ ### Framework versions
64
+
65
+ - Transformers 5.13.1
66
+ - Pytorch 2.11.0+cu128
67
+ - Datasets 4.0.0
68
+ - Tokenizers 0.22.2
config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": null,
8
+ "classifier_dropout": null,
9
+ "dtype": "float32",
10
+ "eos_token_id": null,
11
+ "gradient_checkpointing": false,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 768,
15
+ "id2label": {
16
+ "0": "LABEL_0",
17
+ "1": "LABEL_1",
18
+ "2": "LABEL_2"
19
+ },
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 3072,
22
+ "is_decoder": false,
23
+ "label2id": {
24
+ "LABEL_0": 0,
25
+ "LABEL_1": 1,
26
+ "LABEL_2": 2
27
+ },
28
+ "layer_norm_eps": 1e-12,
29
+ "max_position_embeddings": 512,
30
+ "model_type": "bert",
31
+ "num_attention_heads": 12,
32
+ "num_hidden_layers": 12,
33
+ "output_past": true,
34
+ "pad_token_id": 1,
35
+ "position_embedding_type": "absolute",
36
+ "tie_word_embeddings": true,
37
+ "transformers_version": "5.13.1",
38
+ "type_vocab_size": 2,
39
+ "use_cache": false,
40
+ "vocab_size": 31002
41
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15094d39521e4965985b011831a832dcf02a2fc0a410575221cd4adfc474aa91
3
+ size 439436284
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd62bc3e79276304895acb5a7450d01b04f6ca622b326277166adf4f7d667e52
3
+ size 5201