ayjays132 commited on
Commit
89d8fe0
1 Parent(s): 4cfea9e

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +38 -27
config.json CHANGED
@@ -1,37 +1,48 @@
1
  {
2
- "activation_function": "gelu_new",
3
- "architectures": ["GPT2LMHeadModel"],
4
- "attn_pdrop": 0.1,
5
- "bos_token_id": 50256,
6
- "embd_pdrop": 0.1,
7
- "eos_token_id": 50256,
8
- "initializer_range": 0.02,
9
- "layer_norm_epsilon": 1e-05,
10
  "model_type": "gpt2",
11
- "n_ctx": 2048,
12
- "n_embd": 2048,
13
- "n_head": 16,
14
- "n_layer": 24,
15
- "n_positions": 2048,
16
- "n_special": 0,
17
- "predict_special_tokens": true,
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": 1024
 
 
 
 
 
 
 
28
  }
29
  },
30
  "transformers_version": "4.34.0",
31
  "language": ["en"],
32
- "tags": ["text-generation-inference"],
33
- "metrics": ["accuracy"],
34
- "pipeline_tag": "text-generation",
35
  "library_name": "transformers",
36
  "datasets": ["vicgalle/alpaca-gpt4"],
37
  "license": "apache-2.0",
 
1
  {
 
 
 
 
 
 
 
 
2
  "model_type": "gpt2",
3
+ "architectures": ["GPT2LMHeadModel"],
4
+ "tokenizer_config": {
5
+ "bos_token_id": 50256,
6
+ "eos_token_id": 50256,
7
+ "n_positions": 2048
8
+ },
9
+ "config": {
10
+ "activation_function": "gelu_new",
11
+ "n_ctx": 2048,
12
+ "n_embd": 2048,
13
+ "n_head": 16,
14
+ "n_layer": 24,
15
+ "n_positions": 2048,
16
+ "n_special": 0,
17
+ "attn_pdrop": 0.1,
18
+ "embd_pdrop": 0.1,
19
+ "initializer_range": 0.02,
20
+ "layer_norm_epsilon": 1e-05,
21
+ "resid_pdrop": 0.1,
22
+ "summary_activation": null,
23
+ "summary_first_dropout": 0.1,
24
+ "summary_proj_to_labels": true,
25
+ "summary_type": "cls_index",
26
+ "summary_use_proj": true
27
+ },
28
  "task_specific_params": {
29
+ "conversational": {
30
+ "max_length": 1024,
31
+ "min_length": 20,
32
+ "length_penalty": 1.5,
33
+ "num_beams": 5,
34
+ "early_stopping": true,
35
+ "no_repeat_ngram_size": 3,
36
+ "temperature": 0.7,
37
+ "top_k": 50,
38
+ "top_p": 0.9
39
  }
40
  },
41
  "transformers_version": "4.34.0",
42
  "language": ["en"],
43
+ "tags": ["conversational"],
44
+ "metrics": ["perplexity", "accuracy"],
45
+ "pipeline_tag": "conversational",
46
  "library_name": "transformers",
47
  "datasets": ["vicgalle/alpaca-gpt4"],
48
  "license": "apache-2.0",