Garantie de satisfaction à 100% Disponible immédiatement après paiement En ligne et en PDF Tu n'es attaché à rien 4.2 TrustPilot
logo-home
Resume

Summary Prompt engineering

Note
-
Vendu
-
Pages
2
Publié le
25-07-2023
Écrit en
2022/2023

What is Prompt and intuition behind prompts

Établissement
Cours








Oups ! Impossible de charger votre document. Réessayez ou contactez le support.

Livre connecté

École, étude et sujet

Cours

Infos sur le Document

Livre entier ?
Non
Quels chapitres sont résumés ?
Chapter i
Publié le
25 juillet 2023
Nombre de pages
2
Écrit en
2022/2023
Type
Resume

Sujets

Aperçu du contenu

what is Prompt? Intuition behind prompts

A prompt is a stimulus or input provided to a language model to initiate or guide its response
generation. It is the basis of communication between a user or system and the language model.
The intuition behind prompts lies in the fact that language models, such as GPT-3.5, are
powerful but contextually blind; they lack the knowledge of the preceding context, making them
highly sensitive to the initial input they receive.

By providing a well-crafted prompt, users or developers can effectively shape the behavior of the
language model and direct it towards desired outcomes. The goal of using prompts is to obtain
specific, relevant, and coherent responses from the language model for a given task or
application.

The intuition can be better understood through examples:

Question-Answering: If you want to use the language model as a question-answering system,
you would frame your input as a question in the prompt. For example:

Prompt: "What is the capital of France?"

Response: "The capital of France is Paris."

Translation: To utilize the model as a translation system, provide the text in one language as the
prompt:

Prompt: "Translate the following English text into French: 'Hello, how are you?'"

Response: "Bonjour, comment ça va ?"

Creative Writing: If you wish to generate creative content, you can start with a creative prompt:

Prompt: "Write a short story about a robot that learns to love."

Response: (a creatively generated story)

Code Completion: For programming tasks, you can set up the prompt to be a partial code
snippet that needs to be completed:

Prompt: "Complete the function to calculate the factorial of a number in Python: def
factorial(n):"

Response: (Python code completing the factorial function)
7,00 €
Accéder à l'intégralité du document:

Garantie de satisfaction à 100%
Disponible immédiatement après paiement
En ligne et en PDF
Tu n'es attaché à rien

Faites connaissance avec le vendeur
Seller avatar
ramakrishnatammineedi

Faites connaissance avec le vendeur

Seller avatar
ramakrishnatammineedi Published
S'abonner Vous devez être connecté afin de pouvoir suivre les étudiants ou les formations
Vendu
0
Membre depuis
2 année
Nombre de followers
0
Documents
5
Dernière vente
-

0,0

0 revues

5
0
4
0
3
0
2
0
1
0

Récemment consulté par vous

Pourquoi les étudiants choisissent Stuvia

Créé par d'autres étudiants, vérifié par les avis

Une qualité sur laquelle compter : rédigé par des étudiants qui ont réussi et évalué par d'autres qui ont utilisé ce document.

Le document ne convient pas ? Choisis un autre document

Aucun souci ! Tu peux sélectionner directement un autre document qui correspond mieux à ce que tu cherches.

Paye comme tu veux, apprends aussitôt

Aucun abonnement, aucun engagement. Paye selon tes habitudes par carte de crédit et télécharge ton document PDF instantanément.

Student with book image

“Acheté, téléchargé et réussi. C'est aussi simple que ça.”

Alisha Student

Foire aux questions