This line of code might yield errors, as you are passing the complete model as an argument to nn.Softmax, which is wrong:
classifiier= torch.nn.Softmax(model)

Feel free to post executable code by wrapping in into three backticks ```, so that we can debug it.