blob: cf7c3b336d6c74201d6b8139461c3836bed7f9f6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
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
|