Prompt Engineering (Tài liệu của Google về hướng dẫn prompt AI từ Cơ bản tới Nâng cao)
- 페이지 수
- 68
- 형식
- 크기
- 6.5 MB
- 연도
- 2025
- Trường
- 조회수
- 0
- 댓글
- 0
- Lượt tải
- 0
미리보기 생성 중...
Tài liệu hướng dẫn về kỹ thuật prompt engineering cho mô hình Gemini của Google, bao gồm các phương pháp từ cơ bản đến nâng cao và các thực hành tốt nhất.
- 문서명
- Prompt Engineering (Tài liệu của Google về hướng dẫn prompt AI từ Cơ bản tới Nâng cao)
- 학교 / 강의
- 작성자 (문서 내)
- Lee Boonstra
- 내용
- Tài liệu hướng dẫn kỹ thuật Prompt Engineering, giải thích cách tạo prompt hiệu quả cho LLM. Nó bao gồm các kỹ thuật từ cơ bản đến nâng cao, prompt cho code, và các thực tiễn tốt nhất để tối ưu hóa kết quả.
- 목차
- Introduction
- Prompt engineering
- LLM output configuration
- Output length
- Sampling controls
- Temperature
- Top-K and top-P
- Putting it all together
- Prompting techniques
- General prompting / zero shot
- One-shot & few-shot
- System, contextual and role prompting
- System prompting
- Role prompting
- Contextual prompting
- Step-back prompting
- Chain of Thought (CoT)
- Self-consistency
- Tree of Thoughts (ToT)
- ReAct (reason & act)
- Automatic Prompt Engineering
- Code prompting
- Prompts for writing code
- Prompts for explaining code
- Prompts for translating code
- Prompts for debugging and reviewing code
- What about multimodal prompting?
- Best Practices
- Provide examples
- Design with simplicity
- Be specific about the output
- Use Instructions over Constraints
- Control the max token length
- Use variables in prompts
- Experiment with input formats and writing styles
- For few-shot prompting with classification tasks, mix up the classes
- Adapt to model updates
- Experiment with output formats
- JSON Repair
- Working with Schemas
- Experiment together with other prompt engineers
- CoT Best practices
- Document the various prompt attempts
- Summary
- Endnotes
- 페이지 수
- 68 페이지
- 업로더
- Uni24h
설명
Trích nội dung tài liệu
Prompt Engineering Author: Lee Boonstra Prompt Engineering Acknowledgements Content contributors Michael Sherman Yuan Cao Erick Armbrust Anant Nawalgaria Antonio Gulli Simone Cammel Curators and Editors Antonio Gulli Anant Nawalgaria Grace Mollison Technical Writer Joey Haymaker Designer Michael Lanning February 2025 2 Table of contents Introduction 6 Prompt engineering 7 LLM output configuration 8 Output length 8 Sampling controls 9 Temperature 9 Top-K and top-P 10 Putting it all together 11 Prompting techniques 13 General prompting / zero shot 13 One-shot & few-shot 15 System, contextual and role prompting 18 System prompting 19 Role prompting 21 Contextual prompting 23 Step-back prompting 25 Chain of Thought (CoT) 29 Self-consistency 32 Tree of Thoughts (ToT) 36 ReAct (reason & act) 37 Automatic Prompt Engineering 40 Code prompting 42 Prompts for writing code 42 Prompts for explaining code 44 Prompts for translating code 46 Prompts for debugging and reviewing code 48 What about multimodal prompting? 54 Best Practices 54 Provide examples 54 Design with simplicity 55 Be specific about the output 56 Use Instructions over Constraints 56 Control the max token length 58 Use variables in prompts 58 Experiment with input formats and writing styles 59 For few-shot prompting with classification tasks, mix up the classes 59 Adapt to model updates 60 Experiment with output formats 60 JSON Repair 61 Working with Schemas 62 Experiment together with other prompt engineers 63 CoT Best practices 64 Document the various prompt attempts 64 Summary 66 Endnotes 68 Prompt Engineering You don’t need to be a data scientist or a machine learning engineer – everyone can write a prompt. Introduction When thinking about a large language model input and output, a text prompt (sometimes accompanied by other modalities such as image prompts) is the input the
자주 묻는 질문
이 문서는 무료인가요?
네. “Prompt Engineering (Tài liệu của Google về hướng dẫn prompt AI từ Cơ bản tới Nâng cao)” 문서는 무료입니다. 로그인 후 '다운로드'를 클릭하여 원본 파일을 받으세요.
이 문서는 몇 페이지로 되어 있나요?
이 문서는 68페이지입니다. 다운로드하기 전에 온라인으로 미리 볼 수 있습니다.
다운로드하기 전에 미리 볼 수 있나요?
네. 이 페이지의 온라인 리더를 통해 문서를 미리 본 후 다운로드 여부를 결정할 수 있습니다.
Prompt Engineering (Tài liệu của Google về hướng dẫn prompt AI từ Cơ bản tới Nâng cao)
미리보기 생성 중...
Trích nội dung tài liệu
Prompt Engineering Author: Lee Boonstra Prompt Engineering Acknowledgements Content contributors Michael Sherman Yuan Cao Erick Armbrust Anant Nawalgaria Antonio Gulli Simone Cammel Curators and Editors Antonio Gulli Anant Nawalgaria Grace Mollison Technical Writer Joey Haymaker Designer Michael Lanning February 2025 2 Table of contents Introduction 6 Prompt engineering 7 LLM output configuration 8 Output length 8 Sampling controls 9 Temperature 9 Top-K and top-P 10 Putting it all together 11 Prompting techniques 13 General prompting / zero shot 13 One-shot & few-shot 15 System, contextual and role prompting 18 System prompting 19 Role prompting 21 Contextual prompting 23 Step-back prompting 25 Chain of Thought (CoT) 29 Self-consistency 32 Tree of Thoughts (ToT) 36 ReAct (reason & act) 37 Automatic Prompt Engineering 40 Code prompting 42 Prompts for writing code 42 Prompts for explaining code 44 Prompts for translating code 46 Prompts for debugging and reviewing code 48 What about multimodal prompting? 54 Best Practices 54 Provide examples 54 Design with simplicity 55 Be specific about the output 56 Use Instructions over Constraints 56 Control the max token length 58 Use variables in prompts 58 Experiment with input formats and writing styles 59 For few-shot prompting with classification tasks, mix up the classes 59 Adapt to model updates 60 Experiment with output formats 60 JSON Repair 61 Working with Schemas 62 Experiment together with other prompt engineers 63 CoT Best practices 64 Document the various prompt attempts 64 Summary 66 Endnotes 68 Prompt Engineering You don’t need to be a data scientist or a machine learning engineer – everyone can write a prompt. Introduction When thinking about a large language model input and output, a text prompt (sometimes accompanied by other modalities such as image prompts) is the input the
- 문서명
- Prompt Engineering (Tài liệu của Google về hướng dẫn prompt AI từ Cơ bản tới Nâng cao)
- 학교 / 강의
- 작성자 (문서 내)
- Lee Boonstra
- 내용
- Tài liệu hướng dẫn kỹ thuật Prompt Engineering, giải thích cách tạo prompt hiệu quả cho LLM. Nó bao gồm các kỹ thuật từ cơ bản đến nâng cao, prompt cho code, và các thực tiễn tốt nhất để tối ưu hóa kết quả.
- 목차
- Introduction
- Prompt engineering
- LLM output configuration
- Output length
- Sampling controls
- Temperature
- Top-K and top-P
- Putting it all together
- Prompting techniques
- General prompting / zero shot
- One-shot & few-shot
- System, contextual and role prompting
- System prompting
- Role prompting
- Contextual prompting
- Step-back prompting
- Chain of Thought (CoT)
- Self-consistency
- Tree of Thoughts (ToT)
- ReAct (reason & act)
- Automatic Prompt Engineering
- Code prompting
- Prompts for writing code
- Prompts for explaining code
- Prompts for translating code
- Prompts for debugging and reviewing code
- What about multimodal prompting?
- Best Practices
- Provide examples
- Design with simplicity
- Be specific about the output
- Use Instructions over Constraints
- Control the max token length
- Use variables in prompts
- Experiment with input formats and writing styles
- For few-shot prompting with classification tasks, mix up the classes
- Adapt to model updates
- Experiment with output formats
- JSON Repair
- Working with Schemas
- Experiment together with other prompt engineers
- CoT Best practices
- Document the various prompt attempts
- Summary
- Endnotes
- 페이지 수
- 68 페이지
- 업로더
- Uni24h
댓글 (0)
댓글이 없습니다. 첫 댓글을 남겨보세요!
Ngân hàng đề thi môn: Hệ thống thông tin quản lý
Đề thi môn Cơ sở dữ liệu (kèm Đáp án) - Đại học Sư phạm kỹ thuật
Đề thi và đáp án môn Hệ thống thông tin kế toán
Đề thi và đáp án môn Cấu trúc dữ liệu giải thuật
Đáp án đề thi môn Mạng máy tính - ĐH Công nghệ thông tin (CNTT)
Tổng hợp Đề Toán 5 - Luyện thi vào Lớp 6 - CLB EMath
Bài giảng vật lý đại cương (Chương 3) - Đỗ Ngọc Uấn
Chương 8.Nguyên tử - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 7.Cơ học lượng tử - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 6.Quang học lượng tử - Vật lý đại cương 3 - TS.Nguyễn Thị Trang

댓글 (0)
댓글이 없습니다. 첫 댓글을 남겨보세요!