dacorvo HF staff commited on
Commit
fca93cd
1 Parent(s): 37892f3

Fix invalid generation config

Browse files

The latest transformers version rejects that configuration when trying to save the model. Since do_sample is False, neither temperature nor top_k should be set.

Files changed (1) hide show
  1. generation_config.json +0 -2
generation_config.json CHANGED
@@ -3,7 +3,5 @@
3
  "bos_token_id": 1,
4
  "eos_token_id": 2,
5
  "pad_token_id": 32000,
6
- "temperature": 0.9,
7
- "top_p": 0.6,
8
  "transformers_version": "4.31.0.dev0"
9
  }
 
3
  "bos_token_id": 1,
4
  "eos_token_id": 2,
5
  "pad_token_id": 32000,
 
 
6
  "transformers_version": "4.31.0.dev0"
7
  }