avinasht commited on
Commit
bc34e9f
1 Parent(s): 9154ba6

Acc0.9188514357053683, F10.9183760404581043 , Augmented with Synonym-wordnet.csv, finetuned on SALT-NLP/FLANG-ELECTRA

Browse files
Files changed (4) hide show
  1. README.md +84 -0
  2. config.json +41 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: SALT-NLP/FLANG-ELECTRA
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - accuracy
7
+ - f1
8
+ - precision
9
+ - recall
10
+ model-index:
11
+ - name: FLANG-ELECTRA_Synonym-wordnet
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-ELECTRA_Synonym-wordnet
19
+
20
+ This model is a fine-tuned version of [SALT-NLP/FLANG-ELECTRA](https://huggingface.co/SALT-NLP/FLANG-ELECTRA) on an unknown dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 0.3701
23
+ - Accuracy: 0.9376
24
+ - F1: 0.9374
25
+ - Precision: 0.9374
26
+ - Recall: 0.9376
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: 32
47
+ - eval_batch_size: 32
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.6271 | 1.0 | 181 | 0.4625 | 0.8409 | 0.8408 | 0.8424 | 0.8409 |
59
+ | 0.3372 | 2.0 | 362 | 0.3312 | 0.8955 | 0.8959 | 0.8991 | 0.8955 |
60
+ | 0.1762 | 3.0 | 543 | 0.3046 | 0.9048 | 0.9040 | 0.9050 | 0.9048 |
61
+ | 0.313 | 4.0 | 724 | 0.3908 | 0.8986 | 0.8988 | 0.9018 | 0.8986 |
62
+ | 0.2564 | 5.0 | 905 | 0.3268 | 0.9080 | 0.9073 | 0.9078 | 0.9080 |
63
+ | 0.3189 | 6.0 | 1086 | 0.6418 | 0.7956 | 0.7933 | 0.8130 | 0.7956 |
64
+ | 0.365 | 7.0 | 1267 | 0.7276 | 0.7894 | 0.7889 | 0.7890 | 0.7894 |
65
+ | 0.1356 | 8.0 | 1448 | 0.6091 | 0.8814 | 0.8811 | 0.8816 | 0.8814 |
66
+ | 0.1139 | 9.0 | 1629 | 0.4184 | 0.8924 | 0.8916 | 0.8948 | 0.8924 |
67
+ | 0.1238 | 10.0 | 1810 | 0.3155 | 0.9220 | 0.9213 | 0.9231 | 0.9220 |
68
+ | 0.077 | 11.0 | 1991 | 0.4511 | 0.9017 | 0.9025 | 0.9061 | 0.9017 |
69
+ | 0.0613 | 12.0 | 2172 | 0.4132 | 0.9142 | 0.9141 | 0.9145 | 0.9142 |
70
+ | 0.0514 | 13.0 | 2353 | 0.3735 | 0.9298 | 0.9296 | 0.9321 | 0.9298 |
71
+ | 0.057 | 14.0 | 2534 | 0.3701 | 0.9376 | 0.9374 | 0.9374 | 0.9376 |
72
+ | 0.0152 | 15.0 | 2715 | 0.3872 | 0.9360 | 0.9357 | 0.9384 | 0.9360 |
73
+ | 0.0236 | 16.0 | 2896 | 0.4117 | 0.9314 | 0.9310 | 0.9320 | 0.9314 |
74
+ | 0.0277 | 17.0 | 3077 | 0.5325 | 0.9204 | 0.9197 | 0.9208 | 0.9204 |
75
+ | 0.0021 | 18.0 | 3258 | 0.4227 | 0.9236 | 0.9229 | 0.9236 | 0.9236 |
76
+ | 0.0005 | 19.0 | 3439 | 0.5409 | 0.9314 | 0.9308 | 0.9334 | 0.9314 |
77
+
78
+
79
+ ### Framework versions
80
+
81
+ - Transformers 4.37.0
82
+ - Pytorch 2.1.2
83
+ - Datasets 2.1.0
84
+ - Tokenizers 0.15.1
config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "SALT-NLP/FLANG-ELECTRA",
3
+ "architectures": [
4
+ "ElectraForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "embedding_size": 1024,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 1024,
12
+ "id2label": {
13
+ "0": "LABEL_0",
14
+ "1": "LABEL_1",
15
+ "2": "LABEL_2"
16
+ },
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 4096,
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": "electra",
27
+ "num_attention_heads": 16,
28
+ "num_hidden_layers": 24,
29
+ "pad_token_id": 0,
30
+ "position_embedding_type": "absolute",
31
+ "problem_type": "single_label_classification",
32
+ "summary_activation": "gelu",
33
+ "summary_last_dropout": 0.1,
34
+ "summary_type": "first",
35
+ "summary_use_proj": true,
36
+ "torch_dtype": "float32",
37
+ "transformers_version": "4.37.0",
38
+ "type_vocab_size": 2,
39
+ "use_cache": true,
40
+ "vocab_size": 30522
41
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:deb32a73da8381517486e78acbd0443ce3fefc4382934283a88012b78c4ed8f1
3
+ size 1340628036
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc7df63da314734f1b02e5540716a16128d8070b0ffb8dcf121ae6267bd3c3aa
3
+ size 4664