Skip to content

Add sonnet dataset support in benchmark.py#505

Merged
Duyi-Wang merged 2 commits into
intel:mainfrom
a3213105:benchmark_sonnet
Apr 30, 2025
Merged

Add sonnet dataset support in benchmark.py#505
Duyi-Wang merged 2 commits into
intel:mainfrom
a3213105:benchmark_sonnet

Conversation

@a3213105
Copy link
Copy Markdown
Contributor

please rename prompts file extension to .sonnet.

@a3213105 a3213105 requested a review from Duyi-Wang April 30, 2025 02:21
Comment thread benchmark/benchmark.py Outdated
Comment thread benchmark/benchmark.py
if args.prompt_path.endswith('.txt'):
with open(args.prompt_path, "r") as txt_file:
prompt_pool = txt_file.read().splitlines()
elif args.prompt_path.endswith('.sonnet'):
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

just match sonnet.txt?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Just to enable sonnet case by file extension

@Duyi-Wang Duyi-Wang merged commit 5ac4060 into intel:main Apr 30, 2025
1 check failed
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