You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/modules/ROOT/pages/index.adoc
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,11 +12,11 @@ Although we use the insurance industry in this workshop the principles are widel
12
12
13
13
Throughout this workshop, you as a developer will be interfacing with a variety of LLMs deployed on *Red Hat OpenShift AI* and designed for different use cases. Some of these have been fine-tuned with Parasol's private corporate data to demonstrate how organizations like Parasol can achieve business value with AI without giving away their secrets. The models you will use:
14
14
15
-
* https://huggingface.co/instructlab/merlinite-7b-lab[Merlinite 7B^] - This model is derived from a https://huggingface.co/mistralai[Mistral model^], and trained with the https://arxiv.org/abs/2403.01081[LAB methodology^] and a https://github.com/instructlab/taxonomy[community taxonomy] of data. It has not been tuned with Parasol-specific data.
15
+
* https://huggingface.co/ibm-granite/granite-3.0-8b-instruct[IBM Granite-3.0-8B-Instruct^] - This model is developed using a diverse set of techniques with a structured chat format, including supervised finetuning, model alignment using reinforcement learning, and model merging. It has not been tuned with Parasol-specific data.
16
16
17
-
* **parasol-chat** - This model is derived from the https://huggingface.co/instructlab/granite-7b-lab[InstructLab's Granite model^] and has been fine-tuned using the https://github.com/instructlab/community[InstructLAB project] with a https://github.com/rh-rad-ai-roadshow/parasol-taxonomy[Parasol-specific dataset^]. The name _chat_ implies that this is primarily useful for conversations, and can respond with knowledge of Parasol's private data.
17
+
* **parasol-chat** - This model is derived from the https://huggingface.co/ibm-granite/granite-3.0-8b-instruct[IBM Granite-3.0-8B-Instruct^] and has been fine-tuned using the https://github.com/instructlab/community[InstructLAB project] with a https://github.com/rh-rad-ai-roadshow/parasol-taxonomy[Parasol-specific dataset^]. The name _chat_ implies that this is primarily useful for conversations, and can respond with knowledge of Parasol's private data.
18
18
19
-
* **parasol-instruct** - This model is derived from https://huggingface.co/ibm-granite/granite-7b-instruct[IBM GraniteInstruct], and also fine-tuned as above with Parasol-specific data. The name _instruct_ implies that this is primarily good at following instructions to complete a task. This is useful when you want the model to follow explicit instructions, such as "Respond only with JSON with the following schema: {...}".
19
+
* **parasol-instruct** - This model is derived from https://huggingface.co/ibm-granite/granite-3.0-8b-instruct[IBM Granite-3.0-8B-Instruct^], and also fine-tuned as above with Parasol-specific data. The name _instruct_ implies that this is primarily good at following instructions to complete a task. This is useful when you want the model to follow explicit instructions, such as "Respond only with JSON with the following schema: {...}".
20
20
21
21
* **parasol-tools** - This model is based on the https://huggingface.co/meta-llama/Meta-Llama-3.1-8B-Instruct[Meta Llama Instruct^] model(s) and has specifically been trained to use agents (also called tools) to complete tasks that you as a developer instruct give it. This is used for "Agentic" applications that provide agents that can do specific tasks like send an email, calculate math problems, and more.
You can fix this by pulling the lastest recipe from GitHub.
283
+
// You can fix this by pulling the lastest recipe from GitHub.
284
284
285
-
Open a new terminal (_Activities > Show Applications > Terminal_) and run the following command:
285
+
// Open a new terminal (_Activities > Show Applications > Terminal_) and run the following command:
286
286
287
-
[.console-input]
288
-
[source,shell,subs="+attributes,macros+"]
289
-
----
290
-
cd /home/instruct/.local/share/containers/podman-desktop/extensions-storage/redhat.ai-lab/summarizer/recipes/natural_language_processing/summarizer
291
-
git pull origin main
292
-
----
287
+
// [.console-input]
288
+
// [source,shell,subs="+attributes,macros+"]
289
+
// ----
290
+
// cd /home/instruct/.local/share/containers/podman-desktop/extensions-storage/redhat.ai-lab/summarizer/recipes/natural_language_processing/summarizer
291
+
// git pull origin main
292
+
// ----
293
293
294
-
Restart the recipe to re-build the container with the updated code.
294
+
// Restart the recipe to re-build the container with the updated code.
295
295
296
-
image::discovery/text-summarization-restart.png[Podman AI Lab Text Summarization Application Restart]
296
+
// image::discovery/text-summarization-restart.png[Podman AI Lab Text Summarization Application Restart]
297
297
298
-
Since the source code has changed, you may be notified from Podman AI Lab that the hash has changed. This is expected behavior, and you can select *Continue* to proceed building the application container image with the updated code.
298
+
// Since the source code has changed, you may be notified from Podman AI Lab that the hash has changed. This is expected behavior, and you can select *Continue* to proceed building the application container image with the updated code.
299
299
300
-
image::discovery/text-summarization-hash-change.png[Podman AI Lab Text Summarization Hash Change]
301
-
====
300
+
// image::discovery/text-summarization-hash-change.png[Podman AI Lab Text Summarization Hash Change]
301
+
// ====
302
302
303
303
==== Review the summarization that is generated from the claim
304
304
@@ -380,8 +380,6 @@ image::discovery/text-summarization-app-refine.png[Podman AI Lab Text Summarizat
380
380
381
381
By updating the template with these specific requirements, you can tailor the summarization output to provide more detailed and relevant information for insurance claims processing at Parasol Insurance.
382
382
383
-
==== Save your changes
384
-
385
383
==== Switch back to Podman Desktop and to the running `Summarizer` recipe
386
384
387
385
==== Restart the recipe to re-build the container with the updated code
Enter the filename `qna.yaml` to create the file. Then, copy in the following content into the file (using the special copy/paste procedure as before):
@@ -517,4 +517,4 @@ This exercise showed how organizations can leverage fine tuning with InstructLab
517
517
* You gained hands-on experience in *training and serving* a customized AI model
518
518
* You understand the *benefits and limitations* of fine-tuning compared to other AI customization methods
519
519
520
-
These skills and tools will be invaluable as you continue to develop AI-enabled applications at Parasol Insurance, allowing you to quickly iterate on ideas and integrate powerful AI capabilities into your workflow.
520
+
These skills and tools will be invaluable as you continue to develop AI-enabled applications at Parasol Insurance, allowing you to quickly iterate on ideas and integrate powerful AI capabilities into your workflow.
Copy file name to clipboardExpand all lines: content/modules/ROOT/pages/module-prompt.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -680,7 +680,7 @@ public record EmailResponse(String subject, String message, String address) { }
680
680
681
681
image::prompt/new-field-added-to-email-response.png[Add "address" field to EmailResponse Record]
682
682
683
-
Now let's revisit the https://parasol-app-{user}-dev-parasol-app-{user}-dev.{openshift_cluster_ingress_domain}[web form^] and test out the new AI-generated attribute:
683
+
Now let's revisit the https://{user}-parasol-insurance-parasol-webui.{openshift_cluster_ingress_domain}[web form^] and test out the new AI-generated attribute:
684
684
685
685
- Reload the Email generate page. It take 10 - 20 seconds to recompile and apply the new prompt in the Quarkus dev mode.
686
686
- Copy and paste the new claim #1 example from the prior section into the form.
0 commit comments