 Google 《Prompt Engineering v7》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 Table contents 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 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 output0 码力 | 68 页 | 6.50 MB | 6 月前3 Google 《Prompt Engineering v7》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 Table contents 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 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 output0 码力 | 68 页 | 6.50 MB | 6 月前3
 《Efficient Deep Learning Book》[EDL] Chapter 6 - Advanced Learning Techniques - Technical Reviewofficial Tensorflow Hub repository8. Similarly models like GPT-3, T5, etc. have the capability to be few-shot learners. This means that they can be shown a few example inputs and outputs to solve a new task perform sentiment detection by showing it a few examples of the task. Figure 6-7: An example of few-shot learning with a large language model. One of the prominent deployment of such models is the GitHub’s achieve higher quality models with scant labeled data. In fact very large models like GPT-3 are few-shot learners, in that they can be shown a couple of examples of the task to be solved, and they can0 码力 | 31 页 | 4.03 MB | 1 年前3 《Efficient Deep Learning Book》[EDL] Chapter 6 - Advanced Learning Techniques - Technical Reviewofficial Tensorflow Hub repository8. Similarly models like GPT-3, T5, etc. have the capability to be few-shot learners. This means that they can be shown a few example inputs and outputs to solve a new task perform sentiment detection by showing it a few examples of the task. Figure 6-7: An example of few-shot learning with a large language model. One of the prominent deployment of such models is the GitHub’s achieve higher quality models with scant labeled data. In fact very large models like GPT-3 are few-shot learners, in that they can be shown a couple of examples of the task to be solved, and they can0 码力 | 31 页 | 4.03 MB | 1 年前3
 01 Structure of Scientific Papers - Introduction to Scientific Writing WS2021/222019  #13.4 Alireza Heidari, Joshua McGrath, Ihab F. Ilyas, Theodoros Rekatsinas: HoloDetect: Few-Shot Learning for Error Detection. SIGMOD 2019  #13.5 Theodoros Rekatsinas, Xu Chu, Ihab F. Ilyas,0 码力 | 36 页 | 1.12 MB | 1 年前3 01 Structure of Scientific Papers - Introduction to Scientific Writing WS2021/222019  #13.4 Alireza Heidari, Joshua McGrath, Ihab F. Ilyas, Theodoros Rekatsinas: HoloDetect: Few-Shot Learning for Error Detection. SIGMOD 2019  #13.5 Theodoros Rekatsinas, Xu Chu, Ihab F. Ilyas,0 码力 | 36 页 | 1.12 MB | 1 年前3
 《Efficient Deep Learning Book》[EDL] Chapter 1 - Introductionthis growth sustainable with efficient deep learning. 5 Brown, Tom B., et al. "Language models are few-shot learners." arXiv preprint arXiv:2005.14165 (2020). 4 Devlin, Jacob, et al. "Bert: Pre-training0 码力 | 21 页 | 3.17 MB | 1 年前3 《Efficient Deep Learning Book》[EDL] Chapter 1 - Introductionthis growth sustainable with efficient deep learning. 5 Brown, Tom B., et al. "Language models are few-shot learners." arXiv preprint arXiv:2005.14165 (2020). 4 Devlin, Jacob, et al. "Bert: Pre-training0 码力 | 21 页 | 3.17 MB | 1 年前3
 DeepSeek-V2: A Strong, Economical, and Efficient
Mixture-of-Experts Language ModelLLaMA3 70B Instruct, might not strictly adhere to the format constraints typically specified in the few-shot setting. Consequently, this can lead to underestimation of certain models in our evaluation framework0 码力 | 52 页 | 1.23 MB | 1 年前3 DeepSeek-V2: A Strong, Economical, and Efficient
Mixture-of-Experts Language ModelLLaMA3 70B Instruct, might not strictly adhere to the format constraints typically specified in the few-shot setting. Consequently, this can lead to underestimation of certain models in our evaluation framework0 码力 | 52 页 | 1.23 MB | 1 年前3
 Click Documentation Release 1.2.dev0conventions • supports loading values from environment variables out of the box • supports for prompting of custom values • is fully nestable and composable • works the same on Python 2 and 3 • supports Arguments can do less than options. The following features are only available for options: • automatic prompting for missing input • act as flags (boolean or otherwise) • option values can be pulled from environment this message and exit. 12 Chapter 1. Documentation Click Documentation, Release 1.2.dev0 1.4.8 Prompting Sometimes you want parameters that can either be provided from the command line or if not, you0 码力 | 64 页 | 301.16 KB | 1 年前3 Click Documentation Release 1.2.dev0conventions • supports loading values from environment variables out of the box • supports for prompting of custom values • is fully nestable and composable • works the same on Python 2 and 3 • supports Arguments can do less than options. The following features are only available for options: • automatic prompting for missing input • act as flags (boolean or otherwise) • option values can be pulled from environment this message and exit. 12 Chapter 1. Documentation Click Documentation, Release 1.2.dev0 1.4.8 Prompting Sometimes you want parameters that can either be provided from the command line or if not, you0 码力 | 64 页 | 301.16 KB | 1 年前3
 Click Documentation
