hf-transformers-bot commited on
Commit
edb3a4c
·
verified ·
1 Parent(s): 9f65e62

Update tiny models for OpenAIGPTModel

Browse files
Files changed (4) hide show
  1. config.json +28 -0
  2. model.safetensors +3 -0
  3. tokenizer.json +0 -0
  4. tokenizer_config.json +8 -0
config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "afn": "gelu",
3
+ "architectures": [
4
+ "OpenAIGPTModel"
5
+ ],
6
+ "attn_pdrop": 0.1,
7
+ "bos_token_id": null,
8
+ "dtype": "float32",
9
+ "embd_pdrop": 0.1,
10
+ "eos_token_id": null,
11
+ "initializer_range": 0.02,
12
+ "layer_norm_epsilon": 1e-05,
13
+ "model_type": "openai-gpt",
14
+ "n_embd": 32,
15
+ "n_head": 4,
16
+ "n_layer": 2,
17
+ "n_positions": 512,
18
+ "pad_token_id": 40477,
19
+ "resid_pdrop": 0.1,
20
+ "summary_activation": null,
21
+ "summary_first_dropout": 0.1,
22
+ "summary_proj_to_labels": true,
23
+ "summary_type": "cls_index",
24
+ "summary_use_proj": true,
25
+ "tie_word_embeddings": true,
26
+ "transformers_version": "5.16.0.dev0",
27
+ "vocab_size": 40478
28
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3119ee0bc2d6f23b72bb405ef27621bbe8492d6456bc80ec9754f4f7bd3e3487
3
+ size 5350496
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "is_local": true,
4
+ "local_files_only": false,
5
+ "model_max_length": 512,
6
+ "tokenizer_class": "OpenAIGPTTokenizer",
7
+ "unk_token": "<unk>"
8
+ }