ainow-mk commited on
Commit
4225606
·
verified ·
1 Parent(s): a0b5d18

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +31 -31
config.json CHANGED
@@ -1,31 +1,31 @@
1
- {
2
- "activation_function": "gelu_new",
3
- "architectures": [
4
- "GPT2LMHeadModel"
5
- ],
6
- "attn_pdrop": 0.1,
7
- "bos_token_id": 50256,
8
- "embd_pdrop": 0.1,
9
- "eos_token_id": 50256,
10
- "initializer_range": 0.02,
11
- "layer_norm_epsilon": 1e-05,
12
- "model_type": "gpt2",
13
- "n_ctx": 1024,
14
- "n_embd": 768,
15
- "n_head": 12,
16
- "n_layer": 12,
17
- "n_positions": 1024,
18
- "resid_pdrop": 0.1,
19
- "summary_activation": null,
20
- "summary_first_dropout": 0.1,
21
- "summary_proj_to_labels": true,
22
- "summary_type": "cls_index",
23
- "summary_use_proj": true,
24
- "task_specific_params": {
25
- "text-generation": {
26
- "do_sample": true,
27
- "max_length": 50
28
- }
29
- },
30
- "vocab_size": 50257
31
- }
 
1
+ {
2
+ "_name_or_path": "facebook/opt-350m",
3
+ "_remove_final_layer_norm": false,
4
+ "activation_dropout": 0.0,
5
+ "activation_function": "relu",
6
+ "architectures": [
7
+ "OPTForCausalLM"
8
+ ],
9
+ "attention_dropout": 0.0,
10
+ "bos_token_id": 2,
11
+ "do_layer_norm_before": false,
12
+ "dropout": 0.1,
13
+ "enable_bias": true,
14
+ "eos_token_id": 2,
15
+ "ffn_dim": 4096,
16
+ "hidden_size": 1024,
17
+ "init_std": 0.02,
18
+ "layer_norm_elementwise_affine": true,
19
+ "layerdrop": 0.0,
20
+ "max_position_embeddings": 2048,
21
+ "model_type": "opt",
22
+ "num_attention_heads": 16,
23
+ "num_hidden_layers": 24,
24
+ "pad_token_id": 1,
25
+ "prefix": "</s>",
26
+ "torch_dtype": "float16",
27
+ "transformers_version": "4.48.3",
28
+ "use_cache": true,
29
+ "vocab_size": 50272,
30
+ "word_embed_proj_dim": 512
31
+ }