Skip to content

Commit 3bd57f3

Browse files
Update phishing_email_detection_gpt2.py
Syntax: Arg names ...
1 parent 2389efd commit 3bd57f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phishing_email_detection_gpt2.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ def call(self, x):
263263
mask_zero=True)(tokens)
264264

265265
position_embedding = RotaryPositionEmbedding(
266-
sequence_length=max_seq_length,
266+
max_seq_length=max_seq_length,
267267
d_model=EMBEDDING_DIM,
268268
# initializer="uniform",
269269
)(embedded)

0 commit comments

Comments
 (0)