Run this model with HF Jobs
Run ErnestBeckham/MulticancerViT 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/ErnestBeckham/MulticancerViT. 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/ErnestBeckham/MulticancerViT 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 ErnestBeckham/MulticancerViT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use ErnestBeckham/MulticancerViT 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://ErnestBeckham/MulticancerViT") - Notebooks
- Google Colab
- Kaggle
Commit ·
55441c7
1
Parent(s): e1993c7
init
Browse files12345678910111213141516171819202122232425262728293031323334{ "_name_or_path": "ErnestBeckham/MulticancerViT", "architectures": ["ViTForImageClassification"], "id2label": { "0": "cervix_koc", "1": "cervix_dyk", "2": "cervix_pab", "3": "cervix_sfi", "4": "cervix_mep", "5": "colon_bnt", "6": "colon_aca", "7": "lung_aca", "8": "lung_bnt", "9": "lung_scc", "10": "oral_scc", "11": "oral_normal", "12":"kidney_tumor", "13":"kidney_normal", "14":"breast_benign", "15":"breast_malignant", "16":"lymph_fl", "17":"lymph_cll", "18":"lymph_mcl", "19":"brain_tumor", "20":"brain_glioma", "21":"brain_menin" }, "model_type": "vit", "lr":1e-4, "num_layers":12, "hidden_dim":512, "mlp_dim":12, "dropout":0.1}config.jsonAdded+34