Skip to content

Commit

Permalink
Merge pull request #277 from JohnSnowLabs/nlu/update_notebooks
Browse files Browse the repository at this point in the history
Updated colab notebooks
  • Loading branch information
C-K-Loan authored Sep 15, 2024
2 parents 6cda85f + 18c6384 commit 1155183
Show file tree
Hide file tree
Showing 23 changed files with 11,170 additions and 3,362 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

48 changes: 0 additions & 48 deletions examples/colab/healthcare/assertion/assertion_overview.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -32,31 +32,6 @@
"| English | [assert.large](https://nlp.johnsnowlabs.com/2020/05/21/assertion_dl_large_en.html) | [assertion_dl_large](https://nlp.johnsnowlabs.com/2020/05/21/assertion_dl_large_en.html) |"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"id": "OMiHjCtQhF_r"
},
"outputs": [],
"source": [
"# Install the johnsnowlabs library\n",
"! pip install -q johnsnowlabs==5.1.0"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "fLmvgQZoRucE"
},
"outputs": [],
"source": [
"from google.colab import files\n",
"print('Please Upload your John Snow Labs License using the button below')\n",
"license_keys = files.upload()"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand All @@ -71,29 +46,6 @@
"nlp.install()"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "cPT4lI0x8ZOj",
"outputId": "13a9978d-8d0d-4672-b70e-eb574a66f303"
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"👌 Launched \u001b[92mcpu optimized\u001b[39m session with with: 🚀Spark-NLP==5.1.0, 💊Spark-Healthcare==5.1.0, running on ⚡ PySpark==3.1.2\n"
]
}
],
"source": [
"spark=nlp.start()"
]
},
{
"cell_type": "markdown",
"metadata": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,31 +54,6 @@
"| English | classify.pico | classifierdl_pico_biobert |"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "OMiHjCtQhF_r"
},
"outputs": [],
"source": [
"# Install the johnsnowlabs library\n",
"! pip install -q johnsnowlabs==5.1.0"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "WzQxxFcyBWJ6"
},
"outputs": [],
"source": [
"from google.colab import files\n",
"print('Please Upload your John Snow Labs License using the button below')\n",
"license_keys = files.upload()"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand All @@ -93,17 +68,6 @@
"nlp.install()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "mxj5X9miBZoX"
},
"outputs": [],
"source": [
"spark=nlp.start()"
]
},
{
"cell_type": "markdown",
"metadata": {
Expand Down
36 changes: 0 additions & 36 deletions examples/colab/healthcare/drug_normalization/drug_norm.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -19,31 +19,6 @@
"See the [install docs](https://nlu.johnsnowlabs.com/docs/en/install#super-quickstart-on-google-colab-or-kaggle)\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "M4SGENPXisd7"
},
"outputs": [],
"source": [
"# Install the johnsnowlabs library\n",
"! pip install -q johnsnowlabs==5.1.0"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "DMHSgj8EDlUt"
},
"outputs": [],
"source": [
"from google.colab import files\n",
"print('Please Upload your John Snow Labs License using the button below')\n",
"license_keys = files.upload()"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand All @@ -58,17 +33,6 @@
"nlp.install()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "IxMbCELVD5jj"
},
"outputs": [],
"source": [
"spark=nlp.start()"
]
},
{
"cell_type": "markdown",
"metadata": {
Expand Down
1,083 changes: 1,082 additions & 1 deletion examples/colab/healthcare/entity_resolution/NLU_atc_resolver_pipeline.ipynb

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2,798 changes: 1,379 additions & 1,419 deletions examples/colab/healthcare/entity_resolution/entity_resolvers_overview.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit 1155183

Please sign in to comment.