Stuti Agarwal commited on
LambdaX-AI/SeqClsBertFullDataset
Browse files
README.md
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-sa-4.0
|
| 3 |
+
base_model: nlpaueb/bert-base-uncased-contracts
|
| 4 |
+
tags:
|
| 5 |
+
- generated_from_trainer
|
| 6 |
+
metrics:
|
| 7 |
+
- accuracy
|
| 8 |
+
- precision
|
| 9 |
+
- recall
|
| 10 |
+
- f1
|
| 11 |
+
model-index:
|
| 12 |
+
- name: output
|
| 13 |
+
results: []
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 17 |
+
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 |
+
|
| 31 |
+
More information needed
|
| 32 |
+
|
| 33 |
+
## Intended uses & limitations
|
| 34 |
+
|
| 35 |
+
More information needed
|
| 36 |
+
|
| 37 |
+
## Training and evaluation data
|
| 38 |
+
|
| 39 |
+
More information needed
|
| 40 |
+
|
| 41 |
+
## Training procedure
|
| 42 |
+
|
| 43 |
+
### Training hyperparameters
|
| 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
|
| 52 |
+
- num_epochs: 7
|
| 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
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 438038624
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:58349c1559534a94a68e159607cb60a7ee7a67052bb97fa3398b5d0ec3ab9960
|
| 3 |
size 438038624
|
runs/Jan16_16-24-21_80b3d63e199d/events.out.tfevents.1705422262.80b3d63e199d.8425.0
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:acfa15acc47a91af23cfc55b82e50d128855904ef5b579fa8d2e16495d2613e7
|
| 3 |
+
size 13388
|
runs/Jan16_16-24-21_80b3d63e199d/events.out.tfevents.1705428444.80b3d63e199d.8425.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ef95a8580dea1526013c26a2ddad7639f917d5429708cc6fe7507a359a647452
|
| 3 |
+
size 560
|