Stack expects each tensor to be equal size

i got this error

    embedding_matrix = torch.stack(embeddings)
RuntimeError: stack expects each tensor to be equal size, but got [7, 768] at entry 0 and [8, 768] at entry 1