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/AMCL(PRAN)/forecast_next_7.csv from StockCast/gru: direct link, hf CLI and curl.
- Browser
- Download file 167 Bytes
-
https://huggingface.co/StockCast/gru/resolve/main/models/AMCL(PRAN)/forecast_next_7.csv
- Command line
-
hf download 'hf://StockCast/gru/models/AMCL(PRAN)/forecast_next_7.csv'
-
curl -L -o forecast_next_7.csv 'https://huggingface.co/StockCast/gru/resolve/main/models/AMCL(PRAN)/forecast_next_7.csv'
167 Bytes
| step_ahead,prediction | |
| 1,199.87444502115252 | |
| 2,199.61898594498635 | |
| 3,199.33968040347102 | |
| 4,200.1324481725693 | |
| 5,200.8331882596016 | |
| 6,199.73720064163209 | |
| 7,201.27617960274222 | |