Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chain of density in examples #110

Merged
merged 1 commit into from
Sep 23, 2023
Merged

Chain of density in examples #110

merged 1 commit into from
Sep 23, 2023

Conversation

jxnl
Copy link
Collaborator

@jxnl jxnl commented Sep 22, 2023

No description provided.

Summary,
name="chain-of-dense-summaries",
description="""
Repeat the following 2 steps 5 times.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How good are models at following this sort of "counting instruction?"

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By adding that index it does ok lol

for summary in summarize_article(example["text"]):
pprint(summary.model_dump())

"""

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good!

@jxnl jxnl merged commit 29174cb into main Sep 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants