jhonalevc1995
commited on
Commit
•
246ba0b
1
Parent(s):
2917c00
First Attempt
Browse files- README.md +70 -0
- config.json +27 -0
- model.safetensors +3 -0
- runs/Sep20_18-16-56_Alejandros-MacBook-Pro.local/events.out.tfevents.1726874227.Alejandros-MacBook-Pro.local.1064.0 +3 -0
- runs/Sep20_18-22-31_Alejandros-MacBook-Pro.local/events.out.tfevents.1726874555.Alejandros-MacBook-Pro.local.1064.1 +3 -0
- runs/Sep20_18-24-42_Alejandros-MacBook-Pro.local/events.out.tfevents.1726874686.Alejandros-MacBook-Pro.local.1064.2 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
- precision
|
10 |
+
- recall
|
11 |
+
- f1
|
12 |
+
model-index:
|
13 |
+
- name: output
|
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 |
+
# output
|
21 |
+
|
22 |
+
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
|
23 |
+
It achieves the following results on the evaluation set:
|
24 |
+
- Loss: 0.6907
|
25 |
+
- Accuracy: 0.5353
|
26 |
+
- Precision: 0.5353
|
27 |
+
- Recall: 1.0
|
28 |
+
- F1: 0.6973
|
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: 4
|
49 |
+
- eval_batch_size: 4
|
50 |
+
- seed: 0
|
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 | Precision | Recall | F1 |
|
58 |
+
|:-------------:|:------:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
|
59 |
+
| 0.1784 | 0.1380 | 500 | 0.1054 | 0.9818 | 0.9732 | 0.9933 | 0.9832 |
|
60 |
+
| 0.6684 | 0.2759 | 1000 | 0.6982 | 0.5353 | 0.5353 | 1.0 | 0.6973 |
|
61 |
+
| 0.7065 | 0.4139 | 1500 | 0.6939 | 0.5353 | 0.5353 | 1.0 | 0.6973 |
|
62 |
+
| 0.6972 | 0.5519 | 2000 | 0.6907 | 0.5353 | 0.5353 | 1.0 | 0.6973 |
|
63 |
+
|
64 |
+
|
65 |
+
### Framework versions
|
66 |
+
|
67 |
+
- Transformers 4.44.2
|
68 |
+
- Pytorch 2.4.0
|
69 |
+
- Datasets 3.0.0
|
70 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 3072,
|
14 |
+
"layer_norm_eps": 1e-12,
|
15 |
+
"max_position_embeddings": 512,
|
16 |
+
"model_type": "bert",
|
17 |
+
"num_attention_heads": 12,
|
18 |
+
"num_hidden_layers": 12,
|
19 |
+
"pad_token_id": 0,
|
20 |
+
"position_embedding_type": "absolute",
|
21 |
+
"problem_type": "single_label_classification",
|
22 |
+
"torch_dtype": "float32",
|
23 |
+
"transformers_version": "4.44.2",
|
24 |
+
"type_vocab_size": 2,
|
25 |
+
"use_cache": true,
|
26 |
+
"vocab_size": 30522
|
27 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5c4aa3e7e33c21502ce463e591b45498ec0e52739ebd20ee1f68785654d1217d
|
3 |
+
size 437958648
|
runs/Sep20_18-16-56_Alejandros-MacBook-Pro.local/events.out.tfevents.1726874227.Alejandros-MacBook-Pro.local.1064.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:db5e4b18ee8db89430e22bfee03149baa3c628362276705bab59c927c43f0a6f
|
3 |
+
size 4881
|
runs/Sep20_18-22-31_Alejandros-MacBook-Pro.local/events.out.tfevents.1726874555.Alejandros-MacBook-Pro.local.1064.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c7d45fcefa717afa5ea6143627b5752ecc33d890cf326208cf97130c5c5256d3
|
3 |
+
size 4881
|
runs/Sep20_18-24-42_Alejandros-MacBook-Pro.local/events.out.tfevents.1726874686.Alejandros-MacBook-Pro.local.1064.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a91a7873a44dbfe65c3134911a611574f3b0d3f07c56c4863e579dc929505930
|
3 |
+
size 13583
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:30f2693eaeff7577f46b7a6c1959dd2c6eb60e9af236b8a59286be79b3b2ec04
|
3 |
+
size 5176
|