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/ADVENT/forecast_next_15.csv from StockCast/gru: direct link, hf CLI and curl.
- Browser
- Download file 339 Bytes
-
https://huggingface.co/StockCast/gru/resolve/main/models/ADVENT/forecast_next_15.csv
- Command line
-
hf download hf://StockCast/gru/models/ADVENT/forecast_next_15.csv
-
curl -L -o forecast_next_15.csv https://huggingface.co/StockCast/gru/resolve/main/models/ADVENT/forecast_next_15.csv
339 Bytes
| step_ahead,prediction | |
| 1,16.532191027452622 | |
| 2,16.68938600067772 | |
| 3,16.93561953367044 | |
| 4,16.957261293264413 | |
| 5,17.002722236361436 | |
| 6,17.215090807363662 | |
| 7,17.503207024495286 | |
| 8,17.86602198965318 | |
| 9,17.811522514758046 | |
| 10,17.853735872621122 | |
| 11,18.179745338476813 | |
| 12,18.33418510568097 | |
| 13,18.252049830233993 | |
| 14,18.397545393841853 | |
| 15,18.181887236180014 | |