Hands-On Lab With LLMs and Gen AI Within IDC
Hands-On Lab With LLMs and Gen AI Within IDC
Hands-On Lab With LLMs and Gen AI Within IDC
Gen AI
Within IDC
Abhishek Nandy
Chief Data Scientist PrediQt Business
Solution pvt ltd
Intel® DeveloperCloud
Please follow the steps below to get developer access to Intel® Developer
Cloud: 1. Go to Intel Developer Cloud: https://cloud.intel.com/
2. Click Get Started.
3. Register for a “Standard” account by completing the Standard registration
form. 4. Log in via the Intel Developer Cloud landing page
https://cloud.intel.com/ 5. Select the Training catalog in the Intel® Developer
Cloud portal.
IntelConfidential
Department or Event Name 2
Cloud portal:
• Account admin
• Quick start home page
• Service Instances
• Hardware catalog
• Software catalog
https://console.idcservice.net/docs/index.html
• References • Knowledge base • Community support •
• Support Ticketing
• Release notes • 24 x 7 support
• DedicatedSRE team
Intel® DeveloperCloud
onCloud.intel.com Click Subscribe for “StandardTier to create
new account
Intel® DeveloperCloud
Existing User Account with other Intel
service access
Select Already
Enter Email and Password
Member? Sign In
onCloud.intel.com
Welcome to Intel
Developer Cloud
5
Intel® DeveloperCloud
Training Catalog
SATG –Software Products & Ecosystem
I
6
Intel® DeveloperCloud
Training Catalog –One-Click Jupyter Access
I
m
One-click Jupyter
access
7
Intel® DeveloperCloud
Hardware Catalog
Intel® DeveloperCloud
Deploy and Access the Hardware Platform
I
9
...
Breakthe Chains of ProprietaryLock-inFreedom
oneAPIIndustrySpecification
▪ C++programming model for multiple Cross-architecture code reuse Realize allthe Hardware Value
architectures and vendors ▪ forfreedom from vendor lock-in
DirectProgramming SYCL (C++) Comm
Volumetri
API-BasedProgramming
Analytics
c
DNN ML Renderin
Math Threading Parallel STL Ray Tracing / ML g
Low-LevelHardware Interface(oneAPILevelZero)
▪ Interoperable with familiar languages ▪ Powerful libraries for acceleration of CPU GPU FPGA
Other
and programming models including domain-specific functions Accelerators
Fortran,Python, OpenMP, and MPI
11
Intel®oneAPIToolkits
A completesetofprovendeveloper toolsexpandedfromCPU toAccelerators
A core set of high-performance libraries and tools for building C++,SYCL and Python applications
Intel®AIAnalytics Toolkit
Accelerate machine learning & data
science pipelines end-to-end with
optimized DL frameworks & high
performing Python libraries
Latest version available 2023.1
Intel®Distributionof
OpenVINO™Toolkit
Deploy high performance inference & applications from edge to 12
cloud
Intel AI
Top Features/Benefits
Analytics MachineLearning
Toolkit
Intel®Extension forScikit-learn Intel-optimizedXGBoost
DeepLearning
Intel®OptimizationforTensorFlow
DataAnalytics
Accelerate end-to-end AI and data
analytics pipelines with libraries Intel®OptimizationforPyTorch Intel®NeuralCompressor
Intel®Distributionof Modin OmniSciBackend
optimized for Intel® architectures
ModelZoo for Intel®Architecture
CPU GPU
GettheToolkitHERE orviatheselocations
1199
AI Reference Kits
Machine Learning Pipeline
DataProcessingFeature
EngineeringModelTraining HyperTuning Quantization Inferencing
AI Reference Kit
includes:
• Solution Brief(s)
• Developer Guide(s)
• Reference Code Repository
• Platform Architecture Guide
• Example Benchmarking results
14
GPT
BERT
Flan-T5
BLOOM
PaLM 16
Llama
More on LLMs
Antibiotics are
medications used to treat bacterial infections
by either killing the bacteria or stopping them
from reproducing, but they are not effective
against viruses and overuse can lead to
antibiotic
manipulate human language. They are based
on neural network architectures, typically
transformers, that are trained on vast
amounts of text. Examples include OpenAI's GPT series (like the one you're interacting with) and BERT
from Google. The "large" refers to the number of parameters or weights in the model, which can be in the
billions or even trillions. LLMs can be used for a wide range of tasks including translation, question
answering, and text generation.
Prompt templates
Prompt templates are predefined textual structures or frameworks that guide the generation of content.
They can be seen as a blueprint or a pattern for generating specific types of output. In the context of
natural language processing and AI models like GPT, a prompt template is a way to structure your input so
that the model can produce the desired output.
OpenAI Embeddings
Vector Store
• Langchain supports many text embeddings, that can directly
convert string text to an embedded vectorized representation.
• Later on we can store these embedding vectors and then perform
similarity searches between new vectorized documents or strings
against or vector store.
Stable Diffusion
Stable Diffusion
Text to Image with Stable Diffusion Notebook
Code
https://github.com/AbhiLegend/RoadshowLLM
Linkedin
https://in.linkedin.com/in/abhishek-nandy?original_referer=h
Thank you