financebert / script.py
marcev's picture
Update label mappings for FinanceBERT
f858656
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))