avinasht commited on
Commit
32f210d
1 Parent(s): b1765ca

Acc0.8439450686641697, F10.844443061215289 , Augmented with bert-base-uncased.csv, finetuned on SALT-NLP/FLANG-BERT

Browse files
Files changed (4) hide show
  1. README.md +83 -0
  2. config.json +37 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: SALT-NLP/FLANG-BERT
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - accuracy
7
+ - f1
8
+ - precision
9
+ - recall
10
+ model-index:
11
+ - name: FLANG-BERT_bert-base-uncased
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
+ # FLANG-BERT_bert-base-uncased
19
+
20
+ This model is a fine-tuned version of [SALT-NLP/FLANG-BERT](https://huggingface.co/SALT-NLP/FLANG-BERT) on an unknown dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 0.7138
23
+ - Accuracy: 0.8643
24
+ - F1: 0.8645
25
+ - Precision: 0.8681
26
+ - Recall: 0.8643
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: 0.0001
46
+ - train_batch_size: 64
47
+ - eval_batch_size: 64
48
+ - seed: 42
49
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
50
+ - lr_scheduler_type: linear
51
+ - lr_scheduler_warmup_steps: 1000
52
+ - num_epochs: 25
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
57
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
58
+ | 0.8614 | 1.0 | 91 | 0.8043 | 0.6443 | 0.6279 | 0.6398 | 0.6443 |
59
+ | 0.5386 | 2.0 | 182 | 0.4807 | 0.8112 | 0.8113 | 0.8150 | 0.8112 |
60
+ | 0.3422 | 3.0 | 273 | 0.4452 | 0.8300 | 0.8304 | 0.8351 | 0.8300 |
61
+ | 0.2617 | 4.0 | 364 | 0.5424 | 0.8190 | 0.8177 | 0.8259 | 0.8190 |
62
+ | 0.164 | 5.0 | 455 | 0.5162 | 0.8424 | 0.8414 | 0.8424 | 0.8424 |
63
+ | 0.1278 | 6.0 | 546 | 0.5737 | 0.8440 | 0.8439 | 0.8440 | 0.8440 |
64
+ | 0.0599 | 7.0 | 637 | 0.6869 | 0.8268 | 0.8236 | 0.8311 | 0.8268 |
65
+ | 0.1184 | 8.0 | 728 | 0.5331 | 0.8471 | 0.8475 | 0.8493 | 0.8471 |
66
+ | 0.1126 | 9.0 | 819 | 0.6979 | 0.8237 | 0.8221 | 0.8332 | 0.8237 |
67
+ | 0.0737 | 10.0 | 910 | 0.7481 | 0.8362 | 0.8362 | 0.8381 | 0.8362 |
68
+ | 0.1425 | 11.0 | 1001 | 0.7602 | 0.8315 | 0.8308 | 0.8331 | 0.8315 |
69
+ | 0.0666 | 12.0 | 1092 | 0.6645 | 0.8612 | 0.8612 | 0.8615 | 0.8612 |
70
+ | 0.0523 | 13.0 | 1183 | 0.7138 | 0.8643 | 0.8645 | 0.8681 | 0.8643 |
71
+ | 0.0168 | 14.0 | 1274 | 0.7317 | 0.8534 | 0.8525 | 0.8527 | 0.8534 |
72
+ | 0.0336 | 15.0 | 1365 | 0.8575 | 0.8456 | 0.8454 | 0.8553 | 0.8456 |
73
+ | 0.0424 | 16.0 | 1456 | 0.9331 | 0.8409 | 0.8386 | 0.8423 | 0.8409 |
74
+ | 0.0188 | 17.0 | 1547 | 0.7885 | 0.8596 | 0.8595 | 0.8599 | 0.8596 |
75
+ | 0.0032 | 18.0 | 1638 | 0.8774 | 0.8596 | 0.8584 | 0.8592 | 0.8596 |
76
+
77
+
78
+ ### Framework versions
79
+
80
+ - Transformers 4.37.0
81
+ - Pytorch 2.1.2
82
+ - Datasets 2.1.0
83
+ - Tokenizers 0.15.1
config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "SALT-NLP/FLANG-BERT",
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
+ "id2label": {
13
+ "0": "LABEL_0",
14
+ "1": "LABEL_1",
15
+ "2": "LABEL_2"
16
+ },
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 3072,
19
+ "label2id": {
20
+ "LABEL_0": 0,
21
+ "LABEL_1": 1,
22
+ "LABEL_2": 2
23
+ },
24
+ "layer_norm_eps": 1e-12,
25
+ "max_position_embeddings": 512,
26
+ "model_type": "bert",
27
+ "num_attention_heads": 12,
28
+ "num_hidden_layers": 12,
29
+ "pad_token_id": 0,
30
+ "position_embedding_type": "absolute",
31
+ "problem_type": "single_label_classification",
32
+ "torch_dtype": "float32",
33
+ "transformers_version": "4.37.0",
34
+ "type_vocab_size": 2,
35
+ "use_cache": true,
36
+ "vocab_size": 30522
37
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38e24e1a4e9de12d7188f403e92bd7b8330bb46e60673925012ae5be2a36dc9c
3
+ size 437961724
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f8f3127dc1f9b1eab35b764a5d5b3583f35d2b2731358a24a7b65db54be9c98
3
+ size 4664