GPT-4 Complete: 2nd Edition. A comprehensive technical guide to the new OpenAI model

“#1 New Release in Artificial Intelligence” (Amazon, April,and May, 2023)

Here is the definitive technical guide to GPT-4 as well as its loquacious counterpart, ChatGPT … and Bard. Along with step-by-step examples for prompt engineering and fine tuning, the book looks at the current discussions around the technology’s promise and peril. Includes a 2-year subscription to GPTAnalytica’s PromptBuilder tool. Contents:

1 Preface

2 A short history of intelligence
. . 2.1 What is “intelligence”?
. . 2.2 Intelligence and humans
. . 2.3 Intelligence and computing
. . 2.4 Artificial intelligence
. . 2.5 Generative AI
. . 2.6 Conversant AI
. . 2.7 The Promethean Moment
. . 2.8 AI mind control?

3 Models and sources
. . 3.1 Natural Language Processing (NLP)
. . 3.2 Language Modeling (LM)
. . 3.3 Pre-GPT Language Models
. . 3.4 GPT Language Models
. . . . 3.4.1 From data to training set
. . . . 3.4.2 Limitations and bias
. . 3.5 Common Crawl
. . 3.6 WebText data set
. . . . 3.6.1 Test set
. . 3.7 Wikipedia
. . 3.8 Quality of sources

4 GPT-3
. . 4.1 Tokens
. . 4.2 Parameters
. . 4.3 GPT-3 and ChatGPT

5 GPT-4

6 ChatGPT

7 Using GPT and ChatGPT in OpenAI
. . 7.1 Playground
. . . . 7.1.1 Mode
. . . . 7.1.2 Model
. . . . 7.1.3 Temperature
. . 7.2 ChatGPT playground
. . 7.3 Get your API key
. . 7.4 Programmatic use of OpenAI
. . . . 7.4.1 Import the openai library
. . . . 7.4.2 An example chat API call

8 OpenAI via Python

9 OpenAI via Node.js

10 OpenAI .NET API

11 Pathways language model (PaLM)
. . 11.1 PaLM functions
. . 11.2 Using PaLM

12 Prompt engineering
. . 12.1 Misunderstanding in human communication
. . 12.2 Misunderstanding in ChatGPT
. . 12.3 Model capabilities depend on context
. . 12.4 How to improve reliability on complex tasks
. . . . 12.4.1 Provide quality data
. . . . 12.4.2 Check your settings
. . . . 12.4.3 Use plain language to describe your inputs and outputs
. . . . 12.4.4 Show the API how to respond to any case
. . . . 12.4.5 Add context
. . . . 12.4.6 Include helpful information up-front
. . . . 12.4.7 Give examples
. . . . 12.4.8 Length of response
. . . . 12.4.9 Define a role
. . . . 12.4.10 Be more specific
. . . . 12.4.11 Divide a complex task into simpler tasks
. . . . 12.4.12 Prompt the model to explain before answering
. . . . 12.4.13 Ask for explanations before the answer

13 Fine tuning with a custom dataset
. . 13.1 Extract data into a csv file
. . 13.2 Check the headers in OpenAI
. . 13.3 Playground
. . 13.4 Create Prompt and Completion Pairs
. . 13.5 Prepare for GPT
. . 13.6 Fine-tune a GPT model with your data
. . 13.7 Interact with your fine-tuned model

14 Robust fine tuning
. . 14.1 Creating a robust, fine-tuned GPT model
. . . . 14.1.1 Step 1: Data preparation
. . . . 14.1.2 Step 2: Model architecture selection
. . . . 14.1.3 Step 3: Model training
. . . . 14.1.4 Step 4: Model evaluation

15 Self-taught reasoner

16 Data retrieval plug-in
. . 16.1 Plugins
. . 16.2 Retrieval Plugin
. . 16.3 Memory Feature
. . 16.4 Security
. . 16.5 API Endpoints
. . 16.6 Quickstart

17 Additional techniques
. . 17.1 Selection-inference prompting
. . 17.2 Faithful reasoning architecture
. . 17.3 Least-to-most prompting

18 Act-as prompts

19 Prompt templates

20 Template libraries

21 Prompt generators

22 PromptBuilder user guide

ASIN ‏ : ‎ B0C52BPD2T
Publisher ‏ : ‎ Independently published (April 27, 2023)
Language ‏ : ‎ English
Paperback ‏ : ‎ 247 pages
ISBN-13 ‏ : ‎ 979-8392832613
Item Weight ‏ : ‎ 15.4 ounces
Dimensions ‏ : ‎ 6 x 0.56 x 9 inches

Price: $14.95
(as of Jun 21, 2023 22:01:36 UTC – Details)

