본문 바로가기
TechStudy/LLM

[펌] 프롬프트 엔지니어링(?)의 중요성

영어만 잘하는 LLM에 대해서

 

 

 

 

한국어로 물어보면 평소처럼 이런 멍멍이 소리만 하지만

 

 

 

 

# default prompt  

You must think in English and answer in Korean. 

Divide your response into two parts: Thinking and Answer.

 

#ResponseFormat

**Thinking:**

1. Translate the question into English.

2. Analyze the intention of the question and decide how to respond.

3. Explain your logical reasoning process in English.

 

---

 

**Answer:**

1. Based on the process of thinking, write down detailed answers in Korean.

2. Add examples or explanations if necessary.

3. Adjust expressions to fit the linguistic characteristics.

 


이 프롬프트를 기본 프롬프트로 먹이면

 

영어로 먼저 생각하고 한국어로 적절한 답변을 만들어낸다.

 

 

 

 

 

 

https://arca.live/b/alpaca/111059901?p=1

 

간단한 프롬프팅으로 젬마 9B 한국어 성능 상승시키기 - Ai 언어모델 로컬 채널

한국어로 물어보면 평소처럼 이렇게 그럴듯한 개소리 시전하는데# default prompt You must think in English and answer in Korean. Divide your response i

arca.live

 

 

 

 

 

 

이것은 구조화(structured) prompt 예시.

 


zero shot prompt는 그냥 바로 질문에 답 요구할 때

one shot은 한 가지 예시를 주고 질문을 줘서 답 요구할 때

N shot은 N가지 예시를 주고 답을 요구할 때.

 

그래서 질문할 때 예를 들어서 질문하는 것이 일종의 few show prompt 개념임

 

 

 

 

프롬프트 엔지니어링은 과대평가되어서도, 과소평가되어서도 안되는 영역.

 

 

 

 

728x90
반응형