We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa3cc7c commit c4ebd8dCopy full SHA for c4ebd8d
bigcodebench/generate.py
@@ -123,8 +123,7 @@ def main():
123
124
args = parser.parse_args()
125
126
- if args.greedy and (args.temperature != 0 or args.bs != 1 or args.n_samples != 1)\
127
- or (args.temperature == 0 and args.n_samples == 1):
+ if args.greedy or (args.temperature == 0 and args.n_samples == 1):
128
args.temperature = 0
129
args.bs = 1
130
args.n_samples = 1
0 commit comments