Instructions to use mrsarthakgupta/localmodel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mrsarthakgupta/localmodel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="mrsarthakgupta/localmodel") 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("mrsarthakgupta/localmodel") model = AutoModelForImageClassification.from_pretrained("mrsarthakgupta/localmodel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload 3 files
Browse files- onnx/model.onnx +3 -0
- onnx/model_fp16.onnx +3 -0
- onnx/model_quantized.onnx +3 -0
onnx/model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:76be37ee4a1fdd1527cf3d1dde25b1eae3476be519bcdd2dc00a39aad037cb22
|
| 3 |
+
size 343001420
|
onnx/model_fp16.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:37a2c8428773419b6bfc39af1c3bcce10934fe023ddb1acbd8113764a37430ec
|
| 3 |
+
size 171644532
|
onnx/model_quantized.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:edbcbedf883be90392c92fc59f0ab9909a6c7b459f9ba9a1853ade7d09450a4e
|
| 3 |
+
size 86654781
|