Run this model with HF Jobs
Run paula66772/cnn-xray-chest-0-0-1 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/paula66772/cnn-xray-chest-0-0-1. 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/paula66772/cnn-xray-chest-0-0-1 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 paula66772/cnn-xray-chest-0-0-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use paula66772/cnn-xray-chest-0-0-1 with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://paula66772/cnn-xray-chest-0-0-1") - Notebooks
- Google Colab
- Kaggle
Chest X-Ray CNN (TensorFlow/Keras)
Artifacts uploaded from a Hugging Face Job run.
Classes
NORMAL, PNEUMONIA
Metrics (latest run)
{
"val": {
"acc": 0.913385808467865,
"loss": 0.20959945023059845,
"pr_auc": 0.9880499839782715,
"precision": 0.9166666865348816,
"recall": 0.971731424331665,
"roc_auc": 0.9706137180328369
},
"test": {
"acc": 0.7387820482254028,
"pr_auc": 0.8772672414779663,
"precision": 0.7153699994087219,
"recall": 0.9666666388511658,
"roc_auc": 0.8489206433296204
}
}