Instructions to use nvidia/mit-b5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nvidia/mit-b5 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="nvidia/mit-b5") 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("nvidia/mit-b5") model = AutoModelForImageClassification.from_pretrained("nvidia/mit-b5", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
4035715 -
Update license
23cb7f8
-
Add TF weights (#1)
- Add TF weights (4dc413caa07a8275f55dc90ab1713f60844ae521)9707ed6
-
Remove reshape_last_stage
88b4d75
-
Update README.md
810062d -
Create README.md
65c09bc
-
Update preprocessor_config.json
9133802
-
Set do_pad to False
0f2e061
-
First commit
cb3e957 -
initial commit
4ecacbe