CPCS335 - Chapter 10-Final
CPCS335 - Chapter 10-Final
CPCS335 - Chapter 10-Final
Flashcards
•Natural languages are languages humans use to communicate, such as English and Arabic.
•NLP's goal is to make computers perform tasks related to human language, enable
•Question answering systems respond to specific questions and are exemplified by IBM's
•LLMs are models that process and generate large amounts of natural language data.
•Generative AI is capable of creating new content rather than simply analyzing existing data.
•Benefits, challenges, and risks of using Generative AI are associated with prominent
•In language processing, vectors x are derived from textual data to reflect various linguistic
•Feature extraction or feature encoding is a process of extracting features with text data
•The bag-of-words (BOW) model turns arbitrary text into fixed-length vectors by counting
•Vectorization is the process of turning arbitrary text into fixed-length vectors to make it
machine-readable.
•The first step of vectorizing documents is to determine the vocabulary, which is the set of
•Word count involves counting how many times each word appears in the document set to
•Length-6 vectors are created for each document using the bag-of-words model to
•The bag-of-words model loses contextual information and only tells you what words occur
•Text classification is the task of assigning a set of predefined categories to free text.
•Text classifiers can be used to organize and categorize almost anything, such as news
•These models are built on deep learning techniques and trained on huge datasets
•They can generate new texts, answer questions, translate between languages, and perform
•Large language models determine the probability of a certain string of words being present
in a sentence, and are considered large when they consist of a large number of parameters.
•They fall under the group of models known as foundation models, trained on different data
•Large language models differ from traditional natural language models in data size and
computing power, as they are trained on huge datasets and require enormous
computational resources.
•They are used for machine translation, automatic summarization, question answering, and
•Creating and developing large linguistic models involves three main steps: data collection
and processing, model training using deep learning techniques, and testing and evaluating
•There are questions about whether the results generated using large language models can
be trusted.
•Generative Artificial Intelligence has the ability to generate diverse and unlimited results
beyond the training data and relies on advanced technologies such as Deep Neural
•Relationship between the field of artificial intelligence and other types of machine learning:
Generative AI models have various capabilities such as generating new images, enhancing
and editing images and videos, composing musical pieces, summarizing, editing, and
understanding, classifying existing data, or making decisions based on the data. Generative
AI models have wide applications in art, design, content creation, entertainment, scientific
research, as well as benefits such as increased productivity, improved services, facilitating
services, facilitating research and analysis, reducing costs, and enhancing innovation.
cleaning, and preparing large and diverse datasets, which can be a costly process.
•Proposed solutions: Utilizing synthetic data and activating partnerships for data exchange.
Risks and Solutions for Generative Artificial Intelligence
•The need for immense computing resources to train models can be expensive and
•Implementing interpretability and transparency techniques that allow for the explanation
•The model's inability to explain how it produces any particular answer due to its reliance
•Need for specialized expertise in fields such as data science, programming, etc.
•The difficulty of attracting AI specialists due to their rarity and the high cost of hiring them.
•The absence of regulatory laws and policies related to privacy, intellectual property rights,
and the ethical use of technology that complicates effective governance of the field.
•Proposed solutions: learning best practices in designing and engineering inputs, treating
model outputs as preliminary drafts needing review and auditing, using retrieval-enhanced
methods, using a diverse and comprehensive training dataset, fine-tuning models, and
•Conducting security tests and launching bounty programs to discover vulnerabilities and
•Generative AI Models:
•Types of inputs include articles, brief descriptions, questions, sounds, music, speech,
•Prompt Engineering:
•Clarifying context and providing relevant context is essential for best answers
Use of HTML Tags in Notes
•The given text demonstrates the use of HTML tags to distinguish the structure of the
•The text presents various prompts for guiding a generative AI to provide specific responses
or complete tasks.
•Prompts include role-play, using symbols, determining output format, providing references,
•The examples provided in the text cover a range of practical tasks such as writing emails,
•The use of tags such as [ ] indicates that specific text portions must be filled in and altered
•Definition of AI: Discuss the broad definition of AI as a branch of computer science that
aims to create systems capable of performing tasks that would typically require human
intelligence.
•History and Evolution of AI: Overview of the history from Alan Turing’s ideas to modern AI,
highlighting key milestones like the development of neural networks and the victory of
•Types of AI: Explanation of artificial narrow intelligence (ANI), artificial general intelligence
•Module 2: Foundations of AI
•Machine Learning: Introduce the concept of machines learning from data, including
•Deep Learning: Dive into neural networks, emphasizing deep learning and its success in
•Algorithms and Techniques: Basic introduction to algorithms such as decision trees, support
•Tools and Libraries: Introduction to popular AI tools and libraries like TensorFlow, PyTorch,
and Scikit-learn.
•Simple AI Project: Guide students through a basic project, such as building a machine
•Capstone Project: Students propose and develop a project that applies AI techniques to a
•Overall immersive experience with stunning panoramic views of the mountain range
Global Cloud Computing Overview
•Discusses main benefits such as service elasticity, business continuity, cost reduction,
•Focuses on how these countries adopted cloud computing, challenges faced, and solutions
applied
•Encourages the development of human resources and infrastructure to support this digital
transition
Summary
"Advanced Applications of Machine Learning and AI in NLP and Generative AI"
This lecture covers Machine Learning Part(III), which includes Natural Language Processing
(NLP), Large Language Models (LLM), and Generative Artificial Intelligence (Generative AI).
NLP applications include spam filtering, conversational agents, question answering,
information extraction, sentiment analysis, and machine translation. LLMs are advanced AI
models that can understand and generate human language. Generative AI can create new
content and has applications in various industries, such as media and entertainment.
"Utilizing Bag of Words for Text Classification: A Simple Yet Effective Method"
The Bag of Words model is a feature extraction method that converts text into fixed-length
vectors by counting word occurrences. Despite losing contextual information, it's a simple
way to vectorize textual data. Text classification uses text classifiers to assign predefined
Large language models are AI systems trained on vast text datasets, using deep learning
techniques, to understand and produce human-like text. They differ from traditional natural
language models in terms of data size and computational power. Large language models
can be used for various tasks such as machine translation, automatic summarization,
Generative Artificial Intelligence (AI) is a technology that can generate diverse and unlimited
results beyond its training data, using advanced technologies like Deep Neural Networks
and Large Language Models. It has various applications, such as generating new images,
enhancing and editing media content, composing music, summarizing texts, and conducting
natural language conversations. Generative AI models differ from other AI models as they
focus on creating new data rather than understanding or classifying existing data. The
benefits of using Generative AI include increased productivity, improved services, facilitated
research, reduced costs, and enhanced innovation. However, challenges in creating
generative AI applications involve data cleaning and preparation, utilizing synthetic data,
AI in the future include speech synthesis and text-to-image generation. However, these
advancements also pose risks such as hallucination bias, privacy violations, intellectual
property rights issues, and security vulnerabilities. To address these challenges, various
solutions are proposed such as improving data quality, developing interpretability and
transparency techniques, fine-tuning models, and establishing ethical guidelines and
regulatory policies.
Using Generative AI, a pretrained model processes diverse data to generate new content
based on user inputs. Inputs can include articles, descriptions, questions, sounds, speech,
images, drawings, videos, or scenarios. Prompt engineering is crucial for effective interaction
Chocolate Chip Cookie Ice Cream Sandwich now available at the bakery. Limited time offer.
AI uses in various fields, like education, preparing content for AI course. Course includes
introduction to AI, machine learning, deep learning, and AI projects. AI also applied in
design, creating images from text for exclusive mountain retreat concept.
This document discusses the state of cloud computing globally, covering benefits,
challenges, and experiences of various countries. It defines cloud computing, its types, and
services, then highlights main benefits and challenges. The document also shares global
experiences from Singapore, Finland, and Sweden, describing how they've used cloud
computing to enhance government and business services. It concludes by encouraging
other countries to adopt similar strategies while emphasizing security, privacy, and human
resources development.
Quiz
Good luck on your finals J
ﻻ ﺗ ﻧ ﺳ و ﻧ ﺎ ﻣ ن ﺻ ﺎ ﻟﺢ د ﻋ ﺎ ﺋ ﻛ م ﷲ ﯾ و ﻓ ﻘ ﻛ م ﯾ ﺎ ر ب ا ﻣ ﯾ ن
ر اﺟ ﻌ و ا اﻟﺳ ﻼ ﯾد ا ت ﻛ ﻣ ﺎ ن ا ﺣ ﺗ ﯾ ﺎ ط