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/ASIAPACINS/forecast_next_30.csv from StockCast/gru: direct link, hf CLI and curl.
- Browser
- Download file 659 Bytes
-
https://huggingface.co/StockCast/gru/resolve/main/models/ASIAPACINS/forecast_next_30.csv
- Command line
-
hf download hf://StockCast/gru/models/ASIAPACINS/forecast_next_30.csv
-
curl -L -o forecast_next_30.csv https://huggingface.co/StockCast/gru/resolve/main/models/ASIAPACINS/forecast_next_30.csv
659 Bytes
| step_ahead,prediction | |
| 1,31.1732268768996 | |
| 2,31.20922685813308 | |
| 3,31.30231857017875 | |
| 4,31.2906223959744 | |
| 5,31.142876534166934 | |
| 6,30.490460073447228 | |
| 7,30.848800293496254 | |
| 8,30.795681047075988 | |
| 9,30.73656619423926 | |
| 10,30.8534664699018 | |
| 11,30.823945045220853 | |
| 12,30.618988032203912 | |
| 13,30.064937099015715 | |
| 14,29.89670185816288 | |
| 15,30.618703530669215 | |
| 16,30.357845478448272 | |
| 17,30.693710077255965 | |
| 18,30.510800176995993 | |
| 19,30.861783749336006 | |
| 20,30.570510375636818 | |
| 21,30.55797474628687 | |
| 22,31.01160717481971 | |
| 23,30.001461645495894 | |
| 24,30.659071137315035 | |
| 25,30.54668776256144 | |
| 26,30.33885236673355 | |
| 27,30.124271474641564 | |
| 28,30.033743788772824 | |
| 29,30.532401219445468 | |
| 30,29.805064265072346 | |