JDSalcedo commited on
Commit
f8c2f07
1 Parent(s): 81ed87a

End of training

Browse files
Files changed (4) hide show
  1. README.md +69 -0
  2. config.json +79 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: bert-base-uncased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - f1
10
+ - precision
11
+ - recall
12
+ model-index:
13
+ - name: results
14
+ results: []
15
+ ---
16
+
17
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
+
20
+ # results
21
+
22
+ This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the None dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.8966
25
+ - Accuracy: 0.8304
26
+ - F1: 0.8142
27
+ - Precision: 0.8237
28
+ - Recall: 0.8304
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: 2e-05
48
+ - train_batch_size: 16
49
+ - eval_batch_size: 16
50
+ - seed: 42
51
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 3
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
58
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
59
+ | 1.3511 | 1.0 | 109 | 1.2534 | 0.8123 | 0.7876 | 0.8097 | 0.8123 |
60
+ | 0.9669 | 2.0 | 218 | 0.9521 | 0.8238 | 0.8071 | 0.8043 | 0.8238 |
61
+ | 0.7468 | 3.0 | 327 | 0.8906 | 0.8352 | 0.8188 | 0.8141 | 0.8352 |
62
+
63
+
64
+ ### Framework versions
65
+
66
+ - Transformers 4.44.2
67
+ - Pytorch 2.4.1+cu121
68
+ - Datasets 3.0.1
69
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-base-uncased",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
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
+ "18": "LABEL_18",
32
+ "19": "LABEL_19",
33
+ "20": "LABEL_20",
34
+ "21": "LABEL_21",
35
+ "22": "LABEL_22",
36
+ "23": "LABEL_23"
37
+ },
38
+ "initializer_range": 0.02,
39
+ "intermediate_size": 3072,
40
+ "label2id": {
41
+ "LABEL_0": 0,
42
+ "LABEL_1": 1,
43
+ "LABEL_10": 10,
44
+ "LABEL_11": 11,
45
+ "LABEL_12": 12,
46
+ "LABEL_13": 13,
47
+ "LABEL_14": 14,
48
+ "LABEL_15": 15,
49
+ "LABEL_16": 16,
50
+ "LABEL_17": 17,
51
+ "LABEL_18": 18,
52
+ "LABEL_19": 19,
53
+ "LABEL_2": 2,
54
+ "LABEL_20": 20,
55
+ "LABEL_21": 21,
56
+ "LABEL_22": 22,
57
+ "LABEL_23": 23,
58
+ "LABEL_3": 3,
59
+ "LABEL_4": 4,
60
+ "LABEL_5": 5,
61
+ "LABEL_6": 6,
62
+ "LABEL_7": 7,
63
+ "LABEL_8": 8,
64
+ "LABEL_9": 9
65
+ },
66
+ "layer_norm_eps": 1e-12,
67
+ "max_position_embeddings": 512,
68
+ "model_type": "bert",
69
+ "num_attention_heads": 12,
70
+ "num_hidden_layers": 12,
71
+ "pad_token_id": 0,
72
+ "position_embedding_type": "absolute",
73
+ "problem_type": "single_label_classification",
74
+ "torch_dtype": "float32",
75
+ "transformers_version": "4.44.2",
76
+ "type_vocab_size": 2,
77
+ "use_cache": true,
78
+ "vocab_size": 30522
79
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0dac579123be24b748eae28442ea43f181749ab143dc317dbe022d8db79c0349
3
+ size 438026320
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:33f65d45f56d4baeb07a9417028a3b553d416db8078ca3604810397fead7c9a8
3
+ size 5112