Skip to content

Commit

Permalink
elaborate the prompt engineering part
Browse files Browse the repository at this point in the history
  • Loading branch information
Haoxian WANG committed Jan 9, 2025
1 parent 3660dd9 commit 53e81e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/en/posts/llm_translator/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ Based on the results of the direct translation in the first step and the problem
<Meaning-Based Translation>
```

This prompt gives us a good start. These steps are expensive together. And there is a bug in the workflow: the step 1 's output is not used in the following steps.
This prompt gives us a good start. These steps are expensive together. And there is a bug in the workflow: the step 1 's output is not used in the following steps. Aside from the cost issue, after several trials, I found this prompt doesn't work well for my task, the translation is not accurate and the output is not readable.

I also tried to make it with Chain of Thought. The result is not good and it is no longer deterministic in terms of translation quality and formatting for our task.
I also tried to make it with Chain of Thought. I asked the model to make a plan for the translation to simulate these steps. The result is not good and it is no longer deterministic in terms of translation quality and formatting for our task without adding a lot of overhead on the length of the prompt and the inference time.

### My prompt
After several trials with ChatGPT and local LMs with LM Studio, I found that the following prompt is enough for my task.
Expand Down

0 comments on commit 53e81e8

Please sign in to comment.