Good to see that the network is learning now.
A few things:

What is your train data like and what output are you expecting (after the model is trained)? Also, how big is the train and valid data sizes?
If you’re sure that the model is training correctly (loss is decreasing, backpropagation happens correctly), you can start playing with the hyperparameters:
a. Change the dim sizes, eg: n_hidden = 128, emb_size = 128 etc.
b. Also, for the line below, I think the Linear dims should be (n_hidden, n_classes). Use distinct values to avoid confusion.




 Sanjayvarma11:

self.linear=nn.Linear(n_hidden,n_hidden)


c. Modify the learning rate: eg: lr = 0.01 etc.