generate_ids = model.generate(input_ids, max_new_tokens=300, do_sample = True, top_k = 30, top_p SyntaxError: invalid character ',' (U+FF0C)
#5
by
maxkarl
- opened
follow the instruction, but get error like this:
generate_ids = model.generate(input_ids, max_new_tokens=300, do_sample = True, top_k = 30, top_p
SyntaxError: invalid character ',' (U+FF0C)
generate_ids = model.generate(input_ids, max_new_tokens=300, do_sample = True, top_k = 30, top_p = 0.85, temperature = 0.5, repetition_penalty=1.2, eos_token_id=2, bos_token_id=1, pad_token_id=0)