Instructions to use Sampson2022/test2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Sampson2022/test2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Sampson2022/test2") 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("Sampson2022/test2") model = AutoModelForImageClassification.from_pretrained("Sampson2022/test2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Create README.md
c74cc6e -
Update README.md
fe2229c -
Create README.md
dc7b297 -
Upload preprocessor_config.json
3a6fc88 -
Upload config.json
cb050d7 -
Upload pytorch_model.bin
bc462dc -
Delete mnist_cnn.onnx
255513b -
Upload mnist_cnn.onnx
badc2e6 -
initial commit
4b9265a