Instructions to use al-css/PagesClassificationModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use al-css/PagesClassificationModel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="al-css/PagesClassificationModel") 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("al-css/PagesClassificationModel") model = AutoModelForImageClassification.from_pretrained("al-css/PagesClassificationModel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download eval_results.json from al-css/PagesClassificationModel: direct link, hf CLI and curl.
- Browser
- Download file 195 Bytes
-
https://huggingface.co/al-css/PagesClassificationModel/resolve/main/eval_results.json
- Command line
-
hf download hf://al-css/PagesClassificationModel/eval_results.json
-
curl -L -o eval_results.json https://huggingface.co/al-css/PagesClassificationModel/resolve/main/eval_results.json
195 Bytes
| { | |
| "epoch": 3.0, | |
| "eval_accuracy": 1.0, | |
| "eval_loss": 0.003107850207015872, | |
| "eval_runtime": 3.2096, | |
| "eval_samples_per_second": 10.282, | |
| "eval_steps_per_second": 1.558 | |
| } |