Skip to content

A one-stop HTTP service for sentence semantic embedding, based on the advanced Sentence Transformers model.

License

Notifications You must be signed in to change notification settings

SyntSugar/embedding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Embedding

A one-stop HTTP service for sentence semantic embedding, based on the advanced Sentence Transformers model.

Requirements

  • Miniconda
  • Python 3.8+
  • PyTorch 1.6+
  • Uvicorn

Installation

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

Usage

1. Set IP writelist

Add your request server ip address in /conf/{env}/config.toml.

2. Start http server

uvicorn main:app --reload

License

This project is licensed under the terms of the MIT License.

About

A one-stop HTTP service for sentence semantic embedding, based on the advanced Sentence Transformers model.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages