BinBashir commited on
Commit
5b0c07f
·
verified ·
1 Parent(s): 7afdc5c

Upload MobileBertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +43 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "MobileBertForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "classifier_activation": false,
7
+ "classifier_dropout": null,
8
+ "embedding_size": 128,
9
+ "hidden_act": "relu",
10
+ "hidden_dropout_prob": 0.0,
11
+ "hidden_size": 512,
12
+ "id2label": {
13
+ "0": "neutral",
14
+ "1": "positive",
15
+ "2": "negative"
16
+ },
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 512,
19
+ "intra_bottleneck_size": 128,
20
+ "key_query_shared_bottleneck": true,
21
+ "label2id": {
22
+ "negative": 2,
23
+ "neutral": 0,
24
+ "positive": 1
25
+ },
26
+ "layer_norm_eps": 1e-12,
27
+ "max_position_embeddings": 512,
28
+ "model_type": "mobilebert",
29
+ "normalization_type": "no_norm",
30
+ "num_attention_heads": 4,
31
+ "num_feedforward_networks": 4,
32
+ "num_hidden_layers": 24,
33
+ "pad_token_id": 0,
34
+ "problem_type": "single_label_classification",
35
+ "torch_dtype": "float32",
36
+ "transformers_version": "4.55.2",
37
+ "trigram_input": true,
38
+ "true_hidden_size": 128,
39
+ "type_vocab_size": 2,
40
+ "use_bottleneck": true,
41
+ "use_bottleneck_attention": false,
42
+ "vocab_size": 30522
43
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:892d2d83091a13f1b92706be3c6a3cd307d0f39de149dd5ab2514e33a6676e44
3
+ size 98472172