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

Minor improvement to the getting started code #78

Conversation

BenjaminBossan
Copy link
Collaborator

  • Add missing indentation inside with block
  • Mark code as Python code for highlighting
  • Rename variable name from dtc_pkl_filename to pkl_filename. The
    name itself doesn't really matter, as it's not assigned anywhere, but
    I found dtc confusing here ('decision tree classifier'?).

- Add missing indentation inside 'with' block
- Mark code as Python code for highlighting
- Rename variable name from 'dtc_pkl_filename' to 'pkl_filename'. The
  name itself doesn't really matter, as it's not assigned anywhere, but
  I found 'dtc' confusing here ('decision tree classifier'?).
@BenjaminBossan
Copy link
Collaborator Author

Ready for review @skops-dev/maintainers

Copy link
Collaborator

@merveenoyan merveenoyan left a comment

Choose a reason for hiding this comment

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

LGTM! Can you post before-after example repository for this though?

@BenjaminBossan
Copy link
Collaborator Author

@merveenoyan The before repo is just the standard one from the plot_model_card.py example. Here it is after the change:

https://huggingface.co/skops/hf_hub_example_getting_started-a88c2f91-5e8e-4d56-9e19-015b40a560d6#how-to-get-started-with-the-model

@merveenoyan merveenoyan merged commit 08ff93c into skops-dev:main Aug 8, 2022
@BenjaminBossan BenjaminBossan deleted the minor-improvements-getting-started-code branch August 9, 2022 13:37
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.

2 participants