대모델
기초 및 개념
프 롬 프트
중국어 번역: 제시어
기계에게 주어진 지침, 비슷한 프로그래밍 언어.
토큰
대기 중
LLM
중국어 번역: 큰 모델
본질: 하나의 함수와 유사한 알고리즘 세트입니다.
일반적인 모델
- OpenAI : GPT - 3.5 / GPT-4 / GPT-4V / DALL.EWhisper
- Meta: LLama2(오픈 소스)
GPT 모델
LLM의 환각
모형이 훈련 과정에서 마주한 지식의 양은 매우 거대하기 때문에, 본 모든 정보를 완벽하게 기억할 수는 없습니다. 한 가지 분명한 문제는 모델이 자신의 지식의 경계를 잘 알지 못한다는 것입니다.
즉, 모델은 다소 난해한 주제에 대답할 때 신빙성 있게 들리지만 실제로 정확하지 않은 답을 지어낼 수 있습니다. 이런 지어낸 답을 우리는 '환각'이라고 부릅니다.
예를 들어, 우리가 다음과 같이 요청할 때,
?
Boy사의 AeroGlide Ultra Slim 스마트 칫솔에 대해 말해줘
이 중 회사명은 존재하지만 제품명은 우리가 허구이며, 이 경우에도 모델은 여전히 상당히 사실적인 픽션 제품 설명을 제시합니다.
이러한 환각의 발생을 줄이는 것은 2가지 참고 가능한 전략입니다:
- 정책 1: 제시된 텍스트를 기반으로 관련 참조를 찾고 질문에 대답해야 하는 모델 필요
- 정책 2: 소스 파일로 답변 드릴다운
Temperature
번역: 온도
이 매개변수는 모형의 일반적인 매개변수이며 선택적 값은 0~1입니다.
-
Temperature가 0일 때 : 담당자 답변이 더 정확하고 고정되어 매번 동일한 출력 결과를 기대할 수 있도록 적용
-
Temperature가 0.7인 경우: 대표 응답이 더 랜덤하고 창조적이며 매번 다른 출력 결과를 얻을 것으로 기대되는 경우에 적합합니다.

예를 들어, "내가 가장 좋아하는 음식은..."이 문제는 음식에 따라 나타날 가능성이 다르다.
Temperature가 0이면 모델은 항상 그 중 가장 가능성이 높은 것 중 하나, 즉 피자를 선택합니다.
그리고 Temperature가 0.3일 때 비로소 모델이 가능성이 낮은 다른 음식을 선택할 수 있습니다.
Temperature가 0.7일 때 비로소 모델이 더 낮은 가능성의 다른 음식을 선택할 수 있습니다.
LLM의 용도
상식이 있다
의도를 식별하다
분류
단계별:상태 기계
보충 함수의 인수(대단함)
일반 Prompt 구문
총결산
Summarize
델리미티드
Summarize the text delimited by triple quotes.
"""insert text here"""
As follows
If 애플리케이션 가능
You will be provided with meeting notes, and your task is to summarize the meeting as follows:
-Overall summary of discussion
-Action items (what needs to be done and who is doing it)
-If applicable, a list of topics that need to be discussed more fully in the next meeting.
배경
You will be provided
You will be provided with xxx (delimited with XML tags) about xxx topic.
First xxx.
Then xxx and xxx.
단계별
Use the following step-by-step instructions to respond to user inputs.
Step 1 - The user will provide you with text in triple quotes. Summarize this text in one sentence with a prefix that says "Summary: ".
Step 2 - Translate the summary from Step 1 into Spanish, with a prefix that says "Translation: ".
일관성
Answer in a consistent style.
Q: Teach me about patience.
A: The river that carves the deepest valley flows from a modest spring; the grandest symphony originates from a single note; the most intricate tapestry begins with a solitary thread.
Q: Teach me about the ocean.
제한 길이
세 가지 주요 사항으로 구성
Summarize the text delimited by triple quotes in 3 bullet points.
Summarize the text delimited by triple quotes in 2 paragraphs.
Summarize the text delimited by triple quotes in about 50 words. // 3 个要点
제한 범위
매우 훌륭합니다.
Draft a company memo to be distributed to all employees. The memo should cover the following specific points without deviating from the topics mentioned and not writing any fact which is not present here:
xxxx
분류
You will be provided with a tweet, and your task is to classify its sentiment as positive, neutral, or negative.
의도 분류
You will be provided with customer service queries. Classify each query into a primary category and a secondary category. Provide your output in json format with the keys: primary and secondary.
Primary categories: Billing, Technical Support, Account Management, or General Inquiry.
Billing secondary categories:
- Unsubscribe or upgrade
- Add a payment method
- Explanation for charge
- Dispute a charge
Technical Support secondary categories:
- Troubleshooting
- Device compatibility
- Software updates
Account Management secondary categories:
- Password reset
- Update personal information
- Close account
- Account security
General Inquiry secondary categories:
- Product information
- Pricing
- Feedback
- Speak to a human
역할 및 작업
your task is to xxx it in a concise way.
간결함
explain it in a concise way.
대상 사용자
2학년 학생들에게
Summarize content you are provided with for a second-grade student.
형식
점 리스트 형식으로 내보내기
Provide your answer in bullet point form.
수출
- 이지 투 유즈
- Provides good value for the price.
- High quality and durability
- Difficult to transport
- 디피컬트 투 스토어
순서가 지정된 목록
번호 목록
create a numbered list of turn-by-turn directions from it.
지원되는 형식
格式类型 | 例子 |
---|---|
编号列表 | 1. 打开浏览器2. 输入网址3. 浏览内容 |
圆点列表 | - 苹果- 香蕉- 橙子 |
表格 | |
代码块 | pythonprint("Hello, world!") |
标题和子标题 | ## 主标题### 子标题 |
JSON格式 | { "name": "John", "age": 30, "city": "New York" } |
思维导图格式 | |
markdown格式 |