Image Classification
Transformers
TensorBoard
Safetensors
vit
Generated from Trainer
Eval Results (legacy)
Run this model with HF Jobs
Run GGital/vit-Covid 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/GGital/vit-Covid. 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/GGital/vit-Covid 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 GGital/vit-Covid with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use GGital/vit-Covid with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="GGital/vit-Covid") 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("GGital/vit-Covid") model = AutoModelForImageClassification.from_pretrained("GGital/vit-Covid", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 100
Browse filesFiles changed (9)
- config.jsonAdded+34
- model.safetensorsAdded+3
- preprocessor_config.jsonAdded+22
- runs/Jan27_07-00-39_431ca57d82bd/events.out.tfevents.1706338937.431ca57d82bd.3150.0Added+3
- runs/Jan27_07-04-24_431ca57d82bd/events.out.tfevents.1706339094.431ca57d82bd.3150.1Added+3
- runs/Jan27_07-09-45_431ca57d82bd/events.out.tfevents.1706339395.431ca57d82bd.5195.0Added+3
- runs/Jan27_07-16-19_431ca57d82bd/events.out.tfevents.1706339784.431ca57d82bd.5195.1Added+3
- runs/Jan27_07-17-29_431ca57d82bd/events.out.tfevents.1706339851.431ca57d82bd.5195.2Added+3
- training_args.binAdded+3
12345678910111213141516171819202122232425262728293031323334{ "_name_or_path": "google/vit-base-patch16-224-in21k", "architectures": [ "ViTForImageClassification" ], "attention_probs_dropout_prob": 0.0, "encoder_stride": 16, "hidden_act": "gelu", "hidden_dropout_prob": 0.0, "hidden_size": 768, "id2label": { "0": "COVID", "1": "NORMAL", "2": "PNEUMONIA" }, "image_size": 224, "initializer_range": 0.02, "intermediate_size": 3072, "label2id": { "COVID": "0", "NORMAL": "1", "PNEUMONIA": "2" }, "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, "torch_dtype": "float32", "transformers_version": "4.38.0.dev0"}123version https://git-lfs.github.com/spec/v1oid sha256:030b48d527dad8006cfd30a96554e8666c0bce469cefc9e2f550ce952c0c69b8size 34322705212345678910111213141516171819202122{ "do_normalize": true, "do_rescale": true, "do_resize": true, "image_mean": [ 0.5, 0.5, 0.5 ], "image_processor_type": "ViTImageProcessor", "image_std": [ 0.5, 0.5, 0.5 ], "resample": 2, "rescale_factor": 0.00392156862745098, "size": { "height": 224, "width": 224 }}123version https://git-lfs.github.com/spec/v1oid sha256:0b94f6f6f20390bb595594d6a0b0ad3dba667c8b094c13619c49ed5de301696asize 4874123version https://git-lfs.github.com/spec/v1oid sha256:a233f2758af471e611631b83c5971f56e4ee6c05be58eaa5f1041b94dbdc4eebsize 4923123version https://git-lfs.github.com/spec/v1oid sha256:a4b0a11af162bc6fab39f143521fcab75a17c832b34b518a25290027b777e047size 6417123version https://git-lfs.github.com/spec/v1oid sha256:a3c13f85409fb003f50380e9c4c004266a7634f7460526234a8c0b7633dc1ec6size 5952123version https://git-lfs.github.com/spec/v1oid sha256:1dc9e1f4e51b1c4fb5ff2f9ac3db32f166c498b09f86c8ec4332e686aac00ca2size 6318123version https://git-lfs.github.com/spec/v1oid sha256:3bffb161312ff81b149854e4ed4961607f6bd7e35ee2003ff3b86fe937dc3478size 4728config.jsonAdded+34
model.safetensorsAdded+3
preprocessor_config.jsonAdded+22
runs/Jan27_07-00-39_431ca57d82bd/events.out.tfevents.1706338937.431ca57d82bd.3150.0Added+3
runs/Jan27_07-04-24_431ca57d82bd/events.out.tfevents.1706339094.431ca57d82bd.3150.1Added+3
runs/Jan27_07-09-45_431ca57d82bd/events.out.tfevents.1706339395.431ca57d82bd.5195.0Added+3
runs/Jan27_07-16-19_431ca57d82bd/events.out.tfevents.1706339784.431ca57d82bd.5195.1Added+3
runs/Jan27_07-17-29_431ca57d82bd/events.out.tfevents.1706339851.431ca57d82bd.5195.2Added+3
training_args.binAdded+3