The model_card_template is not included in the library
See original GitHub issueRunning the training colab fails when pushing to the Hub with
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/diffusers/utils/model_card_template.md'
Doing
!ls /usr/local/lib/python3.7/dist-packages/diffusers/utils/
gives
dummy_transformers_and_inflect_and_unidecode_objects.py logging.py
dummy_transformers_objects.py __pycache__
__init__.py
Iirc, if you want a markdown file to be included you need to have Actually I see this is actually done 🤔include_package_data=True
in the setup.py
file.
Issue Analytics
- State:
- Created a year ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Model Cards - Hugging Face
What are Model Cards? Model cards are files that accompany the models and provide handy information. Under the hood, model cards are simple...
Read more >Introducing the Model Card Toolkit for Easier ... - Google AI Blog
Here is an example of the completed Model Card from the Colab tutorial, which leverages the MCT and the provided UI template.
Read more >Card template library - Anaplan Technical Documentation
Create a set of cards, formatted for your brand or theme, so you can then create pages using pre-formatted cards. You then configure...
Read more >jacopotagliabue/dag-card-is-the-new-model-card - GitHub
Template -based generation of DAG cards from Metaflow classes, inspired by Google cards for machine learning models.
Read more >Google Cloud Model Cards
... which is why model cards are aimed at experts and non-experts alike. Developers can use them to design applications that emphasize a...
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
Answered in the thread internally - if we decide to go ahead with
jinja
and the huggingface_hub then happy to keep the same logic here until it’s fully available in the hubNote that in
hugginface_hub
jinja will be an optional dependency, not a required install