Instructions to use facebook/convnextv2-huge-1k-224 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/convnextv2-huge-1k-224 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="facebook/convnextv2-huge-1k-224") 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("facebook/convnextv2-huge-1k-224") model = AutoModelForImageClassification.from_pretrained("facebook/convnextv2-huge-1k-224", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Renaming *.grn.gamma -> *.grn.weight, *.grn.beta -> *.grn.bias and adding `safetensors` variant of this model
#2
by rwightman - opened
- model.safetensors +3 -0
- pytorch_model.bin +2 -2
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:50e4b4f14e2dea65fd180cac1f4ef4d6e5413daba2b59ba04e1c5c15e2a04663
|
| 3 |
+
size 2641205576
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3c07089b19d22a6f24396c2b60c79daa1fd1836bd25a5f918b7fbba81353eefc
|
| 3 |
+
size 2641286202
|