sandeshrajx commited on
Commit
5c0447f
1 Parent(s): f5d01c2
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: google-bert/bert-base-multilingual-uncased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - f1
9
+ - precision
10
+ model-index:
11
+ - name: bert-fraud-classification-test-mass
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/bim0galx)
19
+ # bert-fraud-classification-test-mass
20
+
21
+ This model is a fine-tuned version of [google-bert/bert-base-multilingual-uncased](https://huggingface.co/google-bert/bert-base-multilingual-uncased) on the None dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.3963
24
+ - F1: 0.8194
25
+ - Precision: 0.8445
26
+ - Val Accuracy: 0.8375
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.5197 | 0.1743 | 40 | 0.5468 | 0.7488 | 0.6907 | 0.7459 |
62
+ | 0.5208 | 0.3486 | 80 | 0.4667 | 0.7687 | 0.7890 | 0.7911 |
63
+ | 0.4235 | 0.5229 | 120 | 0.4351 | 0.7986 | 0.7898 | 0.8113 |
64
+ | 0.404 | 0.6972 | 160 | 0.4577 | 0.7972 | 0.7751 | 0.8066 |
65
+ | 0.3736 | 0.8715 | 200 | 0.4274 | 0.7914 | 0.8775 | 0.8240 |
66
+ | 0.419 | 1.0458 | 240 | 0.4058 | 0.7912 | 0.8737 | 0.8232 |
67
+ | 0.2701 | 1.2200 | 280 | 0.4075 | 0.8124 | 0.8393 | 0.8316 |
68
+ | 0.4345 | 1.3943 | 320 | 0.4246 | 0.8110 | 0.8088 | 0.8244 |
69
+ | 0.3258 | 1.5686 | 360 | 0.4023 | 0.7992 | 0.8788 | 0.8294 |
70
+ | 0.3938 | 1.7429 | 400 | 0.3945 | 0.8174 | 0.8447 | 0.8361 |
71
+ | 0.2529 | 1.9172 | 440 | 0.3963 | 0.8194 | 0.8445 | 0.8375 |
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.0
config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google-bert/bert-base-multilingual-uncased",
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:b8c7d1073b742315d21a1c351a4ec54c6b0246fde2ae49a7e33000dc922fbd72
3
+ size 669455360
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f45d56dc88d5f8e5615ceaa5028a10ddd20d954de316595ef4ca35768366ae3f
3
+ size 5176