Learn Before
Example of Self-Refinement in Machine Translation
A practical application of self-refinement involves a two-step process for machine translation. First, a Large Language Model is prompted to translate a text, for instance from Chinese to English. Subsequently, the same model is prompted again to refine its initial translation, aiming to improve its quality and accuracy.
0
1
Tags
Ch.3 Prompting - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Related
Example of Self-Refinement in Machine Translation
Three-Step Framework for Self-Refinement in LLMs
Ideal Self-Refinement without Additional Training
Fine-Tuning LLMs for Self-Refinement Tasks
Task-Specific Models as an Alternative for Refinement
Self-Refinement as an LLM Alignment Issue
Self-Reflection in LLMs
A developer is using a large language model to generate a Python function for a complex data analysis task. The developer's workflow is as follows:
- The model generates an initial version of the function.
- The developer then prompts the same model, providing the initial function and asking it to 'act as a senior code reviewer, identify potential bugs or inefficiencies, and explain how to fix them.'
- Based on the model's feedback, a final, improved version of the function is produced.
This iterative process of generating an output, using the model to critique its own output, and then improving it based on that critique is best described as:
Applying an Iterative Improvement Framework
Product Design as an Analogy for Self-Refinement
Relationship between Self-Refinement and Self-Reflection in LLMs
Comparing Output Improvement Strategies
Your team is rolling out an internal LLM assistant...
You’re building an internal LLM workflow to produc...
You’re building an internal LLM assistant to help ...
You’re leading an internal enablement team buildin...
Choosing and Justifying a Prompting Strategy Under Context and Quality Constraints
Designing a Prompting Workflow for a High-Stakes, Multi-Step Task
Diagnosing and Redesigning a Prompting Approach for a Decomposed Workflow
Stabilizing an LLM Workflow for Multi-Step Policy Compliance Decisions
Debugging a Multi-Step LLM Workflow for Contract Clause Risk Triage
Designing a Robust Prompting Workflow for Multi-Step Root-Cause Analysis with Limited Examples
Learn After
Iterative Refinement Process for Machine Translation
Example of an Instruction-like Prompt for Chinese-to-English Translation
An engineer uses a large language model for a translation task in two distinct stages.
Stage 1 Prompt: "Translate this French sentence into English: 'Le chat est sur le paillasson.'" Stage 1 Output: "The cat is on the mat."
Stage 2 Prompt: "Review the following English translation and improve its fluency and naturalness: 'The cat is on the mat.'"
What is the primary function of the second stage in this process?
Improving AI-Generated Translations
A developer is using a language model to translate a text from Chinese to English, employing a method to enhance the final output. Arrange the following actions into the correct chronological sequence.