Skip to content
This repository was archived by the owner on Apr 21, 2025. It is now read-only.

Commit 7ed9628

Browse files
committed
Add config for v2 sentence transformers and v1 word vectors model, closes #24
1 parent 878b82b commit 7ed9628

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

config/index.v1.yml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
path: stackexchange-300d.magnitude
2+
content: True
3+
objects: True
4+
quantize: True
5+
storevectors: True
6+
scoring:
7+
method: bm25
8+
k1: 0.1
9+
pca: 3

config/index.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
path: sentence-transformers/all-MiniLM-L6-v2
2+
content: True
3+
objects: True
4+
quantize: True
5+
functions:
6+
- name: graph
7+
function: graph.attribute
8+
expressions:
9+
- name: topic
10+
expression: graph(indexid, 'topic')
11+
- name: topicrank
12+
expression: graph(indexid, 'topicrank')
13+
graph:
14+
limit: 100
15+
minscore: 0.2
16+
topics:
17+
stopwords:
18+
- stackoverflow

0 commit comments

Comments
 (0)