Skip to content

Commit 09f470f

Browse files
authored
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 9289ab7 commit 09f470f

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
@@ -96,6 +96,9 @@
9696
from keras_nlp.src.models.distil_bert.distil_bert_tokenizer import (
9797
DistilBertTokenizer,
9898
)
99+
from keras_nlp.src.models.efficientnet.efficientnet_backbone import (
100+
EfficientNetBackbone,
101+
)
99102
from keras_nlp.src.models.electra.electra_backbone import ElectraBackbone
100103
from keras_nlp.src.models.electra.electra_preprocessor import (
101104
ElectraPreprocessor,
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)