diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index d11affb..10d65dd 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 diff --git a/phishing_email_detection_gpt2.py b/phishing_email_detection_gpt2.py index 0c94f77..cebfb4e 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)