Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync models and update mirror script to sync model cards on HF and Kaggle #1971

Merged

Conversation

divyashreepathihalli
Copy link
Collaborator

@divyashreepathihalli divyashreepathihalli commented Nov 1, 2024

The PR does the following

  • Updates the json file after syncing( ran the script to sync the presets and this is the updated json file)
  • Add a new function to sync model cards between HuggingFace and Kaggle

tools/mirror_weights_on_hf.py Show resolved Hide resolved
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was wondering why there are so many changes in this file. Shouldn't this file be pretty stable since the models are recently sync'd?

Copy link
Collaborator Author

@divyashreepathihalli divyashreepathihalli Nov 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Samaneh!! you are right, but because I ran this sync first in a colab and manually added the file, the order of the entries is different. Now I have added the code to save it in alphabetical order. It should be stable from now on.

@divyashreepathihalli divyashreepathihalli added the kokoro:force-run Runs Tests on GPU label Nov 1, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Runs Tests on GPU label Nov 1, 2024
Copy link
Member

@SamanehSaadat SamanehSaadat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, Divya!

@divyashreepathihalli divyashreepathihalli changed the title sync models and update mirror script to update model cards sync models and update mirror script to sync model cards on HF and Kaggle Nov 1, 2024
@divyashreepathihalli divyashreepathihalli merged commit b5d0e8a into keras-team:master Nov 1, 2024
9 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants