Run this model with HF Jobs
Run CaptainRapid/acoustic-alert-5class 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/CaptainRapid/acoustic-alert-5class. 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/CaptainRapid/acoustic-alert-5class 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 CaptainRapid/acoustic-alert-5class with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use CaptainRapid/acoustic-alert-5class 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://CaptainRapid/acoustic-alert-5class") - Notebooks
- Google Colab
- Kaggle
Download label_map.json from CaptainRapid/acoustic-alert-5class: direct link, hf CLI and curl.
- Browser
- Download file 595 Bytes
-
https://huggingface.co/CaptainRapid/acoustic-alert-5class/resolve/main/label_map.json
- Command line
-
hf download hf://CaptainRapid/acoustic-alert-5class/label_map.json
-
curl -L -o label_map.json https://huggingface.co/CaptainRapid/acoustic-alert-5class/resolve/main/label_map.json
595 Bytes
| { | |
| "labels": [ | |
| "background", | |
| "dog_bark", | |
| "alarm_siren", | |
| "door_event", | |
| "scream_shout" | |
| ], | |
| "label_to_id": { | |
| "background": 0, | |
| "dog_bark": 1, | |
| "alarm_siren": 2, | |
| "door_event": 3, | |
| "scream_shout": 4 | |
| }, | |
| "id_to_label": { | |
| "0": "background", | |
| "1": "dog_bark", | |
| "2": "alarm_siren", | |
| "3": "door_event", | |
| "4": "scream_shout" | |
| }, | |
| "missing_labels": [ | |
| "baby_cry", | |
| "glass_break" | |
| ], | |
| "canonical_labels": [ | |
| "background", | |
| "baby_cry", | |
| "dog_bark", | |
| "alarm_siren", | |
| "door_event", | |
| "glass_break", | |
| "scream_shout" | |
| ] | |
| } | |