Stuti Agarwal commited on
Commit
e1f6472
·
verified ·
1 Parent(s): da6522d

BertSeqCls_full_data

Browse files
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
- license: cc-by-sa-4.0
3
- base_model: nlpaueb/bert-base-uncased-contracts
4
  tags:
5
  - generated_from_trainer
6
  metrics:
@@ -18,13 +18,13 @@ should probably proofread and complete it, then remove this comment. -->
18
 
19
  # output
20
 
21
- This model is a fine-tuned version of [nlpaueb/bert-base-uncased-contracts](https://huggingface.co/nlpaueb/bert-base-uncased-contracts) on an unknown dataset.
22
  It achieves the following results on the evaluation set:
23
- - Loss: 0.6712
24
- - Accuracy: 0.8288
25
- - Precision: 0.8218
26
- - Recall: 0.8288
27
- - F1: 0.8182
28
 
29
  ## Model description
30
 
@@ -44,8 +44,8 @@ More information needed
44
 
45
  The following hyperparameters were used during training:
46
  - learning_rate: 5e-05
47
- - train_batch_size: 8
48
- - eval_batch_size: 8
49
  - seed: 42
50
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
  - lr_scheduler_type: linear
@@ -53,19 +53,20 @@ The following hyperparameters were used during training:
53
 
54
  ### Training results
55
 
56
- | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
57
- |:-------------:|:-----:|:-----:|:---------------:|:--------:|:---------:|:------:|:------:|
58
- | 0.6899 | 1.0 | 2036 | 0.6712 | 0.8288 | 0.8218 | 0.8288 | 0.8182 |
59
- | 0.4942 | 2.0 | 4072 | 0.7382 | 0.8306 | 0.8386 | 0.8306 | 0.8265 |
60
- | 0.3387 | 3.0 | 6108 | 0.7275 | 0.8487 | 0.8568 | 0.8487 | 0.8473 |
61
- | 0.1892 | 4.0 | 8144 | 0.7668 | 0.8642 | 0.8626 | 0.8642 | 0.8600 |
62
- | 0.125 | 5.0 | 10180 | 0.8604 | 0.8583 | 0.8581 | 0.8583 | 0.8556 |
63
- | 0.0673 | 6.0 | 12216 | 0.8526 | 0.8649 | 0.8651 | 0.8649 | 0.8629 |
64
- | 0.0237 | 7.0 | 14252 | 0.8789 | 0.8657 | 0.8660 | 0.8657 | 0.8649 |
65
 
66
 
67
  ### Framework versions
68
 
69
- - Transformers 4.35.2
70
- - Pytorch 2.1.0+cu121
 
71
  - Tokenizers 0.15.0
 
1
  ---
2
+ license: apache-2.0
3
+ base_model: bert-base-uncased
4
  tags:
5
  - generated_from_trainer
6
  metrics:
 
18
 
19
  # output
20
 
21
+ This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
22
  It achieves the following results on the evaluation set:
23
+ - Loss: 0.7643
24
+ - Accuracy: 0.8686
25
+ - Precision: 0.8681
26
+ - Recall: 0.8686
27
+ - F1: 0.8673
28
 
29
  ## Model description
30
 
 
44
 
45
  The following hyperparameters were used during training:
46
  - learning_rate: 5e-05
47
+ - train_batch_size: 32
48
+ - eval_batch_size: 32
49
  - seed: 42
50
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
  - lr_scheduler_type: linear
 
53
 
54
  ### Training results
55
 
56
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
57
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
58
+ | 0.2969 | 1.0 | 505 | 0.6707 | 0.8376 | 0.8375 | 0.8376 | 0.8320 |
59
+ | 0.2567 | 2.0 | 1010 | 0.6184 | 0.8572 | 0.8516 | 0.8572 | 0.8519 |
60
+ | 0.1496 | 3.0 | 1515 | 0.6471 | 0.8693 | 0.8637 | 0.8693 | 0.8651 |
61
+ | 0.0826 | 4.0 | 2020 | 0.6897 | 0.8641 | 0.8600 | 0.8641 | 0.8604 |
62
+ | 0.0467 | 5.0 | 2525 | 0.7378 | 0.8676 | 0.8671 | 0.8676 | 0.8663 |
63
+ | 0.0229 | 6.0 | 3030 | 0.7521 | 0.8678 | 0.8670 | 0.8678 | 0.8666 |
64
+ | 0.01 | 7.0 | 3535 | 0.7643 | 0.8686 | 0.8681 | 0.8686 | 0.8673 |
65
 
66
 
67
  ### Framework versions
68
 
69
+ - Transformers 4.36.2
70
+ - Pytorch 2.0.0
71
+ - Datasets 2.1.0
72
  - Tokenizers 0.15.0
config.json CHANGED
@@ -1,11 +1,11 @@
1
  {
2
- "_name_or_path": "nlpaueb/bert-base-uncased-contracts",
3
  "architectures": [
4
  "BertForSequenceClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "classifier_dropout": null,
8
- "eos_token_ids": null,
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
@@ -76,12 +76,11 @@
76
  "model_type": "bert",
77
  "num_attention_heads": 12,
78
  "num_hidden_layers": 12,
79
- "output_past": true,
80
- "pad_token_id": null,
81
  "position_embedding_type": "absolute",
82
  "problem_type": "single_label_classification",
83
  "torch_dtype": "float32",
84
- "transformers_version": "4.35.2",
85
  "type_vocab_size": 2,
86
  "use_cache": true,
87
  "vocab_size": 30522
 
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,
 
76
  "model_type": "bert",
77
  "num_attention_heads": 12,
78
  "num_hidden_layers": 12,
79
+ "pad_token_id": 0,
 
80
  "position_embedding_type": "absolute",
81
  "problem_type": "single_label_classification",
82
  "torch_dtype": "float32",
83
+ "transformers_version": "4.36.2",
84
  "type_vocab_size": 2,
85
  "use_cache": true,
86
  "vocab_size": 30522
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:58349c1559534a94a68e159607cb60a7ee7a67052bb97fa3398b5d0ec3ab9960
3
  size 438038624
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bbe1c54359e68c9536eb85f9e3580a84a859f7422e0f334837af91ca7cd873c9
3
  size 438038624
runs/Jan18_16-55-16_5ec55a6fdce0/events.out.tfevents.1705596917.5ec55a6fdce0.78.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f55b3f3ea0b7ee5f61f18c62d2055560c3a16c49078d7e5c6a7d6565c08ba8cb
3
+ size 5501
runs/Jan18_16-59-35_5ec55a6fdce0/events.out.tfevents.1705597179.5ec55a6fdce0.78.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b4b68d19d946d1eea6798db6175d2f422a3cf0f1bf1aeb09d9f1ac71bf58a11
3
+ size 5709
runs/Jan18_17-15-17_5ec55a6fdce0/events.out.tfevents.1705598121.5ec55a6fdce0.78.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cefbaa4274862529f561b7afc12a3137af53140fdf975866e55d204169d50661
3
+ size 5552
runs/Jan18_17-18-29_5ec55a6fdce0/events.out.tfevents.1705598312.5ec55a6fdce0.78.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:332b63fef931f1289bc85268c65282241c374ad5c4022a0ffc309ffb3eb391f0
3
+ size 10308
runs/Jan18_17-18-29_5ec55a6fdce0/events.out.tfevents.1705604756.5ec55a6fdce0.78.4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c469c90bb492b8a90324918d479ea999cf4a12954ab856e4c9f6a2e94800eaa3
3
+ size 560
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b2dfafe79973f72a8575ee5c187fb5c7bc6edb61a0915813fc419e9b36af91e5
3
- size 4536
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c45b306b3826b810461f9faa6f05db7ef28855b121ee9e6693c984e8a7cabaea
3
+ size 4219