hf-transformers-bot commited on
Commit
3560fcd
1 Parent(s): 8c002a5

Upload tiny models for PLBartModel

Browse files
config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_dropout": 0.0,
3
+ "activation_function": "gelu",
4
+ "architectures": [
5
+ "PLBartModel"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "bos_token_id": 0,
9
+ "classifier_dropout": 0.0,
10
+ "d_model": 16,
11
+ "decoder_attention_heads": 4,
12
+ "decoder_ffn_dim": 4,
13
+ "decoder_layerdrop": 0.0,
14
+ "decoder_layers": 2,
15
+ "dropout": 0.1,
16
+ "encoder_attention_heads": 4,
17
+ "encoder_ffn_dim": 4,
18
+ "encoder_layerdrop": 0.0,
19
+ "encoder_layers": 2,
20
+ "eos_token_id": 2,
21
+ "forced_eos_token_id": 2,
22
+ "init_std": 0.02,
23
+ "is_encoder_decoder": true,
24
+ "max_position_embeddings": 100,
25
+ "model_type": "plbart",
26
+ "num_hidden_layers": 2,
27
+ "pad_token_id": 1,
28
+ "scale_embedding": true,
29
+ "torch_dtype": "float32",
30
+ "transformers_version": "4.28.0.dev0",
31
+ "use_cache": true,
32
+ "vocab_size": 50005
33
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b0f7093f87c5b53a403e81377f5fd5505df6dd71a4dfc4da68f9e852348675c
3
+ size 3272002
sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f72f5d040a176945623a255484d24066f8c0da89a294359154e226efbe494b80
3
+ size 985833
special_tokens_map.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "__java__",
4
+ "__python__",
5
+ "__en_XX__"
6
+ ],
7
+ "bos_token": "<s>",
8
+ "cls_token": "<s>",
9
+ "eos_token": "</s>",
10
+ "mask_token": {
11
+ "content": "<mask>",
12
+ "lstrip": true,
13
+ "normalized": true,
14
+ "rstrip": false,
15
+ "single_word": false
16
+ },
17
+ "pad_token": "<pad>",
18
+ "sep_token": "</s>",
19
+ "unk_token": "<unk>"
20
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": null,
3
+ "bos_token": "<s>",
4
+ "clean_up_tokenization_spaces": true,
5
+ "cls_token": "<s>",
6
+ "eos_token": "</s>",
7
+ "language_codes": "base",
8
+ "mask_token": {
9
+ "__type": "AddedToken",
10
+ "content": "<mask>",
11
+ "lstrip": true,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "model_max_length": 100,
17
+ "pad_token": "<pad>",
18
+ "sep_token": "</s>",
19
+ "sp_model_kwargs": {},
20
+ "special_tokens_map_file": null,
21
+ "src_lang": null,
22
+ "tgt_lang": null,
23
+ "tokenizer_class": "PLBartTokenizer",
24
+ "unk_token": "<unk>"
25
+ }