From 629cac5e4bf769a6eeb2bd94aaf7c43f8050ae41 Mon Sep 17 00:00:00 2001 From: David Thrower Date: Fri, 11 Apr 2025 23:35:49 -0400 Subject: [PATCH 1/2] Update automerge.yml Add branch to the workflow. --- .github/workflows/automerge.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index d11affbe..10d65ddd 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -5,7 +5,7 @@ name: Python application on: push: - branches: [ "main", "171-upgrade-tf-2190" ] + branches: [ "main", "173-duplicative-import-on-nlp-proof-of-concept" ] permissions: contents: read From 49dbb83f1c1c724b67702e45d574eb9ced636dd5 Mon Sep 17 00:00:00 2001 From: David Thrower Date: Fri, 11 Apr 2025 23:37:59 -0400 Subject: [PATCH 2/2] Update phishing_email_detection_gpt2.py Remove duplicative imports. --- phishing_email_detection_gpt2.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/phishing_email_detection_gpt2.py b/phishing_email_detection_gpt2.py index 0c94f771..cebfb4e4 100644 --- a/phishing_email_detection_gpt2.py +++ b/phishing_email_detection_gpt2.py @@ -187,9 +187,6 @@ def from_config(cls, config): ### Cerebros model: -from transformers import AutoTokenizer -import tensorflow as tf - class NewTokenizerLayer(tf.keras.layers.Layer): def __init__(self, max_seq_length, tokenizer_checkpoint, **kwargs): super().__init__(**kwargs)