Instructions to use l45k/lenet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use l45k/lenet with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="l45k/lenet", trust_remote_code=True) pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoModelForImageClassification model = AutoModelForImageClassification.from_pretrained("l45k/lenet", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Upload model
Browse files- config.json +1 -1
- model.safetensors +1 -1
config.json
CHANGED
|
@@ -8,5 +8,5 @@
|
|
| 8 |
},
|
| 9 |
"dtype": "float32",
|
| 10 |
"model_type": "lenet",
|
| 11 |
-
"transformers_version": "4.
|
| 12 |
}
|
|
|
|
| 8 |
},
|
| 9 |
"dtype": "float32",
|
| 10 |
"model_type": "lenet",
|
| 11 |
+
"transformers_version": "4.56.2"
|
| 12 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 247728
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c626c6fdaa60d82e377f802c55e7bc7e03069429deba563b4533e875a7f9369
|
| 3 |
size 247728
|