Closed mim201820 closed 9 months ago
That means that the corrector model and the embedding model don't have the same embedding size. To be sure I would need the full traceback but I'm pretty confident about it
Yep! You're trying to use the corrector trained for a certain type of embedding (gtr-base embeddings, dim 768) on other embeddings, which have dimension 512. You'll have to train a new corrector for "distiluse-base-multilingual-cased-v1"
, unfortunately.
I have a question regarding the embedding with
distiluse-base-multilingual-cased-v1
I used the following code but I got an error:
error:
RuntimeError: mat1 and mat2 shapes cannot be multiplied (1x512 and 768x768)
How can I invert the embedding of this model ?