Upload ElectraForSequenceClassification

#1
by SKNahin - opened
Files changed (2) hide show
  1. config.json +48 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/kaggle/input/bert-sentiment-pretrain/banglish_bert/",
3
+ "_num_labels": 2,
4
+ "amp": true,
5
+ "architectures": [
6
+ "ElectraForSequenceClassification"
7
+ ],
8
+ "attention_probs_dropout_prob": 0.1,
9
+ "classifier_dropout": null,
10
+ "embedding_size": 768,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
+ "id2label": {
15
+ "0": "query",
16
+ "1": "recommendation",
17
+ "2": "Positive",
18
+ "3": "Negative",
19
+ "4": "Neutral"
20
+ },
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 3072,
23
+ "label2id": {
24
+ "Negative": 3,
25
+ "Neutral": 4,
26
+ "Positive": 2,
27
+ "query": 0,
28
+ "recommendation": 1
29
+ },
30
+ "layer_norm_eps": 1e-12,
31
+ "max_position_embeddings": 512,
32
+ "model_type": "electra",
33
+ "num_attention_heads": 12,
34
+ "num_hidden_layers": 12,
35
+ "output_past": true,
36
+ "pad_token_id": 0,
37
+ "position_embedding_type": "absolute",
38
+ "problem_type": "single_label_classification",
39
+ "summary_activation": "gelu",
40
+ "summary_last_dropout": 0.1,
41
+ "summary_type": "first",
42
+ "summary_use_proj": true,
43
+ "torch_dtype": "float32",
44
+ "transformers_version": "4.30.2",
45
+ "type_vocab_size": 2,
46
+ "use_cache": true,
47
+ "vocab_size": 41586
48
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ac73bd6f0719fe379644806cd9ddad511da9284660501f6bc95f2e26be27d7fe
3
+ size 472006325