Instructions to use nvidia/mit-b0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nvidia/mit-b0 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="nvidia/mit-b0") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("nvidia/mit-b0") model = AutoModelForImageClassification.from_pretrained("nvidia/mit-b0") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit ·
f7eab9b
1
Parent(s): f13c392
Add TF weights
Browse filesModel converted by the [`transformers`' `pt_to_tf` CLI](https://github.com/huggingface/transformers/blob/main/src/transformers/commands/pt_to_tf.py). All converted model outputs and hidden layers were validated against its Pytorch counterpart.
Maximum crossload output difference=3.338e-06; Maximum crossload hidden layer difference=3.569e-05;
Maximum conversion output difference=3.338e-06; Maximum conversion hidden layer difference=3.569e-05;
- tf_model.h5 +3 -0
tf_model.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:37aff8e82e97eb72227f2b693f19885c5bcfef66f8667eeed529cff9fa67ef5d
|
| 3 |
+
size 14563152
|