Automatically obtain organization in keras push_to_hub
See original GitHub issueIf I do this, my model gets pushed to osanseviero/test-osan6
push_to_hub_keras(model, "keras-io/test-osan6")
It would be great if we can automatically detect the organization. We can likely do it similar to https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/keras_mixin.py#L145-L146.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Keras callbacks - transformers. - Hugging Face
When training a Transformers model with Keras, there are some library-specific callbacks available to automate common tasks: ...
Read more >The Push to Hub API (TensorFlow) - YouTube
Easily share your fine-tuned models on the Hugging Face Hub using the push to hub API.This video is part of the Hugging Face...
Read more >Push to hub mixins that do not leverage git #847 - GitHub
This draft PR proposes a refactor of both mixins, ModelHubMixin and push_to_hub_keras, so that they do not leverage git under the hood.
Read more >Deploy T5 11B for inference for less than $500 - philschmid
An Organization/User with an active plan and WRITE access to the model ... inference pipelines for ML Frameworks like Keras, Tensorflow, ...
Read more >Question Answering with Hugging Face Transformers - Keras
We get a tokenizer that corresponds to the model architecture we want to use. ... Even better, the results are automatically cached by...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think that clarifies things significantly. An unfortunate behavior linked to this is that it hides the fact that there’s a clone/pull/push happening behind the scenes. Except it’s not really behind the scenes, as IIRC it takes place in the current working directory.
I think ideally this would work with http requests that push files (https://github.com/huggingface/huggingface_hub/pull/321), but these files can only be of 20GB.
Maybe 20GB is more than enough for what we’re looking for, however.
Related to https://github.com/huggingface/huggingface_hub/issues/846 and solved in #847 . I’m closing this issue as well as git-based method is not the way to go anymore.