sagar27kumar/ECG-XRAY-dataset
Viewer โข Updated โข 1.85k โข 26
Run sagar27kumar/sagarsahu_ECG-XRAY-ViT 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:
Use HF Jobs to fine-tune https://huggingface.co/sagar27kumar/sagarsahu_ECG-XRAY-ViT. 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.
Use HF Jobs to run batch inference with https://huggingface.co/sagar27kumar/sagarsahu_ECG-XRAY-ViT 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.
How to use sagar27kumar/sagarsahu_ECG-XRAY-ViT with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-classification", model="sagar27kumar/sagarsahu_ECG-XRAY-ViT")
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("sagar27kumar/sagarsahu_ECG-XRAY-ViT")
model = AutoModelForImageClassification.from_pretrained("sagar27kumar/sagarsahu_ECG-XRAY-ViT", device_map="auto")This model is a fine-tuned version of google/vit-large-patch32-384 on an unknown dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.2773 | 1.0 | 116 | 0.1050 |
| 0.0739 | 2.0 | 232 | 0.0919 |
Base model
google/vit-large-patch32-384