Skip to content

Commit 1ff1e75

Browse files
Merge pull request #219 from david-thrower/218-fix-padding-token-mismatch-and-logging-tokenization-metadata
218 fix padding token mismatch. Defer logging tokenization metadata to next commit ...
2 parents 389d773 + 5ff42ae commit 1ff1e75

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/automerge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: Python application
66
on:
77
push:
88

9-
branches: [ "main", "216-add-support-for-gradient-accumulation-steps" ]
9+
branches: [ "main", "218-fix-padding-token-mismatch-and-logging-tokenization-metadata" ]
1010

1111

1212
permissions:

phishing_email_detection_gpt2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ def from_config(cls, config):
398398
input_dim=VOCABULARY_SIZE,
399399
output_dim=EMBEDDING_DIM,
400400
input_length=max_seq_length,
401-
mask_zero=True)(inp)
401+
mask_zero=False)(inp)
402402

403403
position_embedding = InterleavedRoPE(
404404
dim=EMBEDDING_DIM,

0 commit comments

Comments
 (0)