sandeshrajx commited on
Commit
5d9bee6
·
verified ·
1 Parent(s): d64d205
Files changed (4) hide show
  1. README.md +79 -0
  2. config.json +32 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: sandeshrajx/bert-fraud-classification-test-mass
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - f1
9
+ - precision
10
+ model-index:
11
+ - name: bert-fraud-classification-test-mass-4
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/sandeshrajx/ultron-nlp/runs/xnpaqmt6)
19
+ # bert-fraud-classification-test-mass-4
20
+
21
+ This model is a fine-tuned version of [sandeshrajx/bert-fraud-classification-test-mass](https://huggingface.co/sandeshrajx/bert-fraud-classification-test-mass) on the None dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.3408
24
+ - F1: 0.8508
25
+ - Precision: 0.8627
26
+ - Val Accuracy: 0.8663
27
+
28
+ ## Model description
29
+
30
+ More information needed
31
+
32
+ ## Intended uses & limitations
33
+
34
+ More information needed
35
+
36
+ ## Training and evaluation data
37
+
38
+ More information needed
39
+
40
+ ## Training procedure
41
+
42
+ ### Training hyperparameters
43
+
44
+ The following hyperparameters were used during training:
45
+ - learning_rate: 5e-05
46
+ - train_batch_size: 44
47
+ - eval_batch_size: 8
48
+ - seed: 42
49
+ - gradient_accumulation_steps: 2
50
+ - total_train_batch_size: 88
51
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
52
+ - lr_scheduler_type: linear
53
+ - lr_scheduler_warmup_steps: 50
54
+ - num_epochs: 2
55
+ - mixed_precision_training: Native AMP
56
+
57
+ ### Training results
58
+
59
+ | Training Loss | Epoch | Step | Validation Loss | F1 | Precision | Val Accuracy |
60
+ |:-------------:|:------:|:----:|:---------------:|:------:|:---------:|:------------:|
61
+ | 0.3874 | 0.1743 | 40 | 0.3197 | 0.8579 | 0.8936 | 0.8758 |
62
+ | 0.3614 | 0.3486 | 80 | 0.3427 | 0.8382 | 0.8846 | 0.8603 |
63
+ | 0.3563 | 0.5229 | 120 | 0.3505 | 0.8435 | 0.8468 | 0.8584 |
64
+ | 0.4263 | 0.6972 | 160 | 0.3407 | 0.8454 | 0.8589 | 0.8617 |
65
+ | 0.3514 | 0.8715 | 200 | 0.3473 | 0.8413 | 0.8421 | 0.8560 |
66
+ | 0.259 | 1.0458 | 240 | 0.3378 | 0.8417 | 0.9106 | 0.8663 |
67
+ | 0.3148 | 1.2200 | 280 | 0.3543 | 0.8479 | 0.8889 | 0.8679 |
68
+ | 0.2685 | 1.3943 | 320 | 0.3507 | 0.8501 | 0.9040 | 0.8715 |
69
+ | 0.2271 | 1.5686 | 360 | 0.3773 | 0.8406 | 0.8262 | 0.8526 |
70
+ | 0.376 | 1.7429 | 400 | 0.3412 | 0.8520 | 0.8731 | 0.8687 |
71
+ | 0.2739 | 1.9172 | 440 | 0.3408 | 0.8508 | 0.8627 | 0.8663 |
72
+
73
+
74
+ ### Framework versions
75
+
76
+ - Transformers 4.46.0.dev0
77
+ - Pytorch 2.4.1+cu121
78
+ - Datasets 3.0.1
79
+ - Tokenizers 0.20.1
config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "sandeshrajx/bert-fraud-classification-test-mass",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "directionality": "bidi",
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
+ "pooler_fc_size": 768,
21
+ "pooler_num_attention_heads": 12,
22
+ "pooler_num_fc_layers": 3,
23
+ "pooler_size_per_head": 128,
24
+ "pooler_type": "first_token_transform",
25
+ "position_embedding_type": "absolute",
26
+ "problem_type": "single_label_classification",
27
+ "torch_dtype": "float32",
28
+ "transformers_version": "4.46.0.dev0",
29
+ "type_vocab_size": 2,
30
+ "use_cache": true,
31
+ "vocab_size": 105879
32
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0550c95d4f8d00a7fc5f184f41c7190df3594b96808eea7843326654baf8f1ec
3
+ size 669455360
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24c7bd0f530074211f4a931b6c27e2dda022fd27536372f883b8e9b6c9df575c
3
+ size 5176