torch.cat works as
a = torch.randn(4,3)
b = torch.randn(10,3)
c = torch.cat((a,b), 0)
c.shape # (14,3)

So you cannot use cat_embedd = torch.cat(embeddings,1). If I do embeddings = torch.tensor(embeddings) the output is of shape (11,2).