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/AMPL/forecast_next_15.csv from StockCast/gru: direct link, hf CLI and curl.
- Browser
- Download file 330 Bytes
-
https://huggingface.co/StockCast/gru/resolve/main/models/AMPL/forecast_next_15.csv
- Command line
-
hf download hf://StockCast/gru/models/AMPL/forecast_next_15.csv
-
curl -L -o forecast_next_15.csv https://huggingface.co/StockCast/gru/resolve/main/models/AMPL/forecast_next_15.csv
330 Bytes
| step_ahead,prediction | |
| 1,37.08155791163445 | |
| 2,35.50258347988129 | |
| 3,35.677918350696565 | |
| 4,35.228321778774266 | |
| 5,34.35131443142891 | |
| 6,31.761737576127054 | |
| 7,33.25417742133141 | |
| 8,34.965117949247364 | |
| 9,35.22664913535119 | |
| 10,33.83431215286255 | |
| 11,35.12334828972817 | |
| 12,35.91154047846794 | |
| 13,33.82363717556 | |
| 14,33.445413440465934 | |
| 15,34.90380976200104 | |