Update prediction_example_etth1.ipynb
Browse files
prediction_example_etth1.ipynb
CHANGED
@@ -44,7 +44,7 @@
|
|
44 |
"source": [
|
45 |
"# generate forecast \n",
|
46 |
"prediction_length = 288 # forecast the next 288 timestamps, supporting maximum prediction length encompassed in the context length\n",
|
47 |
-
"normed_output = model.generate(normed_seqs, max_new_tokens=prediction_length)
|
48 |
"output = std * normed_output + mean # rescale the output to the original scale"
|
49 |
]
|
50 |
},
|
|
|
44 |
"source": [
|
45 |
"# generate forecast \n",
|
46 |
"prediction_length = 288 # forecast the next 288 timestamps, supporting maximum prediction length encompassed in the context length\n",
|
47 |
+
"normed_output = model.generate(normed_seqs, max_new_tokens=prediction_length)\n",
|
48 |
"output = std * normed_output + mean # rescale the output to the original scale"
|
49 |
]
|
50 |
},
|