Skip to content

Commit 3b99819

Browse files
Vaibhavs10pcuenca
andauthored
Apply suggestions from code review
Co-authored-by: Pedro Cuenca <[email protected]>
1 parent 6885558 commit 3b99819

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/hub/notebooks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[Jupyter notebooks](https://jupyter.org/) are a very popular format for sharing code and data analysis for machine learning and data science. They are interactive documents that can contain code, visualizations, and text.
44

5-
## Directly open models in Google Colab and Kaggle
5+
## Open models in Google Colab and Kaggle
66

77
When you visit a model page on the Hugging Face Hub, you’ll see a new “Google Colab”/ "Kaggle" button in the “Use this model” drop down. Clicking this will generate a ready-to-run notebook with basic code to load and test the model. This is perfect for quick prototyping, inference testing, or fine-tuning experiments — all without leaving your browser.
88

@@ -18,7 +18,7 @@ and similarly for kaggle:
1818
https://huggingface.co/google/gemma-3-4b-it/kaggle
1919

2020

21-
If a model repository includes a file called `notebook.ipynb`, Hub will prioritize that over the auto-generated notebook content. Model authors can provide tailored examples, detailed walkthroughs, or advanced use cases while still benefiting from one-click Colab integration. [NousResearch/Genstruct-7B](https://huggingface.co/NousResearch/Genstruct-7B) is one such example.
21+
If a model repository includes a file called `notebook.ipynb`, we will use it for Colab and Kaggle instead of the auto-generated notebook content. Model authors can provide tailored examples, detailed walkthroughs, or advanced use cases while still benefiting from one-click Colab integration. [NousResearch/Genstruct-7B](https://huggingface.co/NousResearch/Genstruct-7B) is one such example.
2222

2323
![](https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/blog/hf-google-colab/genstruct-notebook-dark.png)
2424

0 commit comments

Comments
 (0)