in pytorch, I have embeddings of size (1024) but my model only accepts embeddings of…
- User
in pytorch, I have embeddings of size (1024) but my model only accepts embeddings of size 2048. Give me a few solutions to convert those embeddings of size 1024 to the model size of 2048.
- Assistant
Sure, here are a few solutions to convert embeddings of size 1024 to the model size of 2048:
-
Duplicate the Embeddings: You can simply duplicate the embeddings to make them of size 2048. You can concatenate the original embeddings with themselves to create a new tensor of size 2048. For example, if your original embedding tensor is of size (1024), you can concatenate it with itself to create a new tensor of size (2048).
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.