Organize & Explore Dataset For Sequence Model - PyTorch Sentiment Analysis Project
Organize & Explore Dataset for Sequence Model - PyTorch Sentiment Analysis Project
Now that we've finished building and training our first n-gram model in PyTorch for sentiment analysis, we'll now begin implementing a sequence model for the same task and see how it compares to the n-gram model.
Since we'll be using the same IMDb movie reviews dataset and performing the same classification task between positive and negative reviews, some of the code for the sequence model project will be the same or similar to the n-gram model project. As we'll see, the major differences here will be in the later steps of data preprocessing and the network architectures.
Committed by on