|
|
před 2 roky | |
|---|---|---|
| web | před 2 roky | |
| .gitignore | před 2 roky | |
| README.md | před 2 roky | |
| config.py | před 2 roky | |
| main.py | před 2 roky | |
| requirements.txt | před 2 roky |
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 model is used.
Build frontend
cd web
yarn install
yarn run build
Get backend stuff
python -m venv env
source env/bin/activate
pip install -U pip wheel
pip install -r requirements.txt
# Run
python main.py