A one-stop HTTP service for sentence semantic embedding, based on the advanced Sentence Transformers model.
- Miniconda
- Python 3.8+
- PyTorch 1.6+
- Uvicorn
First, you need to install Miniconda.
Then, you can use the following commands to create and activate a new conda environment:
conda env create -f environment.yml
conda activate embedding
Add your request server ip address in /conf/{env}/config.toml
.
uvicorn main:app --reload
This project is licensed under the terms of the MIT License.