hf-transformers-bot commited on
Commit
5dc1237
1 Parent(s): 788fee9

Upload tiny models for XGLMModel

Browse files
.gitattributes CHANGED
@@ -32,3 +32,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
  *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
  *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
35
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "tiny_models/xglm/XGLMModel",
3
+ "activation_dropout": 0.1,
4
+ "activation_function": "gelu",
5
+ "architectures": [
6
+ "XGLMModel"
7
+ ],
8
+ "attention_dropout": 0.1,
9
+ "attention_heads": 4,
10
+ "bos_token_id": 0,
11
+ "d_model": 32,
12
+ "decoder_start_token_id": 2,
13
+ "dropout": 0.1,
14
+ "eos_token_id": 2,
15
+ "ffn_dim": 37,
16
+ "gradient_checkpointing": false,
17
+ "init_std": 0.02,
18
+ "initializer_range": 0.02,
19
+ "layerdrop": 0.0,
20
+ "max_position_embeddings": 512,
21
+ "model_type": "xglm",
22
+ "num_layers": 5,
23
+ "pad_token_id": 1,
24
+ "scale_embedding": true,
25
+ "torch_dtype": "float32",
26
+ "transformers_version": "4.28.0.dev0",
27
+ "use_cache": true,
28
+ "vocab_size": 256008
29
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d7f790ea8762b3eccb2d03b5b79aa3dc49c09bebfd57c458054ce90e8d9304a6
3
+ size 32996205
sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c49dc7e82c10227af764e518924cf2f9d50c00462750d184fa74697bba65eef8
3
+ size 4920706
special_tokens_map.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<madeupword0>",
4
+ "<madeupword1>",
5
+ "<madeupword2>",
6
+ "<madeupword3>",
7
+ "<madeupword4>",
8
+ "<madeupword5>",
9
+ "<madeupword6>"
10
+ ],
11
+ "bos_token": "<s>",
12
+ "cls_token": "<s>",
13
+ "eos_token": "</s>",
14
+ "pad_token": "<pad>",
15
+ "sep_token": "</s>",
16
+ "unk_token": "<unk>"
17
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20e6e67a17fc601af3c1b7ab33a8ee662d84c281f77afb3feb6d3ce34d404e7d
3
+ size 33064360
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c48025c56c78c2e1805007e6e068bf61ceedce91484eae064957cb865dcfec2
3
+ size 17225862
tokenizer_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<madeupword0>",
4
+ "<madeupword1>",
5
+ "<madeupword2>",
6
+ "<madeupword3>",
7
+ "<madeupword4>",
8
+ "<madeupword5>",
9
+ "<madeupword6>"
10
+ ],
11
+ "bos_token": "<s>",
12
+ "clean_up_tokenization_spaces": true,
13
+ "cls_token": "<s>",
14
+ "eos_token": "</s>",
15
+ "model_max_length": 512,
16
+ "pad_token": "<pad>",
17
+ "sep_token": "</s>",
18
+ "sp_model_kwargs": {},
19
+ "special_tokens_map_file": "hf_models/xglm-564M/special_tokens_map.json",
20
+ "tokenizer_class": "XGLMTokenizer",
21
+ "tokenizer_file": null,
22
+ "unk_token": "<unk>"
23
+ }