hf-transformers-bot commited on
Commit
b493cc2
·
verified ·
1 Parent(s): 8bc2a3b

Update tiny models for MobileBertForNextSentencePrediction

Browse files
Files changed (4) hide show
  1. config.json +34 -0
  2. model.safetensors +3 -0
  3. tokenizer.json +0 -0
  4. tokenizer_config.json +15 -0
config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "MobileBertForNextSentencePrediction"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "classifier_activation": true,
7
+ "classifier_dropout": null,
8
+ "dtype": "float32",
9
+ "embedding_size": 32,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 64,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 37,
15
+ "intra_bottleneck_size": 128,
16
+ "is_decoder": false,
17
+ "key_query_shared_bottleneck": true,
18
+ "layer_norm_eps": 1e-12,
19
+ "max_position_embeddings": 512,
20
+ "model_type": "mobilebert",
21
+ "normalization_type": "no_norm",
22
+ "num_attention_heads": 4,
23
+ "num_feedforward_networks": 4,
24
+ "num_hidden_layers": 2,
25
+ "pad_token_id": 0,
26
+ "tie_word_embeddings": true,
27
+ "transformers_version": "5.16.0.dev0",
28
+ "trigram_input": true,
29
+ "true_hidden_size": 128,
30
+ "type_vocab_size": 16,
31
+ "use_bottleneck": true,
32
+ "use_bottleneck_attention": false,
33
+ "vocab_size": 30522
34
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe9b0349cbec0d034e1f6b1d6cb03e93e38658b0f2992066f25571e0425972bc
3
+ size 5082584
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "cls_token": "[CLS]",
4
+ "do_lower_case": true,
5
+ "is_local": true,
6
+ "local_files_only": false,
7
+ "mask_token": "[MASK]",
8
+ "model_max_length": 512,
9
+ "pad_token": "[PAD]",
10
+ "sep_token": "[SEP]",
11
+ "strip_accents": null,
12
+ "tokenize_chinese_chars": true,
13
+ "tokenizer_class": "BertTokenizer",
14
+ "unk_token": "[UNK]"
15
+ }