Describe the bug
When a model is trained for categories/classification, the model weights are saved a file called model/model_weights. If the model is trained with type llm instead, the weights are saved to the directorymodel/model_weights with contents README.md, adapter_config.json, adapter_model.bin.
To Reproduce
Steps to reproduce the behavior:
Train a model with name MODEL_NAME=bug-reprod-model and config
Thanks for reporting this issue @thelinuxkid! @arnavgarg1 what do you think about modifying the upload utility to allow uploading ECD artifacts? Would this be useful?
Describe the bug When a model is trained for categories/classification, the model weights are saved a
file
calledmodel/model_weights
. If the model is trained with type llm instead, the weights are saved to the directorymodel/model_weights
with contentsREADME.md
,adapter_config.json
,adapter_model.bin
.To Reproduce Steps to reproduce the behavior:
MODEL_NAME=bug-reprod-model
and configHF_ID=bug-reprod-hf-id
You should see an error like this
Manually move the weights file to a directory
Expected behavior The model should upload to HF without having to manually create the directory
Environment (please complete the following information):
Additional context Add any other context about the problem here.
@arnavgarg1