Tabular Classification
TensorFlow
Keras
Transformers
English
cvdpredict
cvd_ohca_predictor
tensorflow
ohcaprediction
ohca_predictor
custom_code
Run this model with HF Jobs
Run sharktide/ohca-predictor-v1 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/sharktide/ohca-predictor-v1. 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/sharktide/ohca-predictor-v1 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 sharktide/ohca-predictor-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use sharktide/ohca-predictor-v1 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://sharktide/ohca-predictor-v1") - Transformers
How to use sharktide/ohca-predictor-v1 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import TFAutoModel model = TFAutoModel.from_pretrained("sharktide/ohca-predictor-v1", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files15 unmodified lines16171819202115 unmodified lines"transformers_version": "5.14.1","auto_map": {"AutoConfig": "configuration_ohca.OhcaConfig","TFAutoModel": "modeling_ohca.TFCVDPredictorForOHCADetection"}}15 unmodified lines16171819202115 unmodified lines"transformers_version": "5.14.1","auto_map": {"AutoConfig": "configuration_ohca.OhcaConfig","AutoModel": "modeling_ohca.TFCVDPredictorForOHCADetection"}}
config.json+1-1