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
Does this PoC still work? If so, please could you post your requirements.txt or a docker file?
I've tried to run
from transformers import AutoModel model = AutoModel.from_pretrained("ykilcher/totally-harmless-model")
But are met with many errors, including:
UnpicklingError: This error is typically raised when there's an attempt to load a corrupted file or a file that has been tampered with in a way that could potentially execute arbitrary code. It is especially concerning that the error message mentions the eval class, which could indicate a security risk.
UnicodeDecodeError: This error suggests that the file being loaded does not conform to the expected format, possibly because it's not a valid model file or is corrupted.
OSError: This error further suggests problems with the integrity of the checkpoint file. It's also worth noting that there's a mention of potentially trying to load a TensorFlow checkpoint as a PyTorch model, which would be incompatible without setting from_tf=True.
The text was updated successfully, but these errors were encountered:
Hi Yannic,
Does this PoC still work? If so, please could you post your requirements.txt or a docker file?
I've tried to run
from transformers import AutoModel model = AutoModel.from_pretrained("ykilcher/totally-harmless-model")
But are met with many errors, including:
UnpicklingError: This error is typically raised when there's an attempt to load a corrupted file or a file that has been tampered with in a way that could potentially execute arbitrary code. It is especially concerning that the error message mentions the eval class, which could indicate a security risk.
UnicodeDecodeError: This error suggests that the file being loaded does not conform to the expected format, possibly because it's not a valid model file or is corrupted.
OSError: This error further suggests problems with the integrity of the checkpoint file. It's also worth noting that there's a mention of potentially trying to load a TensorFlow checkpoint as a PyTorch model, which would be incompatible without setting from_tf=True.
The text was updated successfully, but these errors were encountered: