From 0ea817d05535369827a1357ffe11f655ba36bffc Mon Sep 17 00:00:00 2001 From: Pietro Monticone <38562595+pitmonticone@users.noreply.github.com> Date: Sat, 15 Apr 2023 14:20:31 +0200 Subject: [PATCH 1/5] Fix typos in English and Italian --- pages/index.it.mdx | 2 +- pages/notebooks.en.mdx | 2 +- pages/papers.it.mdx | 2 +- pages/readings.en.mdx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/index.it.mdx b/pages/index.it.mdx index 2f2ad3a..781a792 100644 --- a/pages/index.it.mdx +++ b/pages/index.it.mdx @@ -4,6 +4,6 @@ Prompt engineering è una disciplina relativamente nuova che consente di svilupp Chi si occupa di ricerca usa il prompt engineering per migliorare le capacità dei LLM su un'ampia gamma di compiti comuni e complessi, come la risposta a domande e il ragionamento aritmetico. Chi sviluppa software invece per progettare tecniche di prompt robuste ed efficaci che si interfacciano con i LLM e con altri strumenti. -Prompt engineeringnon riguarda solo la progettazione e lo sviluppo di prompt. Comprende un'ampia gamma di competenze, tecniche ed utili per interagire e sviluppare con i LLM. È un'abilità importante per interfacciarsi, costruire e comprendere le capacità dei LLM. È possibile utilizzare l'ingegneria dei prompt per migliorare la sicurezza dei LLM e costruire nuove funzionalità, come l'aumento dei LLM con la conoscenza del dominio e gli strumenti esterni. +Prompt engineering non riguarda solo la progettazione e lo sviluppo di prompt. Comprende un'ampia gamma di competenze, tecniche ed utili per interagire e sviluppare con i LLM. È un'abilità importante per interfacciarsi, costruire e comprendere le capacità dei LLM. È possibile utilizzare l'ingegneria dei prompt per migliorare la sicurezza dei LLM e costruire nuove funzionalità, come l'aumento dei LLM con la conoscenza del dominio e gli strumenti esterni. Motivati dall'elevato interesse per lo sviluppo con gli LLM, abbiamo creato questa nuova guida all'ingegneria dei prompt che contiene tutti i documenti più recenti, le guide all'apprendimento, i modelli, le lezioni, i riferimenti, le nuove funzionalità degli LLM e gli strumenti relativi all'ingegneria dei prompt. diff --git a/pages/notebooks.en.mdx b/pages/notebooks.en.mdx index 7433a5c..3dd8401 100644 --- a/pages/notebooks.en.mdx +++ b/pages/notebooks.en.mdx @@ -1,6 +1,6 @@ # Prompt Engineering Notebooks -Contains a collection of noteooks we have designed to help you get started with prompt engineering. More to be added soon! +Contains a collection of notebooks we have designed to help you get started with prompt engineering. More to be added soon! | Description | Notebook | | :------------ | :---------: | diff --git a/pages/papers.it.mdx b/pages/papers.it.mdx index 7ef1cac..ae1a6d7 100644 --- a/pages/papers.it.mdx +++ b/pages/papers.it.mdx @@ -1,6 +1,6 @@ # Articoli scientifici -Di seguito sono riportati gli articoli scientifici più recenti (ordinati in base alla data di pubblicazione) sul prompt engineerig. Aggiorniamo questa guida quotidianamente, in base all'arrivo di nuovi documenti. Ogni settimana inseriamo i riassunti di questi documenti nelle guide precedenti. +Di seguito sono riportati gli articoli scientifici più recenti (ordinati in base alla data di pubblicazione) sul prompt engineering. Aggiorniamo questa guida quotidianamente, in base all'arrivo di nuovi documenti. Ogni settimana inseriamo i riassunti di questi documenti nelle guide precedenti. ## Panoramica diff --git a/pages/readings.en.mdx b/pages/readings.en.mdx index 4863b43..ad20245 100644 --- a/pages/readings.en.mdx +++ b/pages/readings.en.mdx @@ -66,7 +66,7 @@ - [Methods of prompt programming](https://generative.ink/posts/methods-of-prompt-programming) - [Mysteries of mode collapse](https://www.lesswrong.com/posts/t9svvNPNmFf5Qa3TA/mysteries-of-mode-collapse) - [NLP for Text-to-Image Generators: Prompt Analysis](https://heartbeat.comet.ml/nlp-for-text-to-image-generators-prompt-analysis-part-1-5076a44d8365) -- [NLP with Deep Learning CS224N/Ling284 - Lecture 11: Promting, Instruction Tuning, and RLHF](http://web.stanford.edu/class/cs224n/slides/cs224n-2023-lecture11-prompting-rlhf.pdf) +- [NLP with Deep Learning CS224N/Ling284 - Lecture 11: Prompting, Instruction Tuning, and RLHF](http://web.stanford.edu/class/cs224n/slides/cs224n-2023-lecture11-prompting-rlhf.pdf) - [Notes for Prompt Engineering by sw-yx](https://github.com/sw-yx/ai-notes) - [On pitfalls (and advantages) of sophisticated large language models](https://arxiv.org/abs/2303.17511) - [OpenAI Cookbook](https://github.com/openai/openai-cookbook) From 03b7e273563707f3bf2cb44fc1d6e4e8f789e9c0 Mon Sep 17 00:00:00 2001 From: Pietro Monticone <38562595+pitmonticone@users.noreply.github.com> Date: Sat, 15 Apr 2023 14:27:37 +0200 Subject: [PATCH 2/5] Fix typos in Italian --- pages/models/chatgpt.it.mdx | 2 +- pages/models/gpt-4.it.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/models/chatgpt.it.mdx b/pages/models/chatgpt.it.mdx index f2ca220..c20084d 100644 --- a/pages/models/chatgpt.it.mdx +++ b/pages/models/chatgpt.it.mdx @@ -53,7 +53,7 @@ Grandi aziende come Snap Inc. e Instacart stanno già integrando nei loro prodot --- ## Conversazioni con ChatGPT -### Convesazioni multi-giro +### Conversazioni multi-giro Per iniziare a dimostrare le capacità di ChatGPT, utilizzeremo l'esempio dell'assistente chatbot di cui sopra e discuteremo i risultati. Rispetto a `text-davinci-003`, il modello `gpt-3.5-turbo` che alimenta ChatGPT utilizza un formato di chat come input. Il modello si aspetta una serie di messaggi come input e li usa per generare una risposta. diff --git a/pages/models/gpt-4.it.mdx b/pages/models/gpt-4.it.mdx index 2077297..4331e77 100644 --- a/pages/models/gpt-4.it.mdx +++ b/pages/models/gpt-4.it.mdx @@ -15,7 +15,7 @@ import GPT48 from '../../img/gpt4-8.png' Questa sezione è in fase di forte sviluppo. -In questa sezione, trattiamo le più recenti tecniche di iprompt engineeringa per GPT-4, inclusi suggerimenti, applicazioni, limitazioni e materiali di lettura aggiuntivi. +In questa sezione, trattiamo le più recenti tecniche dii prompt engineering per GPT-4, inclusi suggerimenti, applicazioni, limitazioni e materiali di lettura aggiuntivi. ## Introduzione a GPT-4 From 017b90e4c7416d7404249dc5c0955c2f21623cf4 Mon Sep 17 00:00:00 2001 From: Pietro Monticone <38562595+pitmonticone@users.noreply.github.com> Date: Sat, 15 Apr 2023 14:29:35 +0200 Subject: [PATCH 3/5] Fix typos in English and Italian --- pages/introduction/examples.en.mdx | 2 +- pages/introduction/tips.it.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/introduction/examples.en.mdx b/pages/introduction/examples.en.mdx index 4721c12..dfa9268 100644 --- a/pages/introduction/examples.en.mdx +++ b/pages/introduction/examples.en.mdx @@ -138,7 +138,7 @@ Perfect! This time the model returned `neutral` which is the specific label I wa *Prompt:* ``` -Classify the text into nutral, negative or positive. +Classify the text into neutral, negative or positive. Text: I think the vacation is okay. Sentiment: diff --git a/pages/introduction/tips.it.mdx b/pages/introduction/tips.it.mdx index 24102e4..13850a6 100644 --- a/pages/introduction/tips.it.mdx +++ b/pages/introduction/tips.it.mdx @@ -1,4 +1,4 @@ -# Suggermenti generali per la progettazione di Prompt +# Suggerimenti generali per la progettazione di Prompt Ecco alcuni suggerimenti da tenere a mente durante la progettazione dei tuoi prompt: From c23c4d60df68ff351924998f1b6ad42a984dd281 Mon Sep 17 00:00:00 2001 From: Elvis Saravia Date: Sun, 16 Apr 2023 16:50:53 -0600 Subject: [PATCH 4/5] Update examples.en.mdx --- pages/introduction/examples.en.mdx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pages/introduction/examples.en.mdx b/pages/introduction/examples.en.mdx index dfa9268..a5b4c63 100644 --- a/pages/introduction/examples.en.mdx +++ b/pages/introduction/examples.en.mdx @@ -134,11 +134,13 @@ Sentiment: neutral ``` -Perfect! This time the model returned `neutral` which is the specific label I was looking for. It seems that the example provided in the prompt helped the model to be specific in its output. To highlight why sometimes being specific is important, check out this example and spot the problem: +Perfect! This time the model returned `neutral` which is the specific label I was looking for. It seems that the example provided in the prompt helped the model to be specific in its output. + +To highlight why sometimes being specific is important, check out the example below and spot the problem: *Prompt:* ``` -Classify the text into neutral, negative or positive. +Classify the text into nutral, negative or positive. Text: I think the vacation is okay. Sentiment: @@ -149,7 +151,7 @@ Sentiment: Neutral ``` -What is the problem here? +What is the problem here? As a hint, the made up `nutral` label is completely ignored by the model. Instead, the model outputs `Neutral` as it has some bias towards that label. But let's assume that what we really want is `nutral`. How would you fix this? Maybe you are explain the labels or add more examples to the prompt? If you are not sure, we will discuss a few ideas in the upcoming sections. --- @@ -285,4 +287,4 @@ Much better, right? By the way, I tried this a couple of times and the system so We will continue to include more examples of common applications in this section of the guide. -In the upcoming section, we will cover even more advanced prompt engineering concepts and techniques for improving performance on all these and more difficult tasks. \ No newline at end of file +In the upcoming section, we will cover even more advanced prompt engineering concepts and techniques for improving performance on all these and more difficult tasks. From ea69917df084c240df2ca0af8dad45da6172ba2c Mon Sep 17 00:00:00 2001 From: Elvis Saravia Date: Sun, 16 Apr 2023 16:52:13 -0600 Subject: [PATCH 5/5] Update examples.en.mdx --- pages/introduction/examples.en.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/introduction/examples.en.mdx b/pages/introduction/examples.en.mdx index a5b4c63..ad38809 100644 --- a/pages/introduction/examples.en.mdx +++ b/pages/introduction/examples.en.mdx @@ -151,7 +151,7 @@ Sentiment: Neutral ``` -What is the problem here? As a hint, the made up `nutral` label is completely ignored by the model. Instead, the model outputs `Neutral` as it has some bias towards that label. But let's assume that what we really want is `nutral`. How would you fix this? Maybe you are explain the labels or add more examples to the prompt? If you are not sure, we will discuss a few ideas in the upcoming sections. +What is the problem here? As a hint, the made up `nutral` label is completely ignored by the model. Instead, the model outputs `Neutral` as it has some bias towards that label. But let's assume that what we really want is `nutral`. How would you fix this? Maybe you can try adding descriptions to the labels or add more examples to the prompt? If you are not sure, we will discuss a few ideas in the upcoming sections. ---