Skip to content

Commit 1dd4a40

Browse files
changes after reviews from Breck
1 parent 40509d7 commit 1dd4a40

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

guide/14-deep-learning/exploring_model_extensibility_for_named_entity_recognition.ipynb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167
"id": "13dfe383-1507-4f73-a64f-5b50aa3e5536",
168168
"metadata": {},
169169
"source": [
170-
"The model extension requires the process to be wrapped in a class that must implement the following functions:\n",
170+
"The model extension requires the process be wrapped in a class that implements the following functions:\n",
171171
"\n",
172172
"- `__init__`\n",
173173
"\n",
@@ -551,8 +551,7 @@
551551
"\n",
552552
"Organize the files as follows:\n",
553553
"\n",
554-
"**Create a Folder**: Create a folder and include the custom NLP function file. In our case, we will create a folder `NER_gilner_weather`. Inside this, we will place `NER_gilner_weather.emd`,the NLP function file \n",
555-
"`MyCustomNER.py` and the directory containing the code of `GLiNER`.\n",
554+
"**Create a Folder**: Create a folder and include the custom NLP function file. In our case, we will create a folder `NER_gilner_weather`. Inside this, we will place `NER_gilner_weather.emd`, the NLP function file `MyCustomNER.py`, and the directory containing the code of `GLiNER`.\n",
556555
"\n",
557556
"\n",
558557
" ``` \n",

guide/14-deep-learning/leveraging_llms_for_real_time_decision_making_in_calamities.ipynb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -210,13 +210,13 @@
210210
"id": "6aa80d78-407c-499f-b4b3-76a11f3bc6db",
211211
"metadata": {},
212212
"source": [
213-
"The ESRI Model Definition (.emd) file will include both required and optional keys to facilitate model execution. To run **Classify Text Using Deep Learning (GeoAI)** Tool, we need to supply `InferenceFunction`, `ModelType` and `OutputField`. \n",
213+
"The ESRI Model Definition (.emd) file will include both required and optional keys to facilitate model execution. To run **Classify Text Using Deep Learning (GeoAI)** Tool, we need to supply the `InferenceFunction`, `ModelType` and `OutputField`. \n",
214214
"\n",
215215
"1. `InferenceFunction`: Name of the module that contains the definition of NLP function\n",
216216
"2. `ModelType`: Defines the type of task. For **Classify Text Using Deep Learning (GeoAI)** Tool it will be `TextClassifier`\n",
217217
"3. `OutputField`: Name of the field in which contains the output\n",
218218
"\n",
219-
"Other keys are prerogative to the Model extension author. In this case, we took liberty to state the prompt `few-shot prompting` related information - `examples` and `prompt`. We will utilize this information to construct a clear and effective prompt for the task."
219+
"Other keys are prerogative of the Model extension author. In this case, we took liberty to state the prompt `few-shot prompting` related information - `examples` and `prompt`. We will utilize this information to construct a clear and effective prompt for the task."
220220
]
221221
},
222222
{
@@ -278,7 +278,7 @@
278278
"id": "ccc1cbc9-d4dd-46bd-b6ad-578a0aa6d797",
279279
"metadata": {},
280280
"source": [
281-
"Model extension requires the process to be wrapped in a class with the following functions mandatorily implemented:\n",
281+
"Model extension requires the process be wrapped in a class with the following functions implemented:\n",
282282
"\n",
283283
"- `__init__`\n",
284284
"\n",
@@ -329,7 +329,7 @@
329329
"id": "f9aa02e1-fc97-428e-908e-c271b33c5670",
330330
"metadata": {},
331331
"source": [
332-
"This function gathers parameters from the user for the **Classify Text Using Deep Learning (GeoAI)** Tool. The demo utilizes Llama-3 and employs `transformers` library for loading and inference. Users can customize the model’s input and output by specifying generation parameters, including `max_length` and `temperature`, to optimize the classification process."
332+
"This function gathers parameters from the user for the **Classify Text Using Deep Learning (GeoAI)** Tool. The demo utilizes Llama-3 and employs the `transformers` library for loading and inference. Users can customize the model’s input and output by specifying generation parameters, including `max_length` and `temperature`, to optimize the classification process."
333333
]
334334
},
335335
{
@@ -833,7 +833,7 @@
833833
"id": "6bfae9e3-9cd5-4608-a4d1-5ed6adbe6d36",
834834
"metadata": {},
835835
"source": [
836-
"To complete a custom NLP function setup, create a ESRI Deep Learning Package (.dlpk) file. \n",
836+
"To complete a custom NLP function setup, create an ESRI Deep Learning Package (.dlpk) file. \n",
837837
"\n",
838838
"Organize the files as follows:\n",
839839
"\n",
@@ -982,7 +982,7 @@
982982
"id": "ce393c87",
983983
"metadata": {},
984984
"source": [
985-
"Utilizing the HarveyTweet Dataset, we successfully identified and classified tweets into critical categories such as public services and health-related information. Below are the results from the sample inputs."
985+
"Utilizing the HarveyTweet Dataset, we successfully identified and classified tweets into critical categories, such as public services and health-related information. Below are the results from the sample inputs."
986986
]
987987
},
988988
{

0 commit comments

Comments
 (0)