candle icon indicating copy to clipboard operation
candle copied to clipboard

best way to get `dims()` from a model?

Open jondot opened this issue 1 year ago • 0 comments
trafficstars

For example, to get a particular embedding model's dimensions, without doing a test embedding first.

At the moment I'm running just a dummy embedding to get to an output and then I take the dims, to represent the model's dims. However I was looking for a way to maybe get the last layer's dims in a way that does not require actually running the model.

Any idea?

jondot avatar Mar 31 '24 10:03 jondot