Image Classification
Transformers
TensorBoard
Safetensors
vit
Generated from Trainer
Eval Results (legacy)
Instructions to use dukenmarga/image_classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dukenmarga/image_classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="dukenmarga/image_classification") 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("dukenmarga/image_classification") model = AutoModelForImageClassification.from_pretrained("dukenmarga/image_classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1
Browse filesFiles changed (9)
- config.json+5-5
- model.safetensors+2-2
- runs/Sep06_03-14-23_935bcd5a2a5e/events.out.tfevents.1725592477.935bcd5a2a5e.1381.0+2-2
- runs/Sep06_03-35-50_935bcd5a2a5e/events.out.tfevents.1725593760.935bcd5a2a5e.1381.1Added+3
- runs/Sep06_03-37-06_935bcd5a2a5e/events.out.tfevents.1725593835.935bcd5a2a5e.1381.2Added+3
- runs/Sep06_03-45-45_935bcd5a2a5e/events.out.tfevents.1725594355.935bcd5a2a5e.1381.3Added+3
- runs/Sep06_03-54-35_935bcd5a2a5e/events.out.tfevents.1725594887.935bcd5a2a5e.1381.4Added+3
- runs/Sep06_04-03-05_935bcd5a2a5e/events.out.tfevents.1725595405.935bcd5a2a5e.1381.5Added+3
- training_args.bin+1-1
123451 unmodified line789101112136 unmodified lines202122232425266 unmodified lines333435363738394041{"_name_or_path": "google/vit-large-patch16-224-in21k","architectures": ["ViTForImageClassification"],1 unmodified line"encoder_stride": 16,"hidden_act": "gelu","hidden_dropout_prob": 0.0,"hidden_size": 1024,"id2label": {"0": "anger","1": "contempt",6 unmodified lines},"image_size": 224,"initializer_range": 0.02,"intermediate_size": 4096,"label2id": {"anger": "0","contempt": "1",6 unmodified lines},"layer_norm_eps": 1e-12,"model_type": "vit","num_attention_heads": 16,"num_channels": 3,"num_hidden_layers": 24,"patch_size": 16,"problem_type": "single_label_classification","qkv_bias": true,123451 unmodified line789101112136 unmodified lines202122232425266 unmodified lines333435363738394041{"_name_or_path": "google/vit-base-patch16-224-in21k","architectures": ["ViTForImageClassification"],1 unmodified line"encoder_stride": 16,"hidden_act": "gelu","hidden_dropout_prob": 0.0,"hidden_size": 768,"id2label": {"0": "anger","1": "contempt",6 unmodified lines},"image_size": 224,"initializer_range": 0.02,"intermediate_size": 3072,"label2id": {"anger": "0","contempt": "1",6 unmodified lines},"layer_norm_eps": 1e-12,"model_type": "vit","num_attention_heads": 12,"num_channels": 3,"num_hidden_layers": 12,"patch_size": 16,"problem_type": "single_label_classification","qkv_bias": true,
123version https://git-lfs.github.com/spec/v1oid sha256:998784d87675540e4340eae81e4ab138d7473b1752319fe6aee332acac751980size 1213285872123version https://git-lfs.github.com/spec/v1oid sha256:c705a1d4c5e3de8db4328ab4d0b62264024bc621390ac26885993acb497ebd68size 343242432
123version https://git-lfs.github.com/spec/v1oid sha256:c1dc16b4a53e667035dc40feaea31839e01065c467aacbb13f57c0a5fca1b9a2size 11033123version https://git-lfs.github.com/spec/v1oid sha256:40c5d246d7627a9f1f24e5bfc6969f554e665a750b94d596dab3d2b552126836size 11778
123version https://git-lfs.github.com/spec/v1oid sha256:2f21cc2f9ea2e9d2073aa4c7f8dce3dfedd29aa59849aef6eb256ca6af6a190asize 5157123version https://git-lfs.github.com/spec/v1oid sha256:2b2c03081c0faa0737155ae5303694b601869ef689ab1691a84b291f0faece83size 5157123version https://git-lfs.github.com/spec/v1oid sha256:60ec88dff689d048bfef3d5fa3429f4d691b40d3c0af68a85b7a3aeaae8879afsize 5157123version https://git-lfs.github.com/spec/v1oid sha256:e3cee6edf208f4d777880578146dbcfe0744fa6bb459951f91e2f41cf40eef8bsize 5157123version https://git-lfs.github.com/spec/v1oid sha256:797a7dd1a4dc4c05c1080e7580bba978dfa1cd0bc3cd2cafac854730adcb2b48size 5681123version https://git-lfs.github.com/spec/v1oid sha256:f76fea7d187b2734016cb05bbf8a04a379fea20a10f49a641871a7f133aeda78size 5240123version https://git-lfs.github.com/spec/v1oid sha256:f51de89a17bd5eb7ab02262463b5a84187145931273c3b970c911f44a958ef65size 5240
config.json+5-5
model.safetensors+2-2
runs/Sep06_03-14-23_935bcd5a2a5e/events.out.tfevents.1725592477.935bcd5a2a5e.1381.0+2-2
runs/Sep06_03-35-50_935bcd5a2a5e/events.out.tfevents.1725593760.935bcd5a2a5e.1381.1Added+3
runs/Sep06_03-37-06_935bcd5a2a5e/events.out.tfevents.1725593835.935bcd5a2a5e.1381.2Added+3
runs/Sep06_03-45-45_935bcd5a2a5e/events.out.tfevents.1725594355.935bcd5a2a5e.1381.3Added+3
runs/Sep06_03-54-35_935bcd5a2a5e/events.out.tfevents.1725594887.935bcd5a2a5e.1381.4Added+3
runs/Sep06_04-03-05_935bcd5a2a5e/events.out.tfevents.1725595405.935bcd5a2a5e.1381.5Added+3
training_args.bin+1-1