candle
candle copied to clipboard
best way to get `dims()` from a model?
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?