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_7.csv from StockCast/gru: direct link, hf CLI and curl.
- Browser
- Download file 168 Bytes
-
https://huggingface.co/StockCast/gru/resolve/main/models/ADVENT/forecast_next_7.csv
- Command line
-
hf download hf://StockCast/gru/models/ADVENT/forecast_next_7.csv
-
curl -L -o forecast_next_7.csv https://huggingface.co/StockCast/gru/resolve/main/models/ADVENT/forecast_next_7.csv
168 Bytes
| step_ahead,prediction | |
| 1,16.715195001721856 | |
| 2,16.840736125509043 | |
| 3,17.073136051442702 | |
| 4,17.32867876292019 | |
| 5,17.345656351696547 | |
| 6,17.715807740877302 | |
| 7,17.544598291953854 | |