Run this model with HF Jobs
Run DataMinds/cnn_brain_tumor_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/DataMinds/cnn_brain_tumor_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/DataMinds/cnn_brain_tumor_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 DataMinds/cnn_brain_tumor_classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TF-Keras
How to use DataMinds/cnn_brain_tumor_classification with TF-Keras:
# Note: 'keras<3.x' or 'tf_keras' must be installed (legacy), and from_pretrained_keras was removed in huggingface_hub 1.0. # See https://github.com/keras-team/tf-keras for more details. # !pip install "huggingface_hub<1.0" tf_keras from huggingface_hub import from_pretrained_keras model = from_pretrained_keras("DataMinds/cnn_brain_tumor_classification") - Notebooks
- Google Colab
- Kaggle
Set `library_name` to `tf-keras`.
Browse filesModel 'DataMinds/cnn_brain_tumor_classification' seems to be compatible only with "Keras 2" and not "Keras 3". To distinguish them, models compatible with legacy Keras 2.x should be tagged as `tf-keras` while models compatible with Keras 3.x are tagged as `keras`.
This PR updates the model card to replace the explicit `library_name: keras` metadata which is now outdated by `library_name: tf-keras`. Updating this metadata will facilitate its discoverability and usage.
For more information about `keras` and `tf-keras` library names, check out this pull request: https://github.com/huggingface/huggingface.js/pull/774.
123456789101112---license: apache-2.0language:- de- enmetrics:- accuracy- roc_auclibrary_name: keraspipeline_tag: image-classification---# Brain tumor classification using CNN123456789101112---language:- de- enlibrary_name: tf-keraslicense: apache-2.0metrics:- accuracy- roc_aucpipeline_tag: image-classification---# Brain tumor classification using CNN