-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.ini
executable file
·107 lines (79 loc) · 3.06 KB
/
config.ini
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
101
102
103
104
105
106
107
[semantic_space]
; directory to search for semantic spaces
semspaces_dir = ./data/
; whether to load a semantic space after launch
; should be set to 'yes' if running as server
preload_space = yes
; whether to load multiple vector spaces, for example images only and prototypes only in addition all vectors together
; should be set to 'yes' if running as server
; should only be set to 'yes' if preload_space is 'yes'
multiple_spaces = no
; path to the space that will be preloaded if 'preload_space' is set to 'yes'
;
preload_space_file = ./data/all_vectors_300.txt
;preload_space_file = /Users/samski/Downloads/snaut-master/data/english-lemmas-cbow-window.6-dimensions.300-subtitle_en.w2v
;preload_space_file = /Users/samski/Downloads/snaut-master/data/image_vectors.txt
;preload_space_file = /Users/samski/Downloads/snaut-master/data/prototype_vectors.txt
;preload_space_file = /Users/samski/Downloads/snaut-master/data/new_vectors.mini.txt
;preload_space_file = /Users/samski/Downloads/snaut-master/data/image_vectors_300.txt
;preload_space_file_img = /Users/samski/Downloads/snaut-master/data/image_vectors_300.txt
preload_space_file_img = ./data/prototype_vectors.mini.txt
preload_space_file_proto = ./data/prototype_vectors.mini.txt
; 'ssmarket' or 'csv'
preload_space_format = csv
; prenormalizetion
; yes - normalize all vectors to have vectors of length 1
; (speeds up computation of cosine distances but does not allow
; to compute other metrics)
; no - do not normalize
prenormalize = no
; which numpy dtype to use
numpy_dtype = float32
; the maximum size of the similarity matrix that can be computed
;
; if -1 no limit otherwise let users generate matrices of the size
; m * n = matrix_size_limit
;
matrix_size_limit = -1
; allow changing the loaded space
; yes - do not allow users to change space
; no - let users change space
; must be set to no if running as a web server
allow_space_change = no
[server]
; url path prefix
; for example, to put snaut on http://localhost:port/snaut
; root_prefix = /snaut
root_prefix =
; directory to serve documention from
; should contain a help.md file that is rendered as documentation
;
; documentation that is more appropriate for server use can be found in:
; doc_dir = ./doc/server/
;
;doc_dir = /Users/samski/Downloads/snaut-master/doc/
doc_dir = ./doc/
; directory to serve static resources from
static_dir = ./snaut-english/static/
; directory containing templates
;template_dir = /Users/samski/Downloads/snaut-master/snaut-english/templates/
template_dir = ./snaut-english/templates/
; name of the logger
; set to gunicorn.error to log to the gunicorn error log
log_name = snaut.logger
; logging level
; possible levels: debug, info, warning, error, critical
log_level = warning
; path to the log file
; do not log to file if empty
log_file = ./snaut.log
[server_local]
; the remaining options are used only when running snaut as a local application
; (not via gunicorn)
; host and port to use when running as a local instance
host = 0.0.0.0
port = 15100
; run in the debug mode
debug = no
; start the browser after launch
start_browser = yes