You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `config.json` for e.g. `nomic-ai/nomic-embed-text-v1` doesn't use
the standard naming for the `hidden_size`, `num_hidden_layers`, and
`num_key_value_heads`, but rather `n_embd`, `n_layer`, and `n_head`,
respectively.
Note that this is required given that the ONNX export for e.g.
`nomic-ai/nomic-embed-text-v1` is using optimized MHA/MQA nodes, hence
the need for the reading the `config.json` to properly parse the
`past_key_values` weights on the ONNX export.
0 commit comments