buy now

“#1 New Release in Artificial Intelligence” (Amazon, April,and May, 2023)

Here is the definitive technical guide to GPT-4 as well as its loquacious counterpart, ChatGPT … and Bard. Along with step-by-step examples for prompt engineering and fine tuning, the book looks at the current discussions around the technology’s promise and peril. Includes a 2-year subscription to GPTAnalytica’s PromptBuilder tool. Contents:

1 Preface

2 A short history of intelligence
. . 2.1 What is “intelligence”?
. . 2.2 Intelligence and humans
. . 2.3 Intelligence and computing
. . 2.4 Artificial intelligence
. . 2.5 Generative AI
. . 2.6 Conversant AI
. . 2.7 The Promethean Moment
. . 2.8 AI mind control?

3 Models and sources
. . 3.1 Natural Language Processing (NLP)
. . 3.2 Language Modeling (LM)
. . 3.3 Pre-GPT Language Models
. . 3.4 GPT Language Models
. . . . 3.4.1 From data to training set
. . . . 3.4.2 Limitations and bias
. . 3.5 Common Crawl
. . 3.6 WebText data set
. . . . 3.6.1 Test set
. . 3.7 Wikipedia
. . 3.8 Quality of sources

4 GPT-3
. . 4.1 Tokens
. . 4.2 Parameters
. . 4.3 GPT-3 and ChatGPT

5 GPT-4

6 ChatGPT

7 Using GPT and ChatGPT in OpenAI
. . 7.1 Playground
. . . . 7.1.1 Mode
. . . . 7.1.2 Model
. . . . 7.1.3 Temperature
. . 7.2 ChatGPT playground
. . 7.3 Get your API key
. . 7.4 Programmatic use of OpenAI
. . . . 7.4.1 Import the openai library
. . . . 7.4.2 An example chat API call

8 OpenAI via Python

9 OpenAI via Node.js

10 OpenAI .NET API

11 Pathways language model (PaLM)
. . 11.1 PaLM functions
. . 11.2 Using PaLM

12 Prompt engineering
. . 12.1 Misunderstanding in human communication
. . 12.2 Misunderstanding in ChatGPT
. . 12.3 Model capabilities depend on context
. . 12.4 How to improve reliability on complex tasks
. . . . 12.4.1 Provide quality data
. . . . 12.4.2 Check your settings
. . . . 12.4.3 Use plain language to describe your inputs and outputs
. . . . 12.4.4 Show the API how to respond to any case
. . . . 12.4.5 Add context
. . . . 12.4.6 Include helpful information up-front
. . . . 12.4.7 Give examples
. . . . 12.4.8 Length of response
. . . . 12.4.9 Define a role
. . . . 12.4.10 Be more specific
. . . . 12.4.11 Divide a complex task into simpler tasks
. . . . 12.4.12 Prompt the model to explain before answering
. . . . 12.4.13 Ask for explanations before the answer

13 Fine tuning with a custom dataset
. . 13.1 Extract data into a csv file
. . 13.2 Check the headers in OpenAI
. . 13.3 Playground
. . 13.4 Create Prompt and Completion Pairs
. . 13.5 Prepare for GPT
. . 13.6 Fine-tune a GPT model with your data
. . 13.7 Interact with your fine-tuned model

14 Robust fine tuning
. . 14.1 Creating a robust, fine-tuned GPT model
. . . . 14.1.1 Step 1: Data preparation
. . . . 14.1.2 Step 2: Model architecture selection
. . . . 14.1.3 Step 3: Model training
. . . . 14.1.4 Step 4: Model evaluation

15 Self-taught reasoner

16 Data retrieval plug-in
. . 16.1 Plugins
. . 16.2 Retrieval Plugin
. . 16.3 Memory Feature
. . 16.4 Security
. . 16.5 API Endpoints
. . 16.6 Quickstart

17 Additional techniques
. . 17.1 Selection-inference prompting
. . 17.2 Faithful reasoning architecture
. . 17.3 Least-to-most prompting

18 Act-as prompts

19 Prompt templates

20 Template libraries

21 Prompt generators

22 PromptBuilder user guide

ASIN ‏ : ‎ B0C52BPD2T
Publisher ‏ : ‎ Independently published (April 27, 2023)
Language ‏ : ‎ English
Paperback ‏ : ‎ 247 pages
ISBN-13 ‏ : ‎ 979-8392832613
Item Weight ‏ : ‎ 15.4 ounces
Dimensions ‏ : ‎ 6 x 0.56 x 9 inches

GPT-4 Complete: 2nd Edition. A comprehensive technical guide to the new OpenAI model

Hot Deal
Logo