Release 6.7conventions • supports loading values from environment variables out of the box • supports for prompting of custom values • is fully nestable and composable • works the same in Python 2 and 3 • supports Arguments can do less than options. The following features are only available for options: • automatic prompting for missing input • act as flags (boolean or otherwise) • option values can be pulled from environment Usage: digest [OPTIONS] Options: --hash-type [md5|sha1] --help Show this message and exit. 1.5.9 Prompting In some cases, you want parameters that can be provided from the command line, but if not provided0 码力 | 107 页 | 428.42 KB | 1 年前3 Click Documentation
Release 6.7conventions • supports loading values from environment variables out of the box • supports for prompting of custom values • is fully nestable and composable • works the same in Python 2 and 3 • supports Arguments can do less than options. The following features are only available for options: • automatic prompting for missing input • act as flags (boolean or otherwise) • option values can be pulled from environment Usage: digest [OPTIONS] Options: --hash-type [md5|sha1] --help Show this message and exit. 1.5.9 Prompting In some cases, you want parameters that can be provided from the command line, but if not provided0 码力 | 107 页 | 428.42 KB | 1 年前3
 Click Documentation
Release 5.2.dev0conventions • supports loading values from environment variables out of the box • supports for prompting of custom values • is fully nestable and composable • works the same in Python 2 and 3 • supports Arguments can do less than options. The following features are only available for options: • automatic prompting for missing input • act as flags (boolean or otherwise) • option values can be pulled from environment Usage: digest [OPTIONS] Options: --hash-type [md5|sha1] --help Show this message and exit. 1.5.9 Prompting In some cases, you want parameters that can be provided from the command line, but if not provided0 码力 | 103 页 | 416.61 KB | 1 年前3 Click Documentation
Release 5.2.dev0conventions • supports loading values from environment variables out of the box • supports for prompting of custom values • is fully nestable and composable • works the same in Python 2 and 3 • supports Arguments can do less than options. The following features are only available for options: • automatic prompting for missing input • act as flags (boolean or otherwise) • option values can be pulled from environment Usage: digest [OPTIONS] Options: --hash-type [md5|sha1] --help Show this message and exit. 1.5.9 Prompting In some cases, you want parameters that can be provided from the command line, but if not provided0 码力 | 103 页 | 416.61 KB | 1 年前3
 Click Documentation Release 2.6conventions • supports loading values from environment variables out of the box • supports for prompting of custom values • is fully nestable and composable • works the same in Python 2 and 3 • supports Arguments can do less than options. The following features are only available for options: • automatic prompting for missing input • act as flags (boolean or otherwise) • option values can be pulled from environment Usage: digest [OPTIONS] Options: --hash-type [md5|sha1] --help Show this message and exit. 1.4.8 Prompting In some cases, you want parameters that can be provided from the command line, but if not provided0 码力 | 83 页 | 354.87 KB | 1 年前3 Click Documentation Release 2.6conventions • supports loading values from environment variables out of the box • supports for prompting of custom values • is fully nestable and composable • works the same in Python 2 and 3 • supports Arguments can do less than options. The following features are only available for options: • automatic prompting for missing input • act as flags (boolean or otherwise) • option values can be pulled from environment Usage: digest [OPTIONS] Options: --hash-type [md5|sha1] --help Show this message and exit. 1.4.8 Prompting In some cases, you want parameters that can be provided from the command line, but if not provided0 码力 | 83 页 | 354.87 KB | 1 年前3
 Click Documentation Release 3.3conventions • supports loading values from environment variables out of the box • supports for prompting of custom values • is fully nestable and composable • works the same in Python 2 and 3 • supports Arguments can do less than options. The following features are only available for options: • automatic prompting for missing input • act as flags (boolean or otherwise) • option values can be pulled from environment Usage: digest [OPTIONS] Options: --hash-type [md5|sha1] --help Show this message and exit. 1.5.8 Prompting In some cases, you want parameters that can be provided from the command line, but if not provided0 码力 | 95 页 | 387.75 KB | 1 年前3 Click Documentation Release 3.3conventions • supports loading values from environment variables out of the box • supports for prompting of custom values • is fully nestable and composable • works the same in Python 2 and 3 • supports Arguments can do less than options. The following features are only available for options: • automatic prompting for missing input • act as flags (boolean or otherwise) • option values can be pulled from environment Usage: digest [OPTIONS] Options: --hash-type [md5|sha1] --help Show this message and exit. 1.5.8 Prompting In some cases, you want parameters that can be provided from the command line, but if not provided0 码力 | 95 页 | 387.75 KB | 1 年前3
共 269 条
- 1
- 2
- 3
- 4
- 5
- 6
- 27














