Instructions to use keras-io/attention_mil with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TF-Keras
How to use keras-io/attention_mil with TF-Keras:
# Note: 'keras<3.x' or 'tf_keras' must be installed (legacy), and from_pretrained_keras was removed in huggingface_hub 1.0. # See https://github.com/keras-team/tf-keras for more details. # !pip install "huggingface_hub<1.0" tf_keras from huggingface_hub import from_pretrained_keras model = from_pretrained_keras("keras-io/attention_mil") - Notebooks
- Google Colab
- Kaggle
Download saved_model.pb from keras-io/attention_mil: direct link, hf CLI and curl.
- Browser
- Download file 347 kB
-
https://huggingface.co/keras-io/attention_mil/resolve/main/saved_model.pb
- Command line
-
hf download hf://keras-io/attention_mil/saved_model.pb
-
curl -L -o saved_model.pb https://huggingface.co/keras-io/attention_mil/resolve/main/saved_model.pb
347 kB
- Xet hash:
- 817807c80028bc4859d8885f08f0c7e34cd1aee9367d9c4b1f6dca18f285dd3e
- Size of remote file:
- 347 kB
- SHA256:
- 168f1e8bfd488a860682f8bf6a09631397160b1180ab3024d0aa4b05da83ea07
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.