hf-transformers-bot commited on
Commit
c86189b
·
verified ·
1 Parent(s): a6bf2a3

Update tiny models for GPTJForSequenceClassification

Browse files
Files changed (4) hide show
  1. config.json +31 -0
  2. model.safetensors +3 -0
  3. tokenizer.json +0 -0
  4. tokenizer_config.json +14 -0
config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_function": "gelu_new",
3
+ "architectures": [
4
+ "GPTJForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "attn_pdrop": 0.0,
8
+ "bos_token_id": 50256,
9
+ "dtype": "float32",
10
+ "embd_pdrop": 0.0,
11
+ "eos_token_id": 50256,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.0,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 37,
16
+ "layer_norm_epsilon": 1e-05,
17
+ "model_type": "gptj",
18
+ "n_embd": 32,
19
+ "n_head": 4,
20
+ "n_inner": null,
21
+ "n_layer": 2,
22
+ "n_positions": 512,
23
+ "pad_token_id": 50399,
24
+ "resid_pdrop": 0.0,
25
+ "rotary_dim": 4,
26
+ "tie_word_embeddings": false,
27
+ "transformers_version": "5.16.0.dev0",
28
+ "type_vocab_size": 16,
29
+ "use_cache": true,
30
+ "vocab_size": 50400
31
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc84660f2d941bca53e1516a9fe595e2557264a857b7e215f4de1e2b26bdc769
3
+ size 6554072
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": "<|endoftext|>",
5
+ "eos_token": "<|endoftext|>",
6
+ "errors": "replace",
7
+ "from_slow": true,
8
+ "is_local": true,
9
+ "local_files_only": false,
10
+ "model_max_length": 512,
11
+ "pad_token": null,
12
+ "tokenizer_class": "GPT2Tokenizer",
13
+ "unk_token": "<|endoftext|>"
14
+ }