huggingface_hub
97ed9b94 - include_optimizer parameter introduced to push_to_hub_keras() (#616)

Commit
3 years ago
include_optimizer parameter introduced to push_to_hub_keras() (#616) * include_optimizer parameter introduced to push_to_hub_keras() * added model save kwargs and made include_optimizer a keyword argument * kwargs fix * misc fixes * formatted * Update src/huggingface_hub/keras_mixin.py Co-authored-by: Omar Sanseviero <osanseviero@users.noreply.github.com> * Removed stars from docstring * committing my work in case if anything happens to me * make style * removed pytest assertions * fixed test casesa and nit to docstring * style format * make style * black reformats * Pinned black * make style * include_optimizer parameter introduced to push_to_hub_keras() * Update tests/test_keras_integration.py Co-authored-by: Omar Sanseviero <osanseviero@gmail.com> * changed model variable name loaded with from_pretrained_keras * removed loaded_model that wasn't used * Removed redundant tests Co-authored-by: Omar Sanseviero <osanseviero@users.noreply.github.com> Co-authored-by: Omar Sanseviero <osanseviero@gmail.com>
Author
Parents
Loading