"...legacy/text-classification/run_tf_text_classification.py" did not exist on "acc3bd9d2a73fcc7d3509767d65b2f40962d9330"
compute_loss in trainer failing to label shift for PEFT model when label...
compute_loss in trainer failing to label shift for PEFT model when label smoothing enabled. (#25044)
* added PeftModelForCausalLM to MODEL_FOR_CAUSAL_LM_MAPPING_NAMES dict
* check for PEFT model in compute_loss section
---------
Co-authored-by:
Nathan Brake <nbrake3@mmm.com>
Showing
Please register or sign in to comment