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/AIL/forecast_next_7.csv from StockCast/gru: direct link, hf CLI and curl.
- Browser
- Download file 162 Bytes
-
https://huggingface.co/StockCast/gru/resolve/main/models/AIL/forecast_next_7.csv
- Command line
-
hf download hf://StockCast/gru/models/AIL/forecast_next_7.csv
-
curl -L -o forecast_next_7.csv https://huggingface.co/StockCast/gru/resolve/main/models/AIL/forecast_next_7.csv
162 Bytes
| step_ahead,prediction | |
| 1,76.86389361886692 | |
| 2,77.04810577172927 | |
| 3,75.97872498603168 | |
| 4,75.50306787252926 | |
| 5,75.29799435127104 | |
| 6,74.57682482185464 | |
| 7,75.17350005138574 | |