napoler / Semantic-Text-Segmentation-docker

Semantic-Text-Segmentation-with-Embeddings docker api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Semantic-Text-Segmentation-docker

Semantic-Text-Segmentation-with-Embeddings docker api

测试开发

uvicorn main:app --reload

导出依赖

pipreqs ./ --force

模型下载 https://www.kaggle.com/datasets/terrychanorg/semantic-text-segmentation-model

模型命名为app/data/word2vec.6B.bin

构建镜像

docker build -t napoler/text_segmentation:0.1.2 . 运行镜像 docker run -d -p 3011:80 napoler/text_segmentation:0.1.2

About

Semantic-Text-Segmentation-with-Embeddings docker api

License:GNU General Public License v3.0


Languages

Language:Python 98.1%Language:Dockerfile 1.9%