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_30.csv from StockCast/gru: direct link, hf CLI and curl.
- Browser
- Download file 657 Bytes
-
https://huggingface.co/StockCast/gru/resolve/main/models/AOL/forecast_next_30.csv
- Command line
-
hf download hf://StockCast/gru/models/AOL/forecast_next_30.csv
-
curl -L -o forecast_next_30.csv https://huggingface.co/StockCast/gru/resolve/main/models/AOL/forecast_next_30.csv
657 Bytes
| step_ahead,prediction | |
| 1,23.15834421438571 | |
| 2,23.69939875934299 | |
| 3,22.392775080621465 | |
| 4,24.66736918064898 | |
| 5,23.307835724611962 | |
| 6,21.013187892603487 | |
| 7,22.17281980763157 | |
| 8,21.14943219182818 | |
| 9,26.52461978435889 | |
| 10,24.87694488530212 | |
| 11,25.24418252157649 | |
| 12,24.204718700377214 | |
| 13,23.371994803862545 | |
| 14,26.129553033137405 | |
| 15,26.93721396878163 | |
| 16,20.16371882158363 | |
| 17,22.815727591583443 | |
| 18,19.746060828652784 | |
| 19,27.307829640911148 | |
| 20,23.001081746567788 | |
| 21,21.7093583037296 | |
| 22,22.479268139811474 | |
| 23,20.767011685753502 | |
| 24,23.346898210146033 | |
| 25,25.493449114940244 | |
| 26,25.66213199917326 | |
| 27,24.694170428616236 | |
| 28,23.231816641747674 | |
| 29,22.3384671799944 | |
| 30,23.71998619148657 | |