hhou435 commited on
Commit
5ce64a9
·
1 Parent(s): 1744fd8

First version of the gpt2-chinese-poem

Browse files
Files changed (1) hide show
  1. config.json +2 -3
config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "activation_function": "gelu_new",
3
  "architectures": [
4
- "TFGPT2LMHeadModel"
5
  ],
6
  "attn_pdrop": 0.1,
7
  "bos_token_id": 50256,
@@ -33,8 +33,7 @@
33
  "task_specific_params": {
34
  "text-generation": {
35
  "do_sample": true,
36
- "max_length": 120,
37
- "repetition_penalty": 1.3
38
  }
39
  },
40
  "tokenizer_class": "BertTokenizer",
 
1
  {
2
  "activation_function": "gelu_new",
3
  "architectures": [
4
+ "GPT2LMHeadModel"
5
  ],
6
  "attn_pdrop": 0.1,
7
  "bos_token_id": 50256,
 
33
  "task_specific_params": {
34
  "text-generation": {
35
  "do_sample": true,
36
+ "max_length": 50
 
37
  }
38
  },
39
  "tokenizer_class": "BertTokenizer",