Skip to content

Commit 3f5de16

Browse files
Porting the changes from next branch
1 parent 1dd4a40 commit 3f5de16

3 files changed

+9
-9
lines changed

guide/14-deep-learning/address_standerdization_using_model_extension.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191
"2. **`ModelType`**: Specifies the type of task; for the **Text Using Deep Learning**, this will be set to `SequenceToSequence`.\n",
192192
"3. **`OutputField`**: The name of the field where the output will be stored.\n",
193193
"\n",
194-
"Other keys are prerogative of the Model extension author. In this instance, we've also incorporated `examples` and `prompt` related to **few-shot prompting**. This information will help us create a clear and effective prompt for the task at hand."
194+
"Other keys are the prerogative of the Model extension author. In this instance, we've also incorporated `examples` and `prompt` related to **few-shot prompting**. This information will help us create a clear and effective prompt for the task at hand."
195195
]
196196
},
197197
{
@@ -416,7 +416,7 @@
416416
"id": "85296efe-2889-466f-a985-82c9353d0065",
417417
"metadata": {},
418418
"source": [
419-
"This function receives `kwargs`, which contain parameter names and values collected from the user. Additionally, it includes parameters like `batch_size`, which controls the tool's behavior. The Text Transform Tool supports customization of `batch_size`, determining how many records are processed in a single batch. This parameter plays a crucial role in optimizing the tool's performance."
419+
"This function receives `kwargs` that contain parameter names and values collected from the user.. Additionally, it includes parameters like `batch_size`, which controls the tool's behavior. The Text Transform Tool supports customization of `batch_size`, determining how many records are processed in a single batch. This parameter plays a crucial role in optimizing the tool's performance."
420420
]
421421
},
422422
{

guide/14-deep-learning/exploring_model_extensibility_for_named_entity_recognition.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
"\n",
133133
"1. **InferenceFunction**: This key specifies the name of the module that defines the NLP function.\n",
134134
"2. **ModelType**: This key indicates the type of task. For the **Extract Entities Using Deep Learning (GeoAI)** tool, the value will be `Transformer`.\n",
135-
"3. **ArcGISLearnVersion**: This facility is introduced 2.4.0 and helps **Extract Entities Using Deep Learning (GeoAI)** to filter the previous dlpk.\n",
135+
"3. **ArcGISLearnVersion**: NLP functions are supported in `arcgis.learn` from version 2.4.0 onward. This parameter is used to exclude older `.dlpk` files that have unsupported NLP functions.\n",
136136
"\n",
137137
"Additional keys can be defined at the discretion of the model extension author. In this instance, we have included the pre-trained model name under the key **PretrainedModel**."
138138
]
@@ -237,7 +237,7 @@
237237
"id": "1c20706a-296c-4921-8043-230cb2078f8b",
238238
"metadata": {},
239239
"source": [
240-
"This function is designed to collect parameters from the user through the Extract Entities Using Deep Learning (GeoAI). For our use case, it will gather the name of the **entity** to be extracted from the input text. The default value will be a comma-separated string of the aforementioned classes."
240+
"This function is designed to collect parameters from the user through Extract Entities Using Deep Learning (GeoAI). For our use case, it will gather the name of the **entity** to be extracted from the input text. The default value will be a comma-separated string of the aforementioned classes."
241241
]
242242
},
243243
{

guide/14-deep-learning/leveraging_llms_for_real_time_decision_making_in_calamities.ipynb

Lines changed: 5 additions & 5 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 the `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 the **Classify Text Using Deep Learning (GeoAI)** Tool, we need to supply `InferenceFunction`, `ModelType` and `OutputField`. \n",
214214
"\n",
215215
"1. `InferenceFunction`: Name of the module that contains the definition of NLP function\n",
216-
"2. `ModelType`: Defines the type of task. For **Classify Text Using Deep Learning (GeoAI)** Tool it will be `TextClassifier`\n",
217-
"3. `OutputField`: Name of the field in which contains the output\n",
216+
"2. `ModelType`: Defines the type of task. For the **Classify Text Using Deep Learning (GeoAI)** Tool, it will be `TextClassifier`\n",
217+
"3. `OutputField`: Name of the field that contains the output\n",
218218
"\n",
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."
219+
"Other keys are the prerogative of the Model extension author. In this case, we stated the `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
{
@@ -438,7 +438,7 @@
438438
"id": "85296efe-2889-466f-a985-82c9353d0065",
439439
"metadata": {},
440440
"source": [
441-
"This function receives `kwargs`, which contain parameter names and values collected from the user. Additionally, it includes parameters like `batch_size`, which controls the tool's behavior. The Text Transform Tool supports customization of `batch_size`, determining how many records are processed in a single batch. This parameter plays a crucial role in optimizing the tool's performance."
441+
"This function receives `kwargs` that contain parameter names and values collected from the user. Additionally, it includes parameters like `batch_size`, which controls the tool's behavior. The Text Transform Tool supports customization of `batch_size`, determining how many records are processed in a single batch. This parameter plays a crucial role in optimizing the tool's performance."
442442
]
443443
},
444444
{

0 commit comments

Comments
 (0)