Instructions to use howdyaendra/xblock-large-patch2-224 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use howdyaendra/xblock-large-patch2-224 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="howdyaendra/xblock-large-patch2-224") 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("howdyaendra/xblock-large-patch2-224") model = AutoModelForImageClassification.from_pretrained("howdyaendra/xblock-large-patch2-224", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from howdyaendra/xblock-large-patch2-224: direct link, hf CLI and curl.
- Browser
- Download file 892 Bytes
-
https://huggingface.co/howdyaendra/xblock-large-patch2-224/resolve/main/README.md
- Command line
-
hf download hf://howdyaendra/xblock-large-patch2-224/README.md
-
curl -L -o README.md https://huggingface.co/howdyaendra/xblock-large-patch2-224/resolve/main/README.md
892 Bytes
| tags: | |
| - autotrain | |
| - image-classification | |
| widget: | |
| - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpg | |
| example_title: Tiger | |
| - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/teapot.jpg | |
| example_title: Teapot | |
| - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/palace.jpg | |
| example_title: Palace | |
| datasets: | |
| - xblock-large-patch2-224/autotrain-data | |
| # Model Trained Using AutoTrain | |
| - Problem type: Image Classification | |
| ## Validation Metrics | |
| loss: 0.4315283000469208 | |
| f1_macro: 0.6149830093941424 | |
| f1_micro: 0.8602430555555556 | |
| f1_weighted: 0.8515059109185544 | |
| precision_macro: 0.7610988679415244 | |
| precision_micro: 0.8602430555555556 | |
| precision_weighted: 0.8532444856848228 | |
| recall_macro: 0.5527145295483504 | |
| recall_micro: 0.8602430555555556 | |
| recall_weighted: 0.8602430555555556 | |
| accuracy: 0.8602430555555556 | |