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_15.csv from StockCast/gru: direct link, hf CLI and curl.
- Browser
- Download file 336 Bytes
-
https://huggingface.co/StockCast/gru/resolve/main/models/AOL/forecast_next_15.csv
- Command line
-
hf download hf://StockCast/gru/models/AOL/forecast_next_15.csv
-
curl -L -o forecast_next_15.csv https://huggingface.co/StockCast/gru/resolve/main/models/AOL/forecast_next_15.csv
336 Bytes
| step_ahead,prediction | |
| 1,16.909403529629895 | |
| 2,23.07827738899455 | |
| 3,19.352727496616183 | |
| 4,23.88750903755518 | |
| 5,26.054536445105935 | |
| 6,24.21074901067234 | |
| 7,22.455487357441157 | |
| 8,23.36930594632684 | |
| 9,19.339464059241518 | |
| 10,23.731577722381658 | |
| 11,21.36090638213441 | |
| 12,19.17971394091437 | |
| 13,21.62141962220857 | |
| 14,21.859590621644266 | |
| 15,23.283604734144273 | |