Instructions to use SRDdev/Blip_Tflite with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TF-Keras
How to use SRDdev/Blip_Tflite 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("SRDdev/Blip_Tflite") - Notebooks
- Google Colab
- Kaggle
| { | |
| "_name_or_path": "Salesforce/blip-image-captioning-base", | |
| "architectures": [ | |
| "BlipForConditionalGeneration" | |
| ], | |
| "image_text_hidden_size": 256, | |
| "initializer_factor": 1.0, | |
| "initializer_range": 0.02, | |
| "label_smoothing": 0.0, | |
| "logit_scale_init_value": 2.6592, | |
| "model_type": "blip", | |
| "projection_dim": 512, | |
| "text_config": { | |
| "initializer_factor": 1.0, | |
| "model_type": "blip_text_model", | |
| "num_attention_heads": 12 | |
| }, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.38.2", | |
| "vision_config": { | |
| "dropout": 0.0, | |
| "initializer_factor": 1.0, | |
| "initializer_range": 0.02, | |
| "model_type": "blip_vision_model", | |
| "num_channels": 3 | |
| } | |
| } | |