Prompt Engineering with Llama 2
Prompt Engineering Techniques(提示工程技术)
In-Context Learning (上下文学习)
Standard prompt with instruction (标准提示与指令)
- So far, you have been stating the instruction explicitly in the prompt: (到目前为止,您一直在明确在提示中陈述指令:)
Prompt Engineering Techniques(提示工程技术)
In-Context Learning (上下文学习)
Standard prompt with instruction (标准提示与指令)
安装 InteliJ IDEA
安装 CodeGPT
打开 IntelliJ IDEA,选择 Settings 菜单,选择 Plugins,搜索 CodeGPT,点击 Install 安装。

配置 CodeGPT
这里访问的 OpenAI 服务是我自己搭建的,使用的是 FastChat + ChatGLM3-6B。
模型 GPT-3.5(4k)

模型 GPT-4(32k)

模型缓存到 ~/.