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/ACI/forecast_next_30.csv from StockCast/gru: direct link, hf CLI and curl.
- Browser
- Download file 666 Bytes
-
https://huggingface.co/StockCast/gru/resolve/main/models/ACI/forecast_next_30.csv
- Command line
-
hf download hf://StockCast/gru/models/ACI/forecast_next_30.csv
-
curl -L -o forecast_next_30.csv https://huggingface.co/StockCast/gru/resolve/main/models/ACI/forecast_next_30.csv
666 Bytes
| step_ahead,prediction | |
| 1,156.27428271792274 | |
| 2,154.77086909899205 | |
| 3,157.4184643942678 | |
| 4,152.58892730166318 | |
| 5,160.08692728019733 | |
| 6,155.78610421856666 | |
| 7,158.09320420522505 | |
| 8,155.85669413188256 | |
| 9,154.15767447408547 | |
| 10,154.63128354365833 | |
| 11,153.34513279746463 | |
| 12,154.00255661224398 | |
| 13,153.10695497948086 | |
| 14,158.17560119706513 | |
| 15,153.9607425066148 | |
| 16,158.50717805733203 | |
| 17,152.16999700215433 | |
| 18,151.64701287693478 | |
| 19,151.29546816328136 | |
| 20,157.2428893482453 | |
| 21,152.685167619527 | |
| 22,153.75353459246057 | |
| 23,153.1467959770679 | |
| 24,153.1626597657268 | |
| 25,152.26822621292462 | |
| 26,151.81299072544027 | |
| 27,150.33016056960525 | |
| 28,148.74094042813763 | |
| 29,153.36090187693748 | |
| 30,150.55009108441524 | |