YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Forex Prediction Model
This model predicts XAU/USD price movements using LSTM.
Model Details
- Architecture: LSTM with 2 layers
- Hidden Size: 64
- Context Length: 60 minutes
- Prediction Length: 1 minute(s) ahead
Usage
import torch
import pickle
from your_model_file import ForexLSTM
# Load model
model = ForexLSTM(**config)
model.load_state_dict(torch.load('model.pth'))
model.eval()
# Load scaler
with open('scaler.pkl', 'rb') as f:
scaler = pickle.load(f)
# Make prediction
# scaled_input = scaler.transform(your_input)
# prediction = model(torch.tensor(scaled_input).unsqueeze(0))
# prediction = scaler.inverse_transform(prediction.detach().numpy())
- Downloads last month
- 63
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support