Open petteriTeikari opened 1 week ago
For Q1, you could run the first commad in jupyter notebook which will download and unzip the files containing the function
Hi,
Thanks a lot for the clarifications and I got the gpt2
defined now, and got (1) zeroshot
working on my own data, and (2) finetuning with my own data. Got however for some of my samples inf
predictions in (1) case (not all), and in (2) got then all-out nan
predictions, and could not immediately get why this happened though.
Hi,
Thanks a lot for the clarifications and I got the
gpt2
defined now, and got (1)zeroshot
working on my own data, and (2) finetuning with my own data. Got however for some of my samplesinf
predictions in (1) case (not all), and in (2) got then all-outnan
predictions, and could not immediately get why this happened though.see https://github.com/Chengyui/NuwaTS/blob/master/models/NuwaTS.py, line 286 and line 293 could deal with the NaN bug. It must be the whole input of some variable are all masked, then the variance or mean is nan. You could update the code in the jupyter notebook. Thanks a lot!! Hope everything gonna be ok!
Hi
I ran into some issues with your notebook?
1)
args = get_parser()
was not defined anywhere. I assumed that it was just therun.py
args then inside a function?2) Where is this
gpt2/gpt2/
or how was it downloaded as I assumed that it maybe was the OpenAI huggingface? (https://huggingface.co/openai-community/gpt2)? As the https://github.com/Chengyui/NuwaTS/blob/d76888af246a3cdf01db3f067bde2339ff17d047/models/NuwaTS.py#L105 crashed there