type
status
date
slug
summary
tags
category
password
icon
Author
Abstract

Introduction

This concise tutorial, sourced from Anthropic's official GitHub, will guide you on using Claude3 to summarize web page content. Unlike the official tutorial, this one utilizes the model claude-3-5-sonnet-20240620 and uses content from my personal web page as an example to send to the LLM.
Let's get started.

Step-1

The first step we need to do is initialization, which includes install essential packages and import the packages.

Step-2

The second step involves obtaining the web page content. For this example, I will use an article from my personal blog. You can find it at the following link:
 

Step-3

In this step, we will use the page_content to guide Claude in performing our summarization task.
<ins/>
Finally, we can run this function, and see what we get!
<ins/>
Aug 21, GPT-4o-mini with DSPy MIPRO on MMLU-Pro August 17, Instruction Data Generation
Loading...
Chengsheng Deng
Chengsheng Deng
Chengsheng Deng
Latest posts
Mar 24 Notes on LightRAG
Mar 24, 2025
Dec 6, Some Tests on o1
Mar 14, 2025
Mar 10, Note on BIG-MATH
Mar 10, 2025
Mar 6, Note on QwQ-32B
Mar 6, 2025
Jan 21, Notes on DeepSeek-R1
Mar 6, 2025
The First Pages of 2025 - My January & February Story
Mar 5, 2025
Announcement
🎉Welcome to my blog🎉 
To find me:
Twitter/X:My X
👏Have fun in my blog👏