-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
adding readme for datasets #2491
base: main
Are you sure you want to change the base?
Conversation
Probably simpler: from huggingface_hub import ModelCard
model_card = ModelCard("""
---
tags: [trl]
---
# Some title
""")
if script_args.push_to_hub:
model_card.push_to_hub(script_args.repo_id, repo_type="dataset") |
Well, that's one way to overengineer it |
Very good like this |
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
it doesn't add all the details requested in the issue #2470 but It's an improvement |
What does this PR do?
Fixes #2470
well, that was just not worth it.
Dataset cards can only be added manually so this PR adds a function that modifies it's Readme file and pushes it and I honestly doubt it was worth the complication.
Before submitting
Pull Request section?
to it if that's the case.
documentation guidelines.
Who can review?
@qgallouedec