Skip to content

Commit 5ce1eb8

Browse files
Update phishing_email_detection_gpt2.py
...
1 parent f229a47 commit 5ce1eb8

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
@@ -74,7 +74,7 @@ def rotate_half(x):
7474
#
7575

7676
# Training data for baseline model
77-
baseline_train_x = tf.constant(X_train)
77+
baseline_train_x = tf.constant(X_train, dtype=tf.string)
7878
baseline_train_y = tf.constant(y_train, dtype=tf.int8)
7979

8080
# Packaged for Cerebros (multimodal, takes inputs as a list)

0 commit comments

Comments
 (0)