|
@@ -0,0 +1,25 @@
|
|
|
|
|
+# Question Matcher
|
|
|
|
|
+
|
|
|
|
|
+Backend + website frontend for finding questions that are similar in meaning within database. Search is based on
|
|
|
|
|
+sentence transformers which are comparable to cosine-similarity.
|
|
|
|
|
+By default, a general [large-instructor](https://huggingface.co/hkunlp/instructor-large) model is used.
|
|
|
|
|
+
|
|
|
|
|
+## Setup
|
|
|
|
|
+
|
|
|
|
|
+Build frontend
|
|
|
|
|
+```shell
|
|
|
|
|
+cd web
|
|
|
|
|
+yarn install
|
|
|
|
|
+yarn run build
|
|
|
|
|
+```
|
|
|
|
|
+
|
|
|
|
|
+Get backend stuff
|
|
|
|
|
+``` shell
|
|
|
|
|
+python -m venv env
|
|
|
|
|
+source env/bin/activate
|
|
|
|
|
+pip install -U pip wheel
|
|
|
|
|
+pip install -r requirements.txt
|
|
|
|
|
+
|
|
|
|
|
+# Run
|
|
|
|
|
+python main.py
|
|
|
|
|
+```
|