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_k parameter is not used #40
Comments
你好,我是软件学院胡剑。我已收到你的邮件,尽快给你回复。
|
Hi, You are right that num_k here is a dummy arg. The number of examples is controlled by the dataset you use (for example, our provided preprocessing examples process all the datasets as k=16). Num_sample has a different meaning---it designates how many times of sampling we do for averaging in-context examples for inference. |
@gaotianyu1350 , thanks for the reply! Maybe it makes sense to remove |
Hi we decide to keep |
run.py
accepts parameternum_k
, which should control how many training examples per class we have. However, it's not used anywhere in the code. It seems thatnum_sample
is used instead.The text was updated successfully, but these errors were encountered: