Instructions to use google/efficientnet-b2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/efficientnet-b2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="google/efficientnet-b2") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("google/efficientnet-b2") model = AutoModelForImageClassification.from_pretrained("google/efficientnet-b2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from google/efficientnet-b2: direct link, hf CLI and curl.
- Browser
- Download file 36.9 MB
-
https://huggingface.co/google/efficientnet-b2/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://google/efficientnet-b2/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/google/efficientnet-b2/resolve/main/pytorch_model.bin
36.9 MB
- Xet hash:
- 644e60bb2d4b231b7eda65aca36f1ef86b32fe72a4d0a6f35d63f41b5613aac2
- Size of remote file:
- 36.9 MB
- SHA256:
- d79af2536c5df7e469f45bc9f739e1c8d9ba61897de57f836b6e363e3e3a0d1f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.