transformers
Fixed base model class name extraction from PeftModels
#27162
Merged

Fixed base model class name extraction from PeftModels #27162

asartran merged 3 commits into huggingface:main from fix-trainer-compute-loss-with-peft-non-zero-label-smoothing
kkteru
asartran
younesbelkada
younesbelkada commented on 2023-10-31
HuggingFaceDocBuilderDev
younesbelkada
younesbelkada approved these changes on 2023-11-02
younesbelkada younesbelkada requested a review from asartran asartran 3 years ago
asartran
asartran commented on 2023-11-02
kkteru Fixed base model class name extraction from PeftModels
9776c3e1
kkteru Changes to first unwrap the model then extract the base model name
6bec5f5f
kkteru Changed base_model to base_model.model to stay consistent with peft m…
0ef3a1c1
younesbelkada
younesbelkada approved these changes on 2023-11-02
asartran
asartran approved these changes on 2023-11-02
asartran asartran merged 552ff244 into main 3 years ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone