Skip to content

Commit 0449372

Browse files
authored
added onboarding instructions
1 parent fe009ee commit 0449372

File tree

4 files changed

+18
-7
lines changed

4 files changed

+18
-7
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ __pycache__
99
*.zip
1010
notebooks/trainer_*/
1111
notebooks/wandb/
12+
.venv

README.md

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,34 +6,44 @@
66

77
This repo contains notebooks for Pytorch Serving Workshop.
88

9+
Note: We **do not** need a GPU runtime
910

10-
To get started, run the below notebook that will setup everything in collab.
11+
## Setup
1112

12-
**Colab** starter notebook:    [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/npatta01/pytorch-serving-workshop/blob/main/colab_starter.ipynb)
13+
1) Run the below notebook that will setup everything in collab.
1314

15+
**Colab** starter notebook:    [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/npatta01/pytorch-serving-workshop/blob/main/colab_starter.ipynb)
16+
17+
2) Navigate to the ngrok proxy url
18+
![](assets/setup_01.png)
19+
20+
We use ngrok to acces the underlying collab runtime
21+
22+
3) Navigate to working directory in VSCode
23+
![](assets/setup_02.png)
1424

1525
## Contents
1626

1727
There are five notebooks.
1828

19-
a. 00_prepare_dataset.ipynb
29+
a. `00_prepare_dataset.ipynb`
2030

2131
Notebook that prepares the e-comeerce dataset and saves it.
2232

23-
b. 01_train.ipynb
33+
b. `01_train.ipynb`
2434

2535
Trains a DistilBert model
2636

27-
c. 02_inference_review.ipynb
37+
c. `02_inference_review.ipynb`
2838

2939
Notebook that shows how to use the HuggingFace ecosystem. Also shows how to use the trained model from previous notebook.
3040

31-
d. 03_optimizing_model.ipynb
41+
d. `03_optimizing_model.ipynb`
3242

3343
Notebook that shows impact of Quantization and TorschScript
3444

3545

36-
e. 04_packaging.ipynb
46+
e. `04_packaging.ipynb`
3747

3848
Notebook that shows how to use TorchServe to serve models
3949

assets/setup_01.png

121 KB
Loading

assets/setup_02.png

51.7 KB
Loading

0 commit comments

Comments
 (0)