Home icon

Few-shot prompt engineering and fine-tuning for LLMs in Amazon Bedrock

Machine Learning Blog



This blog post discusses two methods to generate the first draft of an earnings call script using large language models (LLMs): few-shot prompt engineering and fine-tuning. It evaluates the generated scripts and applied methods across different factors like comprehensiveness, hallucinations, writing style, ease of use, and cost.

Specifically, the article covers:

  • Two methods for generating earnings call scripts using LLMs:
    • Few-shot prompt engineering with Anthropic Claude 3 Sonnet
    • Fine-tuning Meta Llama 2 70B with past earnings call data
  • Solution overview and workflow for both few-shot and fine-tuning methods
  • Evaluation of the generated scripts from both methods, based on:
    • Human reviewer assessment
    • Comparison of three variations using an LLM
  • Conclusion highlighting trade-offs between the two methods and future potential directions


Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Aug 30
2024
Implementing advanced prompt engineering with Amazon Bedrock
Feb 12
2025
Fine-tune LLMs with synthetic data for context-based Q&A using Amazon Bedrock
Oct 11
2024
Improve LLM application robustness with Amazon Bedrock Guardrails and Amazon Bedrock Agents
Dec 2
2024
Amazon Bedrock Model Evaluation now includes LLM-as-a-judge (Preview)

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.