Run this model with HF Jobs
Run aaaTman/FrontFinder 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/aaaTman/FrontFinder. 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/aaaTman/FrontFinder 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 aaaTman/FrontFinder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use aaaTman/FrontFinder 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://aaaTman/FrontFinder") - Notebooks
- Google Colab
- Kaggle
Rename current model to v2.0.0.keras; add surface geopotential input and model card
Browse filesFiles changed (4)
34 unmodified lines35363734 unmodified lines*tfevents* filter=lfs diff=lfs merge=lfs -textuv_q_theta_e.keras filter=lfs diff=lfs merge=lfs -textnbs_square_dilation_trof_tt_no_inst.keras filter=lfs diff=lfs merge=lfs -text34 unmodified lines3536373834 unmodified lines*tfevents* filter=lfs diff=lfs merge=lfs -textuv_q_theta_e.keras filter=lfs diff=lfs merge=lfs -textnbs_square_dilation_trof_tt_no_inst.keras filter=lfs diff=lfs merge=lfs -textv2.0.0.keras filter=lfs diff=lfs merge=lfs -text
1 unmodified line23456789101 unmodified linelicense: cc0-1.0language:- entags:- meteorology- atmospheric- science- fronts---1 unmodified line2345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970711 unmodified linelicense: cc0-1.0language:- enlibrary_name: kerastags:- meteorology- atmospheric- science- fronts---# FrontFinderKeras models that detect synoptic and mesoscale weather features (fronts, troughs, drylines) on a global 0.25° grid from numerical weather prediction fields.## Files| File | Description ||---|---|| `v2.0.0.keras` | Current model (served at fronts.espr.ai). Previously named `nbs_square_dilation_trof_tt_no_inst.keras`. || `uv_q_theta_e.keras` | Earlier model, kept for reference. || `geopotential_at_surface_era5_0p25deg.npy` | Static surface geopotential (terrain) input required by `v2.0.0.keras`. |## v2.0.0A 2D UNet3+ that takes a flat 28-channel input and outputs per-pixel class probabilities.### InputsFields on the ECMWF IFS open-data 0.25° grid (721 x 1440). The model contains its own normalization (Rescaling) layer, so inputs are given in physical units.Pressure-level variables, each at 1000, 925, 850, 700, 500 and 300 hPa (6 levels x 4 variables = 24 channels):- equivalent potential temperature (theta-e), derived from IFS fields- u component of wind- v component of wind- specific humiditySingle-level variables (4 channels):- 10 m u wind- 10 m v wind- 2 m dewpoint temperature- surface geopotential (m² s⁻², ERA5 convention, not height in meters)Surface geopotential is not part of the IFS open-data real-time stream. It is supplied by `geopotential_at_surface_era5_0p25deg.npy`: float32, shape (721, 1440), latitude 90 to -90, longitude 0 to 359.75. It was taken from the public ARCO-ERA5 archive (`geopotential_at_surface`, a time-invariant field).### OutputsClass index order (index 0 is background):| Index | Class ||---|---|| 0 | background || 1 | cold front || 2 | warm front || 3 | stationary front || 4 | occluded front || 5 | dryline || 6 | trough || 7 | tropical trough || 8 | instability line |The model was trained with an instability-line class ("no_inst" in its original filename), but that class is not used in the served product. The other seven classes are.### UsageLoad with Keras (`keras.saving.load_model`). Large domains are run in overlapping patches and stitched with blending. The serving pipeline (tiling, IFS ingest, derived variables, GeoZarr output) is described at fronts.espr.ai.## AttributionSurface geopotential comes from ERA5 (Hersbach et al., ECMWF / Copernicus Climate Change Service). Please acknowledge ERA5 and ECMWF open data when using these inputs.
123version https://git-lfs.github.com/spec/v1oid sha256:595026b259654bab939733dfb3a74dd2cd79ac1134598cc90981e1b252e37b94size 4153088.gitattributes+1
README.md+62-1
geopotential_at_surface_era5_0p25deg.npyAdded+3
nbs_square_dilation_trof_tt_no_inst.keras → v2.0.0.kerasRenamed