Docsity

Introduction to Large Language Models (LLMs), Exams of Advanced Education

Toggle sidebar
bg1
INTRODUCTION TO LARGE
LANGUAGE MODULES TEST 2025
large language models - ANSWER Large, general-purpose language models
can be pre-trained (basic common language problems: text classification,
question answering, document summarisation, text generation) and then fine-
tuned (specific problems in different fields) for specific purposes
3 major features of large language models - ANSWER 1. large:
-large training dataset
- a large number of parameters: memory and knowledge machine-learned from
training, define the skills of the model
2. general purpose: model sufficient ability to solve a common problem
-commonality of human languages
-resource restriction
3. pre-trained and fine-tuned
benefits of using large language models - ANSWER 1. a single code can be
used for different tasks
2. the fine-tuning process requires minimal field data
-obtain decent performance even with minimal training
-can be used for few-shot or even zero-shot scenarios
3. the performance of LLM is continuously growing when you add more data
and parameters
few-shot - ANSWER in machine learning, it refers to training a model with
minimal data
pf3
pf4
pf5

Partial preview of the text

Download Introduction to Large Language Models (LLMs) and more Exams Advanced Education in PDF only on Docsity!

INTRODUCTION TO LARGE

LANGUAGE MODULES TEST 2025

large language models - ANSWER Large, general-purpose language models can be pre-trained (basic common language problems: text classification, question answering, document summarisation, text generation) and then fine- tuned (specific problems in different fields) for specific purposes 3 major features of large language models - ANSWER 1. large:

  • large training dataset
  • a large number of parameters: memory and knowledge machine-learned from training, define the skills of the model
  1. general purpose: model sufficient ability to solve a common problem
  • commonality of human languages
  • resource restriction
  1. pre-trained and fine-tuned benefits of using large language models - ANSWER 1. a single code can be used for different tasks
  2. the fine-tuning process requires minimal field data
  • obtain decent performance even with minimal training
  • can be used for few-shot or even zero-shot scenarios
  1. the performance of LLM is continuously growing when you add more data and parameters few-shot - ANSWER in machine learning, it refers to training a model with minimal data

zero-shot - ANSWER in Machine learning, implies that a model can recognize things that have not explicitly been taught in the training before Pathways Language Model (PaLM) - ANSWER - has 540 billion parameters

  • leverages the new Pathway system: efficiently train a single model across multiple TPU v4 Pods
  • orchestrate distributed computation for accelerators *will handle many tasks at once, learn new tasks quickly, and reflect a better understanding of the world Transformer model - ANSWER 1. encoding component
  • input
  1. decoding component
  • output LLM Development v. Traditional Development - ANSWER LLM development
  • no ML expertise needed
  • no training examples
  • no need to train a model
  • thinks about prompt design Traditional ML development
  • yes ML expertise needed
  • yes training examples yes need to train a model
  • yes compute time + hardware
  • thinks about minimizing a loss function What is question answering in natural language processing? - ANSWER - question answering is a subfield of natural language processing
  • depending on the model used, the answer can be directly extracted from text or generated from scratch Generative QA

ex: we may collect training data and "tune" the LLM specifically for the legal or medical domain fine tuning - ANSWER bring your dataset and retrain the model by tuning every weigh t in the LLM. This requires big training job and hosting your own fine-tuned model

  • expensive and not realistic in many places parameter-efficient tuning methods (PETM) - ANSWER - easier and more efficient parameter tuning method
  • tune LLM on your own custom data without duplicating the model
  • the base model itself is not altered
  • instead small number of add-on layers are tuned, which can be swapped in and out at inference time Vertex AI Search and Conversation creates Generative AI Apps with... - ANSWER ...little or no coding and no prior ML experience PaLM API & MakerSuite Simplifies Generative Development Cycle - ANSWER PaLM API: simple entry point for Google's LLM. Provide developer access to models that are optimized for use cases such as summarization, classification, and more.
  • graphical user interface MakerSuite: an approachable way to start prototyping and building generative AI applications. Iterate on promotes, augment your dataset with synthetic data, tune custom models
  • model training tool
  • model deployment tool
  • model monitoring tool (performance) What are some of the applications of LLMs?
  1. LLMs can be used for many tasks, including:1) Writing2) Translating3) Coding4) Answering questions5) Summarizing text6) Generating non-creative discrete probabilities
  1. LLMs can be used for many tasks, including:1) Writing2) Translating3) Coding4) Answering questions5) Summarizing text6) Generating non-creative discrete classes
  2. LLMs can be used for many tasks, including:1) Writing2) Translating3) Coding4) Answering questions5) Summarizing text6) Generating creativecontent
  3. LLMs can be used for many tasks, including: 1) Writing2) Translating3) Coding4) Answering questions5) Summarizing text6) Generating non-creative discrete predictions
  4. LLMs can be used for many tasks, including:1) Writing2) Translating3) Coding4) Answering questions5) Summarizing text6) Generating non-creative discrete probabilities, classes, and predictions. - ANSWER 3. LLMs can be used for many tasks, including:1) Writing2) Translating3) Coding4) Answering questions5) Summarizing text6) Generating creativecontent What are some of the challenges of using LLMs? Select three options
  5. They can be expensive to train
  6. After being developed, they only change when they are fed new data.
  7. They can be biased.
  8. They can be used to generate harmful content. - ANSWER 1. They can be expensive to train
  9. They can be biased.
  10. They can be used to generate harmful content. What are some of the benefits of using large language models (LLMs)?
  11. LLMs have many benefits, including: 1) They can generate human-quality text. 2) They can be used for a variety of tasks.3) They can be trained on massive datasets of text and code. 4) They are constantlyimproved.