Skip to content

Commit 98645bd

Browse files
Update custom.py
1/2 move imports from keras_nlp.models import GPT2Tokenizer, GPT2Preprocessor, GPT2Backbone
1 parent 5e583c7 commit 98645bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cerebros/custom/custom.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11

22
import tensorflow as tf
3+
from keras_nlp.models import GPT2Tokenizer, GPT2Preprocessor, GPT2Backbone
34

45
# Custom keras layer, analogue of Dense that does
56
# ternary mathematical operations

0 commit comments

Comments
 (0)