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

为什么num_examples默认是10? #38

Open
coderchem opened this issue Nov 27, 2023 · 2 comments
Open

为什么num_examples默认是10? #38

coderchem opened this issue Nov 27, 2023 · 2 comments

Comments

@coderchem
Copy link

No description provided.

@coderchem
Copy link
Author

我理解,数据应该是越多越好。为什么啥只是选择10呢?

@horseee
Copy link
Owner

horseee commented Nov 29, 2023

calibration set的数量是越多越好。但是如果数据越多,计算梯度所需要的成本和时间开销就更大(比如如果算的是hessian,所需时间会显著变长)。同时再增加数量对效果的提升较为不明显,因此我们选择了10。你也可以选择一个更大的样本集合。

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

No branches or pull requests

2 participants