training code supported

#51
by tastelikefeet - opened

hello? there are errors in processing dataset, using the default dataset"sentence-transformers/stsb", caused by " def _check_messages(row: Dict[str, Any]) -> None:
if 'messages' not in row:
return
messages = row['messages']
assert len(messages) > 0, f'messages: {messages}'"

I cannot reproduce the error, can you share us detail logs? or record an issue to us: https://github.com/modelscope/ms-swift

I firstly download the "sentence-transformers/stsb" dataset locally, and get a sentence-transformers___stsb folder, and i changed the argument
--dataset '/local path/to/sentence-transformers___stsb' to my local directory, and such case happens. but when i use --dataset 'sentence-transformers/stsb' directly, and everything goes well. why would that happen?

Sign up or log in to comment