File tree Expand file tree Collapse file tree 4 files changed +18
-7
lines changed Expand file tree Collapse file tree 4 files changed +18
-7
lines changed Original file line number Diff line number Diff line change @@ -9,3 +9,4 @@ __pycache__
99* .zip
1010notebooks /trainer_ * /
1111notebooks /wandb /
12+ .venv
Original file line number Diff line number Diff line change 66
77This 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: & nbsp ;& nbsp ; [ ![ 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
1727There are five notebooks.
1828
19- a. 00_prepare_dataset.ipynb
29+ a. ` 00_prepare_dataset.ipynb `
2030
2131Notebook that prepares the e-comeerce dataset and saves it.
2232
23- b. 01_train.ipynb
33+ b. ` 01_train.ipynb `
2434
2535Trains a DistilBert model
2636
27- c. 02_inference_review.ipynb
37+ c. ` 02_inference_review.ipynb `
2838
2939Notebook 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
3343Notebook that shows impact of Quantization and TorschScript
3444
3545
36- e. 04_packaging.ipynb
46+ e. ` 04_packaging.ipynb `
3747
3848Notebook that shows how to use TorchServe to serve models
3949
You can’t perform that action at this time.
0 commit comments