Skip to content

Commit bf199ac

Browse files
pkgooglemattdangerw
authored andcommitted
Pkgoogle/efficient net migration (#1778)
* migrating efficientnet models to keras-hub * merging changes from other sources * autoformatting pass * initial consolidation of efficientnet_backbone * most updates and removing separate implementation * cleanup, autoformatting, keras generalization * removed layer examples outside of effiicient net * many, mainly documentation changes, small test fixes
1 parent 0c49d73 commit bf199ac

File tree

8 files changed

+1288
-0
lines changed

8 files changed

+1288
-0
lines changed

keras_nlp/api/models/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,9 @@
124124
from keras_nlp.src.models.distil_bert.distil_bert_tokenizer import (
125125
DistilBertTokenizer,
126126
)
127+
from keras_nlp.src.models.efficientnet.efficientnet_backbone import (
128+
EfficientNetBackbone,
129+
)
127130
from keras_nlp.src.models.electra.electra_backbone import ElectraBackbone
128131
from keras_nlp.src.models.electra.electra_tokenizer import ElectraTokenizer
129132
from keras_nlp.src.models.f_net.f_net_backbone import FNetBackbone
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Copyright 2024 The KerasNLP Authors
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# https://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.

0 commit comments

Comments
 (0)