Skip to content

Commit

Permalink
Update custom.py
Browse files Browse the repository at this point in the history
1/2 move imports from keras_nlp.models import GPT2Tokenizer, GPT2Preprocessor, GPT2Backbone
  • Loading branch information
david-thrower committed Jun 13, 2024
1 parent 5e583c7 commit 98645bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cerebros/custom/custom.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

import tensorflow as tf
from keras_nlp.models import GPT2Tokenizer, GPT2Preprocessor, GPT2Backbone

# Custom keras layer, analogue of Dense that does
# ternary mathematical operations
Expand Down

0 comments on commit 98645bd

Please sign in to comment.