Instructions to use StockCast/gru with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use StockCast/gru 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://StockCast/gru") - Notebooks
- Google Colab
- Kaggle
Download models/AOL/forecast_next_3.csv from StockCast/gru: direct link, hf CLI and curl.
- Browser
- Download file 85 Bytes
-
https://huggingface.co/StockCast/gru/resolve/main/models/AOL/forecast_next_3.csv
- Command line
-
hf download hf://StockCast/gru/models/AOL/forecast_next_3.csv
-
curl -L -o forecast_next_3.csv https://huggingface.co/StockCast/gru/resolve/main/models/AOL/forecast_next_3.csv
85 Bytes
| step_ahead,prediction | |
| 1,17.418031364333714 | |
| 2,17.676168473335615 | |
| 3,18.860410633424557 | |