Paul Rock commited on
Commit
44aa38d
1 Parent(s): 440ad81

Configs added

Browse files
Files changed (3) hide show
  1. .gitignore +1 -0
  2. config.json +3 -0
  3. generation_config.json +15 -0
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ /.idea/
config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "model_type": "gpt2"
3
+ }
generation_config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 2,
4
+ "eos_token_id": 3,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.34.0",
7
+ "temperature": 0.2,
8
+ "top_p": 0.9,
9
+ "top_k": 30,
10
+ "do_sample": true,
11
+ "max_new_tokens": 1536,
12
+ "num_beams": 1,
13
+ "repetition_penalty": 1.15,
14
+ "no_repeat_ngram_size": 15
15
+ }