Image Classification
Transformers
Safetensors
nula
computer-vision
cnn
cifar10
adversarial-robustness
stress-test
downsampling
anti-aliasing
custom_code
Instructions to use MamaPearl/nula-cifar10-robust-v0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MamaPearl/nula-cifar10-robust-v0 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="MamaPearl/nula-cifar10-robust-v0", 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("MamaPearl/nula-cifar10-robust-v0", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -236,7 +236,7 @@ from transformers import pipeline
|
|
| 236 |
|
| 237 |
classifier = pipeline(
|
| 238 |
"image-classification",
|
| 239 |
-
model="MamaPearl/nula-cifar10-robust-
|
| 240 |
trust_remote_code=True
|
| 241 |
)
|
| 242 |
|
|
|
|
| 236 |
|
| 237 |
classifier = pipeline(
|
| 238 |
"image-classification",
|
| 239 |
+
model="MamaPearl/nula-cifar10-robust-v0",
|
| 240 |
trust_remote_code=True
|
| 241 |
)
|
| 242 |
|