File size: 264 Bytes
f858656 |
1 2 3 4 5 6 7 8 |
import pickle
try:
with open(r'C:\Users\marco\financebert\model.safetensors', 'rb') as f:
model = pickle.load(f)
print("Model loaded successfully using pickle:", model)
except Exception as e:
print("Failed to load model using pickle:", str(e)) |