You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
usr/local/lib/python3.7/site-packages/transformers/tokenization_utils_base.py:705: UserWarning: Creating a tensor from a list of numpy.ndarrays is extremely slow. Please consider converting the list to a single numpy.ndarray with numpy.array() before converting to a tensor. (Triggered internally at ../torch/csrc/utils/tensor_new.cpp:230.)
tensor = as_tensor(value)
I am trying to load the model using a previously trained checkpoint file and it takes a long time to skip the previous data and has the above warning, how can I solve it?
The text was updated successfully, but these errors were encountered:
usr/local/lib/python3.7/site-packages/transformers/tokenization_utils_base.py:705: UserWarning: Creating a tensor from a list of numpy.ndarrays is extremely slow. Please consider converting the list to a single numpy.ndarray with numpy.array() before converting to a tensor. (Triggered internally at ../torch/csrc/utils/tensor_new.cpp:230.)
tensor = as_tensor(value)
I am trying to load the model using a previously trained checkpoint file and it takes a long time to skip the previous data and has the above warning, how can I solve it?
The text was updated successfully, but these errors were encountered: