5dayZ

Results 4 comments of 5dayZ

how to solove this ?

try to add 'chat_history: List[AnyMessage]' in your class State property, my question is solved!

> 在finetune.py 里 把 if combine: new_input_ids = tokenizer.apply_chat_template(conv, tokenize=True, return_dict=False) input_ids = new_input_ids ---> input_ids = [item for sublist in new_input_ids for item in sublist](只改这行 !!!) 有两处,都要改!!! 而且transformers=4.40.0 否则eval会报错...