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
File size: 740 Bytes
2fea4ae d16bbb5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | {
"architectures": [
"InceptionV3ModelForImageClassification"
],
"auto_map": {
"AutoConfig": "Config.InceptionV3Config",
"AutoModelForImageClassification": "Model.InceptionV3ModelForImageClassification"
},
"classes": {
"0": "nsfw_gore",
"1": "nsfw_suggestive",
"2": "safe"
},
"classifier": "fc",
"has_aux": true,
"input_size": [
3,
299,
299
],
"interpolation": "bicubic",
"label_offset": 1,
"mean": [
0.5,
0.5,
0.5
],
"model_name": "google-safesearch-mini",
"model_type": "inceptionv3",
"num_classes": 3,
"output_channels": 2048,
"std": [
0.5,
0.5,
0.5
],
"torch_dtype": "float32",
"transformers_version": "4.25.1",
"use_jit": true
}
|