fenglui commited on
Commit
6630da0
1 Parent(s): 600a344

Create generation_config.json

Browse files

fix: Entry Not Found for url: https://huggingface.co/openchat/openchat_3.5/resolve/main/generation_config.json.
of many projects require generation_config.json
when using
```
model.generation_config = GenerationConfig.from_pretrained("openchat/openchat_3.5")
```

added more fields with imone's suggest!

Files changed (1) hide show
  1. generation_config.json +9 -0
generation_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 32000,
5
+ "max_length": 8192,
6
+ "pad_token_id": 0,
7
+ "temperature": 0.5,
8
+ "transformers_version": "4.34.1"
9
+ }