Skip to content

Commit 8a9661f

Browse files
Update phishing_email_detection_gpt2.py
Typo
1 parent f56bc73 commit 8a9661f

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
@@ -813,7 +813,7 @@ def generate(self, token_ids, do_sample=False, max_new_tokens=None):
813813
print(f"... next_token_id: {next_token_id}")
814814
next_word = tokenizer.decode(next_token_id)
815815
print(f"Next decoded word: {next_word}")
816-
temp_gen_count =+=1
816+
temp_gen_count +=1
817817

818818
# Check for termination condition
819819
if next_token_id == self.padding_token:

0 commit comments

Comments
 (0)