-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
Overview.ipynb
& detach Jupyter Notebooks from datasets
repos…
…itory (#5902) * Fix and re-run `Overview.ipynb` * Update `quickstart.mdx` * Re-ordered subsections so that `Text` goes first * Add machine learning frameworks missing install instructions * Add [[open-in-colab]] button * Add missing license * Fix references to new sub-sections * Remove not required exclamation marks My guess was that the exclamation mark was used for highlighting but it's not, so reverted: 🤗 Datasets! -> 🤗 Datasets * Apply suggestions from code review Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> * Add `datasets_doc` to host notebooks in `hugginface/notebooks` * Add `notebooks/README.md` As of this commit, the URLs throw a 404 as those are pointing to unpushed notebooks, to be pushed as part of `build_documentation` * Apply suggestions from code review Co-authored-by: Mario Šaško <mariosasko777@gmail.com> * Apply suggestions from code review Co-authored-by: Mario Šaško <mariosasko777@gmail.com> * Revert `Image` and `Text` renames Co-authored-by: Mario Šaško <mariosasko777@gmail.com> * Remove reference to `to_tf_dataset` Co-authored-by: Mario Šaško <mariosasko777@gmail.com> Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> * Add deprecation message in `Overview.ipynb` In favor of https://github.com/huggingface/notebooks/blob/main/datasets_doc/quickstart.ipynb Co-authored-by: Mario Šaško <mariosasko777@gmail.com> * Add `transformers`, `torch`, and `tensorflow` in `docs` extra For the `TFPreTrainedModel.prepare_tf_dataset` and `DataLoader` to be built properly Co-authored-by: Mario Šaško <mariosasko777@gmail.com> * Add `albumentations` to extend data preparation Co-authored-by: Mario Šaško <mariosasko777@gmail.com> Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> * Minor improvements --------- Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> Co-authored-by: Mario Šaško <mariosasko777@gmail.com>
- Loading branch information
1 parent
f3da7a5
commit 971e33e
Showing
7 changed files
with
1,155 additions
and
2,435 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
# docstyle-ignore | ||
INSTALL_CONTENT = """ | ||
# Datasets installation | ||
! pip install datasets transformers | ||
# To install from source instead of the last release, comment the command above and uncomment the following one. | ||
# ! pip install git+https://github.com/huggingface/datasets.git | ||
""" | ||
|
||
notebook_first_cells = [{"type": "code", "content": INSTALL_CONTENT}] | ||
default_branch_name = "main" | ||
version_prefix = "" |
This file contains 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
Oops, something went wrong.