-
Notifications
You must be signed in to change notification settings - Fork 69
/
Copy pathvalues.yaml
103 lines (86 loc) · 2.2 KB
/
values.yaml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# Default values for chart.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 3
image:
repository: koursaros/nboost
tag: latest-pt
pullPolicy: IfNotPresent
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
serviceAccount:
# Specifies whether a service account should be created
create: true
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: nboost
podSecurityContext: {}
# fsGroup: 2000
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: LoadBalancer
ingress:
enabled: false
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: chart-example.local
paths: []
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
nodeSelector: {}
tolerations: []
affinity: {}
args:
# nboost command line arguments
verbose: False
host: 0.0.0.0
port: 8000
uhost: elasticsearch-master
uport: 9200
ussl: False
rerank: True
model: ""
model_dir: pt-bert-base-uncased-msmarco
qa: False
qa_model: ""
qa_model_dir: distilbert-base-uncased-distilled-squad
config: elasticsearch
lr: 0.01
max_seq_len: 64
bufsize: 2048
batch_size: 4
multiplier: 5
workers: 10
query_path: "(body.query.match) | (body.query.term.*) | (url.query.q)"
topk_path: "(body.size) | (url.query.size)"
true_cids_path:
choices_path: "body.hits.hits"
cvalues_path: "_source.*"
cids_path: "_id"
search_path: "/.*/_search"
topn: "50"
default_topk: "10"
delim: ". "
filter_results: False