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/ASIAPACINS/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/ASIAPACINS/forecast_next_7.csv
- Command line
-
hf download hf://StockCast/gru/models/ASIAPACINS/forecast_next_7.csv
-
curl -L -o forecast_next_7.csv https://huggingface.co/StockCast/gru/resolve/main/models/ASIAPACINS/forecast_next_7.csv
166 Bytes
| step_ahead,prediction | |
| 1,30.816317945435646 | |
| 2,30.59642811421156 | |
| 3,30.298927318030596 | |
| 4,30.43328755824864 | |
| 5,30.151418540835383 | |
| 6,30.456428772586584 | |
| 7,30.45909114497304 | |