Run this model with HF Jobs
Run abinav-rdj/fish_clasification 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/abinav-rdj/fish_clasification. 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/abinav-rdj/fish_clasification 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 abinav-rdj/fish_clasification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use abinav-rdj/fish_clasification 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://abinav-rdj/fish_clasification") - Notebooks
- Google Colab
- Kaggle
File size: 1,182 Bytes
d414bde 9db8a67 d414bde 9db8a67 d414bde | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | {
"test_loss": 0.011400883086025715,
"test_accuracy": 1.0,
"class_names": [
"anchovy",
"emperor",
"sangara"
],
"classification_report": {
"anchovy": {
"precision": 1.0,
"recall": 1.0,
"f1-score": 1.0,
"support": 40.0
},
"emperor": {
"precision": 1.0,
"recall": 1.0,
"f1-score": 1.0,
"support": 51.0
},
"sangara": {
"precision": 1.0,
"recall": 1.0,
"f1-score": 1.0,
"support": 48.0
},
"accuracy": 1.0,
"macro avg": {
"precision": 1.0,
"recall": 1.0,
"f1-score": 1.0,
"support": 139.0
},
"weighted avg": {
"precision": 1.0,
"recall": 1.0,
"f1-score": 1.0,
"support": 139.0
}
},
"confusion_matrix": [
[
40,
0,
0
],
[
0,
51,
0
],
[
0,
0,
48
]
]
} |