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/1JANATAMF/forecast_next_7.csv from StockCast/gru: direct link, hf CLI and curl.
- Browser
- Download file 166 Bytes
-
https://huggingface.co/StockCast/gru/resolve/main/models/1JANATAMF/forecast_next_7.csv
- Command line
-
hf download hf://StockCast/gru/models/1JANATAMF/forecast_next_7.csv
-
curl -L -o forecast_next_7.csv https://huggingface.co/StockCast/gru/resolve/main/models/1JANATAMF/forecast_next_7.csv
166 Bytes
| step_ahead,prediction | |
| 1,3.4140028223395347 | |
| 2,3.5016283832490442 | |
| 3,3.450932755321264 | |
| 4,3.5579395696520804 | |
| 5,3.5204810995608566 | |
| 6,3.57066493704915 | |
| 7,3.6710119668394325 | |