Image Classification
Transformers
TensorBoard
Safetensors
PyTorch
vit
huggingpics
Eval Results (legacy)
Run this model with HF Jobs
Run Libidrave/CartoonOrNotv1 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Libidrave/CartoonOrNotv1. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Libidrave/CartoonOrNotv1 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Libidrave/CartoonOrNotv1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Libidrave/CartoonOrNotv1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Libidrave/CartoonOrNotv1") 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("Libidrave/CartoonOrNotv1") model = AutoModelForImageClassification.from_pretrained("Libidrave/CartoonOrNotv1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
commit files to HF hub
Browse filesFiles changed (5)
4 unmodified lines56789101 unmodified line121314151617181920212223242526274 unmodified lines- huggingpicsmetrics:- accuracymodel-index:- name: CartoonOrNotv1results:1 unmodified linename: Image Classificationtype: image-classificationmetrics:- name: Accuracytype: accuracyvalue: 0.9016393423080444license: apache-2.0language:- idpipeline_tag: image-classification---# CartoonOrNotv1CartoonOrNot Model with ViT-b16-224-in21k4 unmodified lines5678910111 unmodified line1314151617181920212223244 unmodified lines- huggingpicsmetrics:- accuracymodel-index:- name: CartoonOrNotv1results:1 unmodified linename: Image Classificationtype: image-classificationmetrics:- name: Accuracytype: accuracyvalue: 0.9016393423080444---# CartoonOrNotv1CartoonOrNot Model using google/vit-base-patch16-224-in21k
27 unmodified lines282930313227 unmodified lines"problem_type": "single_label_classification","qkv_bias": true,"torch_dtype": "float32","transformers_version": "4.35.2"}27 unmodified lines282930313227 unmodified lines"problem_type": "single_label_classification","qkv_bias": true,"torch_dtype": "float32","transformers_version": "4.38.2"}
123version https://git-lfs.github.com/spec/v1oid sha256:f569626635ead1231ed80c70b0ac7ecbc6bc1e6cca9444dedb73a0c0b17225c6size 343223968123version https://git-lfs.github.com/spec/v1oid sha256:e6072bcf09fedcfb9259b7f6ba43b597987495415cedfd7f3a12b8f74ad9472bsize 343223968
6 unmodified lines789101112136 unmodified lines0.5,0.5],"image_processor_type": "ViTFeatureExtractor","image_std": [0.5,0.5,6 unmodified lines789101112136 unmodified lines0.5,0.5],"image_processor_type": "ViTImageProcessor","image_std": [0.5,0.5,
123version https://git-lfs.github.com/spec/v1oid sha256:b6414e0dc0f955924fd7a50cf44e25054f6699757b9196594d4a80c98115c251size 29051README.md+5-8
config.json+1-1
model.safetensors+1-1
preprocessor_config.json+1-1
runs/events.out.tfevents.1709791212.427a521cb9bb.336.0Added+3