Instructions to use FredZhang7/google-safesearch-mini-tfjs with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TF-Keras
How to use FredZhang7/google-safesearch-mini-tfjs with TF-Keras:
# Note: 'keras<3.x' or 'tf_keras' must be installed (legacy) # See https://github.com/keras-team/tf-keras for more details. from huggingface_hub import from_pretrained_keras model = from_pretrained_keras("FredZhang7/google-safesearch-mini-tfjs") - Notebooks
- Google Colab
- Kaggle
Commit ·
d0b4c6b
1
Parent(s): 86d6675
Upload model
Browse files
Config.py
CHANGED
|
@@ -1,5 +1,7 @@
|
|
| 1 |
from transformers import PretrainedConfig
|
| 2 |
from typing import List
|
|
|
|
|
|
|
| 3 |
|
| 4 |
class InceptionV3Config(PretrainedConfig):
|
| 5 |
model_type = "inceptionv3"
|
|
|
|
| 1 |
from transformers import PretrainedConfig
|
| 2 |
from typing import List
|
| 3 |
+
import warnings
|
| 4 |
+
warnings.filterwarnings("ignore")
|
| 5 |
|
| 6 |
class InceptionV3Config(PretrainedConfig):
|
| 7 |
model_type = "inceptionv3"
|