Skip to content

Commit

Permalink
🐛 moved attention layer to top level to include it in the submission …
Browse files Browse the repository at this point in the history
…file
  • Loading branch information
lkaesberg committed Aug 16, 2023
1 parent 3cff0ff commit c014522
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from sklearn.metrics import classification_report, f1_score, recall_score, accuracy_score
from torch.utils.tensorboard import SummaryWriter

from layers.AttentionLayer import AttentionLayer
from AttentionLayer import AttentionLayer
# change it with respect to the original model
from tokenizer import BertTokenizer
from bert import BertModel
Expand Down
Empty file removed layers/__init__.py
Empty file.
2 changes: 1 addition & 1 deletion multitask_classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from torch.utils.tensorboard import SummaryWriter

from bert import BertModel
from layers.AttentionLayer import AttentionLayer
from AttentionLayer import AttentionLayer
from optimizer import AdamW
from tqdm import tqdm

Expand Down

0 comments on commit c014522

Please sign in to comment.