Instructions to use ongkn/attraction-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ongkn/attraction-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="ongkn/attraction-classifier") 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("ongkn/attraction-classifier") model = AutoModelForImageClassification.from_pretrained("ongkn/attraction-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 15
Browse files- model.safetensors +1 -1
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 343223968
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:965a4e7c6bb9386dbf43a4906de2edb9120ee02a48d1be24ab866ce52c81d3ff
|
| 3 |
size 343223968
|