Skip to content

Commit 2aeba28

Browse files
Update phishing_email_detection_gpt2.py
Syntax error / hallucination correction ...
1 parent 5398ce7 commit 2aeba28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phishing_email_detection_gpt2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def from_config(cls, config):
211211

212212

213213

214-
def RotaryEmbedding(tf.keras.layers.Layer):
214+
class RotaryEmbedding(tf.keras.layers.Layer):
215215
def __init__(self, dim, max_seq_len=1024, temperature=10000.0, **kwargs):
216216
super().__init__(**kwargs)
217217
self.dim = dim

0 commit comments

Comments
 (0)