Instructions to use hchcsuim/FaceAIorNot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hchcsuim/FaceAIorNot with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="hchcsuim/FaceAIorNot") 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("hchcsuim/FaceAIorNot") model = AutoModelForImageClassification.from_pretrained("hchcsuim/FaceAIorNot", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1
Browse files123version https://git-lfs.github.com/spec/v1oid sha256:c55ba7b833bec55a238df3f89fa529ae81ad634528a4f7cd8341584c69dbe766size 110395310123version https://git-lfs.github.com/spec/v1oid sha256:151917b38d9898994c5622ea251c25ddd0bb42b43390a8ee4526b6dfb1d0fa7bsize 110395310
pytorch_model.bin+1-1