Skip to content

Examples

QA

Text summarization

Extractive Summarization/Information Retrieval

Text classification

Question Answering

In this task the purpose is to answer a question based on an informational text provided to the large language model. The basic form is perform a zero-shot prompt with a question where the text has been provided to the model during training. The most advanced form includes the informational text in the prompt. In instructive-completion prompts it needs to be delimited by markers, whereas in the instructive-pure there is only need to specify it with appropriate wording.

Instructive Pure

What is the meaning of : "Russia’s withdrawal from a critically important
wartime deal that allowed the export of Ukrainian grain across the Black Sea
has reignited fears about global food security, with analysts describing the
initiative’s demise as both an inevitable setback and a blow to markets.

Hours before the agreement’s expiry, Russia said Monday that it would not renew
the Black Sea Grain Initiative.

Response:

This passage means that Russia has decided to withdraw from a crucial wartime
agreement, called the Black Sea Grain Initiative, which facilitated the export
of Ukrainian grain across the Black Sea. This decision has raised concerns
about the potential impact on global food security, as the availability and
accessibility of food may be affected. Analysts view the end of this agreement
as an expected yet disappointing development, as it could negatively impact
grain markets and food supply chains. The announcement was made by Russia just
hours before the deal was set to expire, stating that they would not renew the
initiative.

Instructive completion

Example:

Generate an answer for the content between tokens ##CPST09 and ##CPEN09 given
the question between tokens ##QBPST45 and ##QBPEN45 and the answer will be put
after token ##GBP8

##CPST09 
Russia’s withdrawal from a critically important wartime deal that
allowed the export of Ukrainian grain across the Black Sea has reignited fears
about global food security, with analysts describing the initiative’s demise as
both an inevitable setback and a blow to markets.

Hours before the agreement’s expiry, Russia said Monday that it would not renew
the Black Sea Grain Initiative. 
##CPEN09

##QBPST45
What is the meaning?
##QBPEN45

##GBP8

Completion:

The meaning is that Russia's decision not to renew the Black Sea Grain
Initiative has caused fears about global food security and abc(is) seen as a
setback and a blow to markets.

Text Summarization

There are two forms of text summarization, abstractive and extractive. We usually refere to the first just as text summarization, whereas the second is commonly known as information extraction.

Instructive Pure

Example:

Provide a summary for the text: "The convergence of AI and robotics has led to
the creation of intelligent robots that can learn from their experiences, adapt
to their environments, and work collaboratively with humans. These advancements
hold great promise for improving productivity, solving complex problems, and
enhancing the quality of life for people around the world."

Response:

The convergence of AI and robotics has resulted in intelligent robots capable
of learning, adapting, and collaborating with humans. These advancements offer
significant potential for increased productivity, problem-solving, and improved
quality of life globally.

It is also possible add in the instructive part of the prompt additional information on limiting the output, specifying in which important parts of the text to focus upon, or how to perform summarization.

Instructive completion

Example:

Generate a summary for the content between tokens ##CPST09 and ##CPEN09 and place
the answer after token ##GBP8

##CPST09
The convergence of AI and robotics has resulted in intelligent robots capable
of learning, adapting, and collaborating with humans. These advancements offer
significant potential for increased productivity, problem-solving, and improved
quality of life globally.
##CPEN09

##GBP8

Response:

AI and robotics have converged to create intelligent robots that can learn,
adapt, and collaborate with humans. This has the potential to increase
productivity, solve problems, and improve the quality of life for people around
the world.

Extractive Summarization

In extractive summarization

Instructive Pure

Example:

Given the following text, provide an extractive summary highlighting the most
important points:

Artificial Intelligence (AI) and robotics are rapidly advancing fields of
technology that are transforming our world. AI refers to the development of
computer systems that can perform tasks which normally require human
intelligence, such as visual perception, speech recognition, decision-making,
and language translation. Robotics is a branch of engineering that involves the
design, construction, operation, and use of robots. Robots are programmable
machines that can carry out a series of actions autonomously or
semi-autonomously. They are often used in manufacturing, healthcare,
agriculture, and other industries to perform tasks that are difficult,
dangerous, or repetitive for humans. The convergence of AI and robotics has led
to the creation of intelligent robots that can learn from their experiences,
adapt to their environments, and work collaboratively with humans. These
advancements hold great promise for improving productivity, solving complex
problems, and enhancing the quality of life for people around the world.

Response:

AI and robotics are rapidly advancing fields, transforming our world. AI
involves developing computer systems capable of tasks like visual perception,
speech recognition, decision-making, and language translation. Robotics focuses
on designing, constructing, and operating robots, which are programmable
machines used in industries like manufacturing, healthcare, and agriculture.
The convergence of AI and robotics has led to intelligent robots that learn,
adapt, and collaborate with humans, promising improved productivity, complex
problem-solving, and enhanced quality of life globally.

Instructive completion

Example:

Provide an extractive summary highlighting the most important points for the
content between tokens ##CPST09 and ##CPEN09 and place the answer after token
##GBP8

##CPST09
Artificial Intelligence (AI) and robotics are rapidly advancing fields of
technology that are transforming our world. AI refers to the development of
computer systems that can perform tasks which normally require human
intelligence, such as visual perception, speech recognition, decision-making,
and language translation. Robotics is a branch of engineering that involves the
design, construction, operation, and use of robots. Robots are programmable
machines that can carry out a series of actions autonomously or
semi-autonomously. They are often used in manufacturing, healthcare,
agriculture, and other industries to perform tasks that are difficult,
dangerous, or repetitive for humans. The convergence of AI and robotics has led
to the creation of intelligent robots that can learn from their experiences,
adapt to their environments, and work collaboratively with humans. These
advancements hold great promise for improving productivity, solving complex
problems, and enhancing the quality of life for people around the world.
##CPEN09

##GBP8

Completion:

AI and robotics are rapidly advancing fields of technology that are
transforming our world. AI involves the development of computer systems that
can perform tasks which require human intelligence, such as visual perception,
speech recognition, decision-making, and language translation. Robotics
involves the design, construction, operation, and use of robots, which are
programmable machines that can carry out a series of actions autonomously or
semi-autonomously. The convergence of AI and robotics has led to the creation
of intelligent robots that can learn from their experiences, adapt to their
environments, and work collaboratively with humans. These advancements have
great potential to improve productivity, solve complex problems, and enhance
the quality of life for people around the world.

Text Classification

Take the example of movie synopsis that we want to classify into different possible genres.

Instructive Pure

Example:

Title: Identify the Genre of a Movie Based on its Synopsis

Prompt: Read the following movie synopsis and classify it into one of these
genres: Action, Adventure, Comedy, Drama, Horror, Romance, or Science Fiction.

Synopsis: In a small town, a group of friends stumble upon an abandoned
laboratory where they discover a mysterious device capable of transporting them
to different dimensions. As they explore these new worlds, they must navigate
through various challenges and work together to find their way back home before
it's too late.

Response:

Genre: Adventure

Instructive completion

Again the instructive-completion type of prompts are more complex to work out.

Example:

Identify the genre of a movie considering only genres between tokens ##GST09
and ##GEN09 , based on its synopsis placed between tokens ##CPST09 and ##CPEN09
and place the answer after token ##GBP8 .

##GST09
Action, Adventure, Comedy, Drama, Horror, Romance, or Science Fiction
##GEN09

##CPST09
In a small town, a group of friends stumble upon an abandoned
laboratory where they discover a mysterious device capable of transporting them
to different dimensions. As they explore these new worlds, they must navigate
through various challenges and work together to find their way back home before
it's too late.
##CPEN09

##GBP8

Completion:

Adeventure