blob: ae7a972f1d25ec99414f9f2937429fc9c1cf1e89 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
package=ai.vespa.embedding.huggingface
namespace=embedding.huggingface
# Path to tokenizer.json
tokenizerPath model
# Path to model.onnx
transformerModel model
# Max length of token sequence model can handle
transformerMaxTokens int default=512
# Input names
transformerInputIds string default=input_ids
transformerAttentionMask string default=attention_mask
# Output name
transformerOutput string default=last_hidden_state
|