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

code clean up and refactor #10

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

code clean up and refactor #10

wants to merge 11 commits into from

Conversation

junweima
Copy link
Collaborator

  • Use batch first for all modules
  • Added additional input handle for util functions (thanks to @HamidrezaKmK )
  • Automatically use flash attention within TabDPTModel

import torch
import torch.nn as nn
import torch.nn.functional as F
from utils import maskmean, maskstd, normalize_data, clip_outliers, seed_everything
try:
Copy link
Collaborator

Choose a reason for hiding this comment

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

this is janky. let's just do the imports properly

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