Garden-AI / garden

https://garden-ai.readthedocs.io
MIT License
16 stars 4 forks source link

Update HF model in tutorial notebook (#454) #463

Closed hholb closed 1 month ago

hholb commented 1 month ago

Replace the model in the tutorial notebook with a model trained using sklearn version 1.4.1.post1 to match the new 3.10-sklearn base image.

Fixes #454 Related #455

Overview

This fixes the tutorial notebook failing to unpickle the sklearn model causing the tutorial to be un-runnable.

Discussion

I created a new repo on Hugging Face and trained a new model on the iris dataset using the version of sklearn that matches the new 3.10-sklearn base image in #446. The tutorial notebook now uses this model in the HFConnector() constructor.

Testing

Tested manually following the tutorial here in a clean environment. The tutorial notebook runs without issue.

Documentation

No documentation needs updating.


📚 Documentation preview 📚: https://garden-ai--463.org.readthedocs.build/en/463/

codecov-commenter commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 75.51%. Comparing base (b9a4a2b) to head (bf85fce).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #463 +/- ## ========================================== + Coverage 75.42% 75.51% +0.09% ========================================== Files 50 50 Lines 3198 3194 -4 ========================================== Hits 2412 2412 + Misses 786 782 -4 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.