Add tutorial for no-code dataset upload#2925
Merged
stevhliu merged 11 commits intohuggingface:masterfrom Sep 27, 2021
stevhliu:master
Merged
Add tutorial for no-code dataset upload#2925stevhliu merged 11 commits intohuggingface:masterfrom stevhliu:master
stevhliu merged 11 commits intohuggingface:masterfrom
stevhliu:master
Conversation
Member
|
Cool, love it ! :) Feel free to add a paragraph saying how to load the dataset: from datasets import load_dataset
dataset = load_dataset("stevhliu/demo")
# or to separate each csv file into several splits
data_files = {"train": "train.csv", "test": "test.csv"}
dataset = load_dataset("stevhliu/demo", data_files=data_files)
print(dataset["train"][0]) |
Member
|
Perfect, feel free to mark this PR ready for review :) cc @albertvillanova do you have any comment ? You can check the tutorial here: Maybe we can just add a list of supported file types:
|
lhoestq
approved these changes
Sep 23, 2021
Member
|
I just added a mention of the login for private datasets. Don't hesitate to edit or comment. Otherwise I think it's all good, feel free to merge it @stevhliu if you don't have other changes to make :) |
albertvillanova
approved these changes
Sep 27, 2021
Member
albertvillanova
left a comment
There was a problem hiding this comment.
Awesome! This tutorial is very useful and simple. Thanks! 🤗
Only a minor comment below.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is for a tutorial for uploading a dataset to the Hub. It relies on the Hub UI elements to upload a dataset, introduces the online tagging tool for creating tags, and the Dataset card template to get a head start on filling it out. The addition of this tutorial should make it easier for beginners to upload a dataset without accessing the terminal or knowing Git.