-
Notifications
You must be signed in to change notification settings - Fork 68
Add simple TabPFN example #510
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
Conversation
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
for more information, see https://pre-commit.ci
…pytorch-frame into zecheng_tabpfn_example
shuffle=True, | ||
) | ||
X_train = [] | ||
train_data = next(iter(train_loader)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why only sample random minibatch this way?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's in context learning need some training data (usually thousands) so for now just randomly choose some samples.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it, you probably don't need data loader. Just use index select over the original tensor frame.
Uh oh!
There was an error while loading. Please reload this page.