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_30.csv from StockCast/gru: direct link, hf CLI and curl.
- Browser
- Download file 660 Bytes
-
https://huggingface.co/StockCast/gru/resolve/main/models/ADVENT/forecast_next_30.csv
- Command line
-
hf download hf://StockCast/gru/models/ADVENT/forecast_next_30.csv
-
curl -L -o forecast_next_30.csv https://huggingface.co/StockCast/gru/resolve/main/models/ADVENT/forecast_next_30.csv
660 Bytes
| step_ahead,prediction | |
| 1,16.59699581464465 | |
| 2,16.61722011362525 | |
| 3,16.447357072903415 | |
| 4,16.39044352231645 | |
| 5,17.849643796222313 | |
| 6,18.15349015978791 | |
| 7,17.429009405979027 | |
| 8,17.39346714330532 | |
| 9,18.8417653346579 | |
| 10,17.616764704024142 | |
| 11,17.54164305414316 | |
| 12,18.370718645751964 | |
| 13,18.496012573648493 | |
| 14,17.74642905526751 | |
| 15,18.164269563177047 | |
| 16,18.864180970519833 | |
| 17,18.49343841127278 | |
| 18,18.295599270948205 | |
| 19,18.429929455565624 | |
| 20,19.42767297233003 | |
| 21,18.79620883831748 | |
| 22,18.30336043438815 | |
| 23,18.330131005571204 | |
| 24,18.807118708635105 | |
| 25,18.874485495289996 | |
| 26,18.860532271670746 | |
| 27,18.480867647078842 | |
| 28,19.079221794727303 | |
| 29,18.838868286322356 | |
| 30,18.925247018306493 | |