Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Javier Rodriguez Zaurin authored and Javier Rodriguez Zaurin committed Sep 1, 2022
2 parents 0ea0422 + a5dac1a commit 2391bee
Show file tree
Hide file tree
Showing 34 changed files with 4,373 additions and 99 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Processors and Utils\n",
"# Processors and Utils\n",
"\n",
"Description of the main tools and utilities that one needs to prepare the data for a `WideDeep` model constructor. \n",
"\n",
Expand Down Expand Up @@ -745,7 +745,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3.9.7 ('base')",
"language": "python",
"name": "python3"
},
Expand All @@ -759,7 +759,12 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.12"
"version": "3.9.7"
},
"vscode": {
"interpreter": {
"hash": "3b99005fd577fa40f3cce433b2b92303885900e634b2b5344c07c59d06c8792d"
}
}
},
"nbformat": 4,
Expand Down
11 changes: 8 additions & 3 deletions examples/notebooks/02_model_components.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Model Components\n",
"# Model Components\n",
"\n",
"The main components of a `WideDeep` (i.e. Multimodal) model are tabular data, text and images, which are feed into the model via so called `wide`, `deeptabular`, `deeptext` and `deepimage` model components"
]
Expand Down Expand Up @@ -584,7 +584,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3.9.7 ('base')",
"language": "python",
"name": "python3"
},
Expand All @@ -598,7 +598,12 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.12"
"version": "3.9.7"
},
"vscode": {
"interpreter": {
"hash": "3b99005fd577fa40f3cce433b2b92303885900e634b2b5344c07c59d06c8792d"
}
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Simple Binary Classification with defaults\n",
"# Simple Binary Classification with defaults\n",
"\n",
"In this notebook we will train a Wide and Deep model and simply a \"Deep\" model using the well known adult dataset"
]
Expand Down Expand Up @@ -1197,7 +1197,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3.9.7 ('base')",
"language": "python",
"name": "python3"
},
Expand All @@ -1211,7 +1211,12 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.12"
"version": "3.9.7"
},
"vscode": {
"interpreter": {
"hash": "3b99005fd577fa40f3cce433b2b92303885900e634b2b5344c07c59d06c8792d"
}
}
},
"nbformat": 4,
Expand Down
11 changes: 8 additions & 3 deletions examples/notebooks/04_regression_with_images_and_text.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Regression with Images and Text\n",
"# Regression with Images and Text\n",
"\n",
"In this notebook we will go through a series of examples on how to combine all Wide & Deep components.\n",
"\n",
Expand Down Expand Up @@ -759,7 +759,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3.9.7 ('base')",
"language": "python",
"name": "python3"
},
Expand All @@ -773,7 +773,12 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.12"
"version": "3.9.7"
},
"vscode": {
"interpreter": {
"hash": "3b99005fd577fa40f3cce433b2b92303885900e634b2b5344c07c59d06c8792d"
}
}
},
"nbformat": 4,
Expand Down
10 changes: 8 additions & 2 deletions examples/notebooks/05_save_and_load_model_and_artifacts.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# Save and load model and artifacts\n",
"In this notebook I will show the different options to save and load a model, as well as some additional objects produced during training. \n",
"\n",
"On a given day, you train a model..."
Expand Down Expand Up @@ -1113,7 +1114,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3.9.7 ('base')",
"language": "python",
"name": "python3"
},
Expand All @@ -1127,7 +1128,12 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.12"
"version": "3.9.7"
},
"vscode": {
"interpreter": {
"hash": "3b99005fd577fa40f3cce433b2b92303885900e634b2b5344c07c59d06c8792d"
}
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## The FineTune/Warm Up option\n",
"# The FineTune/Warm Up option\n",
"\n",
"Let's place ourselves in two possible scenarios. \n",
"\n",
Expand Down Expand Up @@ -1391,7 +1391,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3.9.7 ('base')",
"language": "python",
"name": "python3"
},
Expand All @@ -1405,7 +1405,12 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.12"
"version": "3.9.7"
},
"vscode": {
"interpreter": {
"hash": "3b99005fd577fa40f3cce433b2b92303885900e634b2b5344c07c59d06c8792d"
}
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Custom components\n",
"# Custom components\n",
"\n",
"As I mentioned earlier in the example notebooks, and also in the `README`, it is possible to customise almost every component in `pytorch-widedeep`.\n",
"\n",
Expand Down
18 changes: 16 additions & 2 deletions examples/notebooks/09_extracting_embeddings.ipynb
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Extracting embeddings\n",
"\n",
"This notebook is a simple guide to extracting learned feature embeddings using Tab2Vec"
]
},
{
"cell_type": "code",
"execution_count": 1,
Expand Down Expand Up @@ -494,7 +503,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3.9.7 ('base')",
"language": "python",
"name": "python3"
},
Expand All @@ -508,7 +517,12 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.12"
"version": "3.9.7"
},
"vscode": {
"interpreter": {
"hash": "3b99005fd577fa40f3cce433b2b92303885900e634b2b5344c07c59d06c8792d"
}
}
},
"nbformat": 4,
Expand Down
Loading

0 comments on commit 2391bee

Please sign in to comment.