Skip to content

Conversation

@wangkl2
Copy link
Collaborator

@wangkl2 wangkl2 commented Dec 20, 2024

Description

Fix the metrics parse and statistics for FaqGen benchmark:

  • Switch from json to data param to send client request for FaqGen benchmark to fit the FormData input_type.
  • Fix the input length statistics, to avoid negative numbers of Input Tokens and Input Tokens per Second.
  • Fix the output length statistics by implementing the extraction of all generated texts from streaming output, to avoid extremely large values of Output Tokens and Output Tokens per Second.
  • Update the default input prompt and set Top K=1 in sampling for faqgen, as the original default prompt does not provide any valid details for faq generation.

Issues

#189

Type of change

List the type of change like below. Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

Dependencies

n/a

Tests

Benchmark on faqgenfixed.

Copy link
Collaborator

@lkk12014402 lkk12014402 left a comment

Choose a reason for hiding this comment

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

LGTM

@lvliang-intel lvliang-intel merged commit 5d717e8 into opea-project:main Dec 21, 2024
7 checks passed
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.

3 participants