7-STEP PYTORCH LABsequential gothic verse synthesis
Edgar Allan Poe PyTorch LSTM generator — 7 Steps
Synthesize gothic verse and dark romantic poetry with a PyTorch recurrent language model: token embeddings, 2-layer LSTM, CrossEntropyLoss, and Perplexity metric tracking.
- 01 Data ingestion & EDA
- 02 Preprocessing without leakage
- 03 TensorDataset & DataLoader
- 04 nn.Module architecture
- 05 Loss function & optimizer
- 06 Training loop & backprop
- 07 Eval, metrics & checkpoint
Loading Edgar Allan Poe Gothic Poetry Generator 7-step PyTorch pipeline lab...