Added comments and made a start on infer.py

This commit is contained in:
2026-03-28 22:31:10 +00:00
parent 753723694b
commit 0af8bff4a8
7 changed files with 301 additions and 22 deletions

View File

@@ -52,7 +52,7 @@ class Model(nn.Module):
# Applied across shared cls token, before all task heads
self.dropout = nn.Dropout(dropout_rate)
# get logits for each head
self.bug_head = nn.Linear(hidden_size, 2)
self.feature_head = nn.Linear(hidden_size, 2)
self.aspect_head = nn.Linear(hidden_size, 6)