File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 55uv pip install -e .
66uv pip install " transformers>4.57.0"
77
8+
Original file line number Diff line number Diff line change @@ -338,7 +338,7 @@ def convert_to_messages(row):
338338 adaptor_output_dir = getattr (tlab_trainer .params , "adaptor_output_dir" , None )
339339 if adaptor_output_dir :
340340 trainer .save_model (output_dir = adaptor_output_dir )
341- trainer .processing_class .save_pretrained (output_dir = adaptor_output_dir )
341+ trainer .processing_class .save_pretrained (adaptor_output_dir )
342342 else :
343343 if "/" in model_id :
344344 model_id_short = model_id .split ("/" )[- 1 ]
@@ -351,7 +351,7 @@ def convert_to_messages(row):
351351
352352 trainer .save_model (output_dir = fused_model_location )
353353 if hasattr (trainer , "processing_class" ) and trainer .processing_class :
354- trainer .processing_class .save_pretrained (output_dir = fused_model_location )
354+ trainer .processing_class .save_pretrained (fused_model_location )
355355 model_config = getattr (trainer .model , "config" , None )
356356 if model_config and getattr (model_config , "architectures" , None ):
357357 model_architecture = model_config .architectures [0 ]
You can’t perform that action at this time.
0 commit comments