Skip to content

Conversation

@Duyi-Wang
Copy link
Contributor

No description provided.

bool doEarlyStopping_ = false, int eosTokenId_ = -1, int padTokenId_ = -1, bool doSample_ = false,
float temperature_ = 1.0, int topK_ = 50, float topP_ = 1.0);

void config(SearcherConfig &config_);
Copy link
Contributor

Choose a reason for hiding this comment

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

When you have added the config api, but you didn't use it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is necessary for C++ API since it's annoying that all parameters are passed when just the last one is changed. There are two ways now, I just choose another way in the example.

@changqi1 changqi1 merged commit 6f5e981 into intel:main Nov 16, 2023
@Duyi-Wang Duyi-Wang deleted the model_gen_api branch November 24, 2023 08:42
Duyi-Wang added a commit that referenced this pull request Oct 10, 2024
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