Instructions to use sharktide/ClimateStrike_ClimateForecast_r1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use sharktide/ClimateStrike_ClimateForecast_r1 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/ClimateStrike_ClimateForecast_r1") - Notebooks
- Google Colab
- Kaggle
Download custom_objects.py from sharktide/ClimateStrike_ClimateForecast_r1: direct link, hf CLI and curl.
- Browser
- Download file 91 Bytes
-
https://huggingface.co/sharktide/ClimateStrike_ClimateForecast_r1/resolve/main/custom_objects.py
- Command line
-
hf download hf://sharktide/ClimateStrike_ClimateForecast_r1/custom_objects.py
-
curl -L -o custom_objects.py https://huggingface.co/sharktide/ClimateStrike_ClimateForecast_r1/resolve/main/custom_objects.py
91 Bytes
| import tensorflow as tf | |
| CUSTOM_OBJECTS = { | |
| "mse": tf.keras.losses.MeanSquaredError() | |
| } |