Run this model with HF Jobs
Run adilsaleem/ecg-image-multilabel-classification 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/adilsaleem/ecg-image-multilabel-classification. 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/adilsaleem/ecg-image-multilabel-classification 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 adilsaleem/ecg-image-multilabel-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use adilsaleem/ecg-image-multilabel-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="adilsaleem/ecg-image-multilabel-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("adilsaleem/ecg-image-multilabel-classification") model = AutoModelForImageClassification.from_pretrained("adilsaleem/ecg-image-multilabel-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
d869e02
1
Parent(s): 8ae4dce
End of training
Browse filesFiles changed (4)
- README.mdAdded+47
- config.jsonAdded+38
- model.safetensorsAdded+3
- training_args.binAdded+3
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647---license: apache-2.0base_model: google/vit-base-patch16-224tags:- generated_from_trainermodel-index:- name: ecg-image-multilabel-classification results: []---
<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. -->
# ecg-image-multilabel-classification
This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on an unknown dataset.
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:- learning_rate: 5e-05- train_batch_size: 32- eval_batch_size: 8- seed: 42- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- num_epochs: 1
### Framework versions
- Transformers 4.35.2- Pytorch 2.1.0+cu118- Tokenizers 0.15.01234567891011121314151617181920212223242526272829303132333435363738{ "_name_or_path": "google/vit-base-patch16-224", "architectures": [ "ViTForImageClassification" ], "attention_probs_dropout_prob": 0.0, "encoder_stride": 16, "hidden_act": "gelu", "hidden_dropout_prob": 0.0, "hidden_size": 768, "id2label": { "0": "LABEL_0", "1": "LABEL_1", "2": "LABEL_2", "3": "LABEL_3", "4": "LABEL_4" }, "image_size": 224, "initializer_range": 0.02, "intermediate_size": 3072, "label2id": { "LABEL_0": 0, "LABEL_1": 1, "LABEL_2": 2, "LABEL_3": 3, "LABEL_4": 4 }, "layer_norm_eps": 1e-12, "model_type": "vit", "num_attention_heads": 12, "num_channels": 3, "num_hidden_layers": 12, "patch_size": 16, "problem_type": "multi_label_classification", "qkv_bias": true, "torch_dtype": "float32", "transformers_version": "4.35.2"}123version https://git-lfs.github.com/spec/v1oid sha256:a47c290e18c3b613ce081593622a227e203e0a8127194c1d57ac444ee10cf864size 343233204123version https://git-lfs.github.com/spec/v1oid sha256:ce0f27112f4b0ff4e276a54d09ce5b41e912c07de2bad95b64db9402831cb25fsize 4600README.mdAdded+47
config.jsonAdded+38
model.safetensorsAdded+3
training_args.binAdded+3