makifcevik commited on
Commit
8502d99
·
verified ·
1 Parent(s): e57771b

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +17 -9
  2. model.safetensors +2 -2
  3. tokenizer_config.json +2 -4
config.json CHANGED
@@ -1,33 +1,41 @@
1
  {
2
  "architectures": [
3
- "BertForSequenceClassification"
4
  ],
5
  "attention_probs_dropout_prob": 0.1,
 
6
  "classifier_dropout": null,
7
- "hidden_act": "gelu",
8
- "hidden_dropout_prob": 0.1,
9
- "hidden_size": 128,
 
10
  "id2label": {
11
  "LABEL_0": "negative",
12
  "LABEL_1": "positive"
13
  },
14
  "initializer_range": 0.02,
15
  "intermediate_size": 512,
 
 
16
  "label2id": {
17
  "negative": 0,
18
  "positive": 1
19
  },
20
  "layer_norm_eps": 1e-12,
21
  "max_position_embeddings": 512,
22
- "model_type": "bert",
23
- "num_attention_heads": 2,
24
- "num_hidden_layers": 2,
 
 
25
  "pad_token_id": 0,
26
- "position_embedding_type": "absolute",
27
  "problem_type": "single_label_classification",
28
  "torch_dtype": "float32",
29
  "transformers_version": "4.51.3",
 
 
30
  "type_vocab_size": 2,
31
- "use_cache": true,
 
32
  "vocab_size": 30522
33
  }
 
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
  "LABEL_0": "negative",
14
  "LABEL_1": "positive"
15
  },
16
  "initializer_range": 0.02,
17
  "intermediate_size": 512,
18
+ "intra_bottleneck_size": 128,
19
+ "key_query_shared_bottleneck": true,
20
  "label2id": {
21
  "negative": 0,
22
  "positive": 1
23
  },
24
  "layer_norm_eps": 1e-12,
25
  "max_position_embeddings": 512,
26
+ "model_type": "mobilebert",
27
+ "normalization_type": "no_norm",
28
+ "num_attention_heads": 4,
29
+ "num_feedforward_networks": 4,
30
+ "num_hidden_layers": 24,
31
  "pad_token_id": 0,
 
32
  "problem_type": "single_label_classification",
33
  "torch_dtype": "float32",
34
  "transformers_version": "4.51.3",
35
+ "trigram_input": true,
36
+ "true_hidden_size": 128,
37
  "type_vocab_size": 2,
38
+ "use_bottleneck": true,
39
+ "use_bottleneck_attention": false,
40
  "vocab_size": 30522
41
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0053fef86ddfa093cdaccc6931a3dc51c243ed13d68523fc4d065afc87ab1604
3
- size 17549312
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf83bce81e36c9be6ce3c489f440f7b2626836074b1f7b6963213bc7ebfabc36
3
+ size 98470112
tokenizer_config.json CHANGED
@@ -41,18 +41,16 @@
41
  "special": true
42
  }
43
  },
44
- "clean_up_tokenization_spaces": true,
45
  "cls_token": "[CLS]",
46
- "do_basic_tokenize": true,
47
  "do_lower_case": true,
48
  "extra_special_tokens": {},
49
  "mask_token": "[MASK]",
50
  "model_max_length": 1000000000000000019884624838656,
51
- "never_split": null,
52
  "pad_token": "[PAD]",
53
  "sep_token": "[SEP]",
54
  "strip_accents": null,
55
  "tokenize_chinese_chars": true,
56
- "tokenizer_class": "BertTokenizer",
57
  "unk_token": "[UNK]"
58
  }
 
41
  "special": true
42
  }
43
  },
44
+ "clean_up_tokenization_spaces": false,
45
  "cls_token": "[CLS]",
 
46
  "do_lower_case": true,
47
  "extra_special_tokens": {},
48
  "mask_token": "[MASK]",
49
  "model_max_length": 1000000000000000019884624838656,
 
50
  "pad_token": "[PAD]",
51
  "sep_token": "[SEP]",
52
  "strip_accents": null,
53
  "tokenize_chinese_chars": true,
54
+ "tokenizer_class": "MobileBertTokenizer",
55
  "unk_token": "[UNK]"
56
  }