Run this model with HF Jobs

Run yeoghurt/pathmnist-resnet18 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/yeoghurt/pathmnist-resnet18. 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/yeoghurt/pathmnist-resnet18 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.

pathmnist-resnet18

This model is a fine-tuned version of microsoft/resnet-18 on an unknown dataset. It achieves the following results on the evaluation set:

  • Loss: 0.3635
  • Accuracy: 0.9017
  • Precision: 0.8904
  • Recall: 0.8556
  • F1: 0.8601
  • Auc: 0.9919

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: 64
  • eval_batch_size: 64
  • seed: 42
  • optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
  • lr_scheduler_type: linear
  • num_epochs: 3
  • mixed_precision_training: Native AMP

Training results

Training Loss Epoch Step Validation Loss Accuracy Precision Recall F1 Auc
0.1037 1.0 1407 0.0683 0.9776 0.9778 0.9771 0.9774 0.9995
0.0475 2.0 2814 0.0453 0.9850 0.9851 0.9850 0.9850 0.9997
0.0171 3.0 4221 0.0361 0.9887 0.9889 0.9884 0.9887 0.9998

Framework versions

  • Transformers 5.23.0
  • Pytorch 2.14.1+cu130
  • Datasets 5.2.0
  • Tokenizers 0.23.3
Downloads last month
98
Safetensors
Model size
11.2M params
Tensor type
F32
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for yeoghurt/pathmnist-resnet18

Quantized
(7)
this model

Space using yeoghurt/pathmnist-resnet18 1