Downloads · 30 days
4
24% of all-time downloads
sohumgautam/lstm-stock-predictor
lstm-stock-predictor is a machine learning model from sohumgautam. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
A bidirectional LSTM with attention mechanism for stock price and trend prediction.
Downloads · 30 days
4
24% of all-time downloads
All-time downloads
17
Public
Repo size
7.8 MB
Likes
0
Public
Click a slice to open those files.
.pth5.9 MB · 75%
From the Hugging Face model README
A bidirectional LSTM with attention mechanism for stock price and trend prediction.
import torch
from huggingface_hub import hf_hub_download
# Download model
model_path = hf_hub_download(repo_id="sohumgautam/lstm-stock-predictor", filename="pytorch_model.bin")
config_path = hf_hub_download(repo_id="sohumgautam/lstm-stock-predictor", filename="config.json")
norm_stats_path = hf_hub_download(repo_id="sohumgautam/lstm-stock-predictor", filename="norm_stats.csv")
# Load and use model
# (You'll need to implement the model class locally or include it in the repo)