-
Notifications
You must be signed in to change notification settings - Fork 111
/
services.xml
37 lines (31 loc) · 1.3 KB
/
services.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -->
<services version="1.0" xmlns:deploy="vespa" xmlns:preprocess="properties">
<!-- See https://docs.vespa.ai/en/reference/services-container.html -->
<container id="default" version="1.0">
<!-- See https://docs.vespa.ai/en/embedding.html#huggingface-embedder -->
<component id="frozen" type="hugging-face-embedder">
<transformer-model path="models/frozen.onnx"/>
<tokenizer-model path="models/tokenizer.json"/>
</component>
<component id="tuned" type="hugging-face-embedder">
<transformer-model path="models/tuned.onnx"/>
<tokenizer-model path="models/tokenizer.json"/>
</component>
<document-api/>
<search/>
<nodes>
<node hostalias="node1" />
</nodes>
</container>
<!-- See https://docs.vespa.ai/en/reference/services-content.html -->
<content id="content" version="1.0">
<min-redundancy>2</min-redundancy>
<documents>
<document type="doc" mode="index" />
</documents>
<nodes>
<node hostalias="node1" distribution-key="0" />
</nodes>
</content>
</services>