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
File size: 662 Bytes
a098974 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | step_ahead,prediction
1,10.085364372975503
2,10.734552971945764
3,11.266432522706065
4,10.491327320172761
5,10.489609185052103
6,10.33052697603746
7,12.267121804392273
8,10.050158055420033
9,11.01917608597471
10,10.241365282957752
11,10.929686478932076
12,10.787905516993874
13,11.319028830140207
14,11.14162576269203
15,11.52705070873179
16,12.52535007849025
17,12.173690651656747
18,11.704502491634337
19,11.62170309895339
20,10.6278013384218
21,11.809406909598035
22,12.542231565906352
23,10.976020523308154
24,11.478480035449998
25,11.20563724915652
26,11.442938729330585
27,11.353015461657195
28,11.643067897561314
29,11.23651502793189
30,11.51642620945194
|