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

Add tutorial doc for TF + TPU #21429

Merged
merged 16 commits into from
Feb 3, 2023
Merged

Add tutorial doc for TF + TPU #21429

merged 16 commits into from
Feb 3, 2023

Conversation

Rocketknight1
Copy link
Member

This is the sidebar tutorial for training with TF + TPU, to go with the code notebook.

Note that the Markdown is exported straight from Notion, so some formatting will probably look very wrong - I'm working on cleanup!

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Feb 2, 2023

The documentation is not available anymore as the PR was closed or merged.

Comment on lines 28 to 32
---

**Tip:** If you can fit all your data in memory as `np.ndarray` or `tf.Tensor`, then you can `fit()` on that data even when using Colab or a TPU Node, without needing to upload it to Google Cloud Storage.

---
Copy link
Collaborator

Choose a reason for hiding this comment

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

There is a tip syntax ;-)

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed!

Copy link
Collaborator

@sgugger sgugger left a comment

Choose a reason for hiding this comment

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

Thanks for the writeup, it looks very nice!

Copy link
Member

@gante gante left a comment

Choose a reason for hiding this comment

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

🙏

Copy link
Member

@sayakpaul sayakpaul left a comment

Choose a reason for hiding this comment

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

Since I have reviewed already, approving the content. Some minor todos:

  • Link the Colab Notebook from here.

Also, are you not going to put the spaces you had added in the draft to leave some space for breathing? 🤣

@Rocketknight1
Copy link
Member Author

@sayakpaul The spaces have been removed because the extra content after them got moved to a whole other doc!

@Rocketknight1 Rocketknight1 merged commit 833174c into main Feb 3, 2023
@Rocketknight1 Rocketknight1 deleted the add_tf_tpu_tutorial branch February 3, 2023 19:07
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.

5 participants