hf-transformers-bot commited on
Commit
3d01c08
1 Parent(s): 658c458

Upload tiny models for RoCBertForPreTraining

Browse files
config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "RoCBertForPreTraining"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "classifier_dropout": null,
7
+ "concat_input": true,
8
+ "enable_pronunciation": true,
9
+ "enable_shape": true,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 32,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 37,
15
+ "layer_norm_eps": 1e-12,
16
+ "max_position_embeddings": 512,
17
+ "model_type": "roc_bert",
18
+ "num_attention_heads": 4,
19
+ "num_hidden_layers": 5,
20
+ "pad_token_id": 0,
21
+ "position_embedding_type": "absolute",
22
+ "pronunciation_embed_dim": 32,
23
+ "pronunciation_vocab_size": 99,
24
+ "shape_embed_dim": 32,
25
+ "shape_vocab_size": 99,
26
+ "torch_dtype": "float32",
27
+ "transformers_version": "4.28.0.dev0",
28
+ "type_vocab_size": 16,
29
+ "use_cache": true,
30
+ "vocab_size": 21128
31
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:94b8ce240c3b14b67fb5d4075e1d798aa52a5dc7eac9628ceb314dc8e29de651
3
+ size 3074516
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "clean_up_tokenization_spaces": true,
3
+ "cls_token": "[CLS]",
4
+ "do_basic_tokenize": true,
5
+ "do_lower_case": true,
6
+ "mask_token": "[MASK]",
7
+ "model_max_length": 512,
8
+ "never_split": null,
9
+ "pad_token": "[PAD]",
10
+ "sep_token": "[SEP]",
11
+ "special_tokens_map_file": null,
12
+ "strip_accents": null,
13
+ "tokenize_chinese_chars": true,
14
+ "tokenizer_class": "RoCBertTokenizer",
15
+ "unk_token": "[UNK]"
16
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff
 
word_pronunciation.json ADDED
The diff for this file is too large to render. See raw diff
 
word_shape.json ADDED
The diff for this file is too large to render. See raw diff