hf-transformers-bot commited on
Commit
8d7bd60
1 Parent(s): 178a4c5

Upload tiny models for ErnieMForQuestionAnswering

Browse files
config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "act_dropout": 0.0,
3
+ "architectures": [
4
+ "ErnieMForQuestionAnswering"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 32,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 37,
13
+ "layer_norm_eps": 1e-05,
14
+ "max_position_embeddings": 512,
15
+ "model_type": "ernie_m",
16
+ "num_attention_heads": 4,
17
+ "num_hidden_layers": 5,
18
+ "pad_token_id": 1,
19
+ "torch_dtype": "float32",
20
+ "transformers_version": "4.28.0.dev0",
21
+ "type_vocab_size": 16,
22
+ "vocab_size": 250002
23
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35c2ad6df583d054cdbe40279c967350e970a2c4282bba3c3b4ee2aa812af4f0
3
+ size 32229491
sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
3
+ size 5069051
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,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "clean_up_tokenization_spaces": true,
3
+ "cls_token": "[CLS]",
4
+ "do_lower_case": false,
5
+ "encoding": "utf8",
6
+ "mask_token": "[MASK]",
7
+ "model_max_length": 512,
8
+ "pad_token": "[PAD]",
9
+ "sep_token": "[SEP]",
10
+ "sp_model_kwargs": {},
11
+ "special_tokens_map_file": "/home/runner/.cache/huggingface/hub/models--susnato--ernie-m-base_pytorch/snapshots/dc3909120bc2c81f9e527b758df2b3ba79b63720/special_tokens_map.json",
12
+ "tokenizer_class": "ErnieMTokenizer",
13
+ "unk_token": "[UNK]"
14
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff