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/APOLOISPAT/forecast_next_7.csv from StockCast/gru: direct link, hf CLI and curl.
- Browser
- Download file 160 Bytes
-
https://huggingface.co/StockCast/gru/resolve/main/models/APOLOISPAT/forecast_next_7.csv
- Command line
-
hf download hf://StockCast/gru/models/APOLOISPAT/forecast_next_7.csv
-
curl -L -o forecast_next_7.csv https://huggingface.co/StockCast/gru/resolve/main/models/APOLOISPAT/forecast_next_7.csv
160 Bytes
| step_ahead,prediction | |
| 1,4.255548898072787 | |
| 2,4.266461410902158 | |
| 3,4.2387199181363 | |
| 4,4.194776016072636 | |
| 5,4.331675481560845 | |
| 6,4.288827495077676 | |
| 7,4.449602528038745 | |