Instructions to use bn22/my-timm-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use bn22/my-timm-model with timm:
import timm model = timm.create_model("hf_hub:bn22/my-timm-model", pretrained=True) - Transformers
How to use bn22/my-timm-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="bn22/my-timm-model") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("bn22/my-timm-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add model
Browse files- model.safetensors +1 -1
- pytorch_model.bin +1 -1
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 93864448
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:53d273566f88982001b729efe8f52b68b759a410b5730014f83c690283370ced
|
| 3 |
size 93864448
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 93916331
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8309976b41626d66016ce2d11bf728ed5266184d3f0cd9ccbd95fb899d9d9e1b
|
| 3 |
size 93916331
|