Instructions to use ongp/Pacc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ongp/Pacc with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="ongp/Pacc") 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("ongp/Pacc") model = AutoModelForImageClassification.from_pretrained("ongp/Pacc", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from ongp/Pacc: direct link, hf CLI and curl.
- Browser
- Download file 870 Bytes
-
https://huggingface.co/ongp/Pacc/resolve/main/README.md
- Command line
-
hf download hf://ongp/Pacc/README.md
-
curl -L -o README.md https://huggingface.co/ongp/Pacc/resolve/main/README.md
870 Bytes
| tags: | |
| - autotrain | |
| - vision | |
| - image-classification | |
| datasets: | |
| - ongp/autotrain-data-test1 | |
| 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 | |
| co2_eq_emissions: | |
| emissions: 4.8390309824523134 | |
| # Model Trained Using AutoTrain | |
| - Problem type: Multi-class Classification | |
| - Model ID: 2718280758 | |
| - CO2 Emissions (in grams): 4.8390 | |
| ## Validation Metrics | |
| - Loss: 0.663 | |
| - Accuracy: 0.708 | |
| - Macro F1: 0.698 | |
| - Micro F1: 0.708 | |
| - Weighted F1: 0.712 | |
| - Macro Precision: 0.703 | |
| - Micro Precision: 0.708 | |
| - Weighted Precision: 0.717 | |
| - Macro Recall: 0.695 | |
| - Micro Recall: 0.708 | |
| - Weighted Recall: 0.708 |